aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2015-08-26 23:27:58 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2015-08-26 23:27:58 -0400
commit5564b3fba3d8aebdc3cbcd7441e9c7a216243f46 (patch)
tree1d0e8188715a61059e9102bfb681f94a59a197f1
parentae0570dee6b46081c1e58d0f3cb2263caf55d667 (diff)
downloadpuppet-apt-5564b3fba3d8aebdc3cbcd7441e9c7a216243f46.tar.gz
puppet-apt-5564b3fba3d8aebdc3cbcd7441e9c7a216243f46.tar.bz2
fix install location of apt::key::plain
-rw-r--r--manifests/key/plain.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/key/plain.pp b/manifests/key/plain.pp
index a84e6dd..a24a51b 100644
--- a/manifests/key/plain.pp
+++ b/manifests/key/plain.pp
@@ -1,12 +1,12 @@
define apt::key::plain ($source) {
file {
- "${apt::apt_base_dir}/${name}":
+ "${apt::apt_base_dir}/keys/${name}":
source => $source;
"${apt::apt_base_dir}/keys":
ensure => directory;
}
- exec { "apt-key add ${apt::apt_base_dir}/${name}":
- subscribe => File["${apt::apt_base_dir}/${name}"],
+ exec { "apt-key add ${apt::apt_base_dir}/keys/${name}":
+ subscribe => File["${apt::apt_base_dir}/keys/${name}"],
refreshonly => true,
notify => Exec['refresh_apt'],
}