need to set a null case for the $custom_key_dir variable so that it will fire properly when not set

This commit is contained in:
Micah Anderson 2008-09-29 12:54:13 -04:00
parent aefa010160
commit ee506f7586

View file

@ -117,6 +117,9 @@ class apt {
} }
case $custom_key_dir { case $custom_key_dir {
'': {
exec { "/bin/true # no_custom_keydir": }
}
default: { default: {
file { "${apt_base_dir}/keys.d": file { "${apt_base_dir}/keys.d":
source => "$custom_key_dir", source => "$custom_key_dir",