aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index dc868d7..c9dbe0a 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -142,7 +142,7 @@ class apt {
recurse => true,
mode => 0755, owner => root, group => root,
}
- exec { "for key in `ls ${apt_base_dir/keys.d/` ; do /usr/bin/apt-key add ${apt_base_dir}/$key && apt-get update":
+ exec { "find ${apt_base_dir}/keys.d -type f -exec apt-key add '{}' \; && apt-get update":
alias => "custom_keys",
refreshonly => true,
before => File[apt_config];