]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
the custom_keys exec needs to subscribe to an object for the refreshonly to fire
authorMicah Anderson <micah@riseup.net>
Thu, 9 Apr 2009 20:08:55 +0000 (16:08 -0400)
committerMicah Anderson <micah@riseup.net>
Thu, 9 Apr 2009 20:08:55 +0000 (16:08 -0400)
manifests/init.pp

index c9dbe0a16e045883f210045af59409a1c1058fb8..b24fda4caff1226cc907df40bdc378b612b19bb3 100644 (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];
             }