From: Micah Anderson Date: Thu, 9 Apr 2009 20:08:55 +0000 (-0400) Subject: the custom_keys exec needs to subscribe to an object for the refreshonly to fire X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=53e765e5aff3ca1e7c12d2e9cdf40aa30753e010;p=puppet-apt.git the custom_keys exec needs to subscribe to an object for the refreshonly to fire --- 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]; }