]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
change the name of the custom_keys exec to be "custom_keys" instead of using the...
authorMicah Anderson <micah@riseup.net>
Wed, 8 Dec 2010 04:06:11 +0000 (23:06 -0500)
committerMicah Anderson <micah@riseup.net>
Wed, 8 Dec 2010 04:06:11 +0000 (23:06 -0500)
the reason for this change was because the Exec override was not able to find the exec through its alias

manifests/init.pp

index 4ca2b2e132f1c63e6c439dc0b2b1f60ddc0ae913..daada63ccbbf42c6268a88465d5d269107ae3977 100644 (file)
@@ -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,
     }