the custom_keys exec needs to subscribe to an object for the refreshonly to fire

This commit is contained in:
Micah Anderson 2009-04-09 16:08:55 -04:00
parent 991fb6fdcf
commit 53e765e5af

View file

@ -144,6 +144,7 @@ class apt {
}
exec { "find ${apt_base_dir}/keys.d -type f -exec apt-key add '{}' \; && apt-get update":
alias => "custom_keys",
subscribe => File["${apt_base_dir}/keys.d",
refreshonly => true,
before => File[apt_config];
}