]> gitweb.fluxo.info Git - puppet-reprepro.git/commitdiff
try to fix key export
authorAntoine Beaupre <anarcat@koumbit.org>
Wed, 24 Jun 2009 22:43:37 +0000 (18:43 -0400)
committerAntoine Beaupre <anarcat@koumbit.org>
Wed, 24 Jun 2009 22:43:37 +0000 (18:43 -0400)
manifests/init.pp

index 037786d66f3b79f616fa533af510ee6e3c8a8003..7463b84c2a39358d4ef760013615f551d73b8163 100644 (file)
@@ -82,13 +82,16 @@ class reprepro {
     "reprepro -b $basedir createsymlinks":
       refreshonly => true,
       subscribe => File["$basedir/conf/distributions"],
+      user => reprepro,
       path => "/usr/bin:/bin";
     "reprepro -b $basedir export":
       refreshonly => true,
+      user => reprepro,
       subscribe => File["$basedir/conf/distributions"],
       path => "/usr/bin:/bin";
-    "gpg --export -a `gpg --with-colon --list-secret-keys | awk -F ':' '{ print $5 }' | head -1` > $basedir/key.asc":
+    "gpg --export -a `gpg --with-colon --list-secret-keys | awk -F ':' '{ print \$5 }' | head -1` > $basedir/key.asc":
       creates => "$basedir/key.asc",
+      user => reprepro,
       subscribe => File["$basedir/.gnupg"],
       path => "/usr/bin:/bin";
   }