aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-09-29 12:54:13 -0400
committerMicah Anderson <micah@riseup.net>2008-09-29 12:54:13 -0400
commitee506f7586ee983287f95109c14e73447457283e (patch)
treeea6642f1378af26615f159963525675009f98d32 /manifests
parentaefa01016057e17828948e47c86eb6e3d702a692 (diff)
downloadpuppet-apt-ee506f7586ee983287f95109c14e73447457283e.tar.gz
puppet-apt-ee506f7586ee983287f95109c14e73447457283e.tar.bz2
need to set a null case for the $custom_key_dir variable so that it will fire properly when not set
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e7eddbc..3128a92 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -117,6 +117,9 @@ class apt {
}
case $custom_key_dir {
+ '': {
+ exec { "/bin/true # no_custom_keydir": }
+ }
default: {
file { "${apt_base_dir}/keys.d":
source => "$custom_key_dir",