summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-12-07 23:06:11 -0500
committerMicah Anderson <micah@riseup.net>2010-12-07 23:06:11 -0500
commitee21742cf8f59d6bf0f8f70d44d30b44556dde3d (patch)
tree555d6da744ad720783cd4440226b0118e0df33b1 /manifests
parentdd0552dce13f123dc05c5600232216f905c70f7b (diff)
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
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
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,
}