Skip to content

Commit

Permalink
Merge pull request voxpupuli#121 from avidspartan1/master
Browse files Browse the repository at this point in the history
Puppet 6 issue and knockout_prefix problem
  • Loading branch information
bastelfreak committed Mar 16, 2019
2 parents 494981f + d80cfc8 commit 3f35c56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion data/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ lookup_options:
yum::gpgkeys:
merge:
strategy: 'deep'
knockout_prefix: '--'
merge_hash_arrays: true
yum::managed_repos:
merge: 'unique'
Expand Down
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
default => '3',
}

$_pc_cmd = delete_undef_values([
$_pc_cmd = [
'/usr/bin/package-cleanup',
'--oldkernels',
"--count=${_real_installonly_limit}",
Expand All @@ -216,7 +216,7 @@
true => '--keepdevel',
default => undef,
},
])
].filter |$val| { $val =~ NotUndef }

exec { 'package-cleanup_oldkernels':
command => shellquote($_pc_cmd),
Expand Down

0 comments on commit 3f35c56

Please sign in to comment.