From: Micah Anderson Date: Wed, 8 Dec 2010 04:06:11 +0000 (-0500) Subject: change the name of the custom_keys exec to be "custom_keys" instead of using the... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ee21742cf8f59d6bf0f8f70d44d30b44556dde3d;p=puppet-apt.git 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 --- 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, }