]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
fix install location of apt::key::plain
authorAntoine Beaupré <anarcat@koumbit.org>
Thu, 27 Aug 2015 03:27:58 +0000 (23:27 -0400)
committerAntoine Beaupré <anarcat@koumbit.org>
Thu, 27 Aug 2015 03:27:58 +0000 (23:27 -0400)
manifests/key/plain.pp

index a84e6dd62e434607d467e4acb1410fdd7f722df0..a24a51b87c0f7e9da434e43fbb0f0aab7f0d5908 100644 (file)
@@ -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'],
   }