From 53e765e5aff3ca1e7c12d2e9cdf40aa30753e010 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 9 Apr 2009 16:08:55 -0400 Subject: [PATCH] the custom_keys exec needs to subscribe to an object for the refreshonly to fire --- manifests/init.pp | 1 + 1 file changed, 1 insertion(+) 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]; }