Revert "fix the custom_key_dir process so it actually works by replacing the"
This reverts commit 21ef026475
.
apt-key does not support glob options
This commit is contained in:
parent
49eb18e510
commit
be656a6ac8
1 changed files with 2 additions and 3 deletions
|
@ -138,12 +138,11 @@ class apt {
|
|||
}
|
||||
default: {
|
||||
file { "${apt_base_dir}/keys.d":
|
||||
source => "${custom_key_dir}",
|
||||
source => "$custom_key_dir",
|
||||
recurse => true,
|
||||
mode => 0755, owner => root, group => root,
|
||||
notify => Exec[custom_keys];
|
||||
}
|
||||
exec { "/usr/bin/apt-key add ${apt_base_dir}/keys.d/* && apt-get update":
|
||||
exec { "for key in `ls ${apt_base_dir/keys.d/` ; do /usr/bin/apt-key add ${apt_base_dir}/$key && apt-get update":
|
||||
alias => "custom_keys",
|
||||
refreshonly => true,
|
||||
before => File[apt_config];
|
||||
|
|
Loading…
Reference in a new issue