summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAntoine Beaupre <anarcat@koumbit.org>2009-06-24 18:43:37 -0400
committerAntoine Beaupre <anarcat@koumbit.org>2009-06-24 18:43:37 -0400
commitedbf7686ebc52f588c2a7f8bfdb5aaf452ffe784 (patch)
treeecc29cfd08f3d3311c1f2486b1d7e204c74269cf /manifests
parentff239a726ff530326ed7a56ad5ea6203a6f9bd3f (diff)
downloadpuppet-reprepro-edbf7686ebc52f588c2a7f8bfdb5aaf452ffe784.tar.gz
puppet-reprepro-edbf7686ebc52f588c2a7f8bfdb5aaf452ffe784.tar.bz2
try to fix key export
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 037786d..7463b84 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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";
}