From ee21742cf8f59d6bf0f8f70d44d30b44556dde3d Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 7 Dec 2010 23:06:11 -0500 Subject: change the name of the custom_keys exec to be "custom_keys" instead of using the alias metaparameter. the reason for this change was because the Exec override was not able to find the exec through its alias --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index 4ca2b2e..daada63 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -167,8 +167,8 @@ class apt { recurse => true, mode => 0755, owner => root, group => root, } - exec { "find ${apt_base_dir}/keys.d -type f -exec apt-key add '{}' \\; && apt-get update": - alias => "custom_keys", + exec { "custom_keys": + command => "find ${apt_base_dir}/keys.d -type f -exec apt-key add '{}' \\; && apt-get update", subscribe => File["${apt_base_dir}/keys.d"], refreshonly => true, } -- cgit v1.2.3