aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2009-04-09 16:08:55 -0400
committerMicah Anderson <micah@riseup.net>2009-04-09 16:08:55 -0400
commit53e765e5aff3ca1e7c12d2e9cdf40aa30753e010 (patch)
tree59f9a76e1c47ead266bf7f1b54d20e32db62d7ed /manifests
parent991fb6fdcf0a5727586ef8b19e8e08ea96369c20 (diff)
downloadpuppet-apt-53e765e5aff3ca1e7c12d2e9cdf40aa30753e010.tar.gz
puppet-apt-53e765e5aff3ca1e7c12d2e9cdf40aa30753e010.tar.bz2
the custom_keys exec needs to subscribe to an object for the refreshonly to fire
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c9dbe0a..b24fda4 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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];
}