diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2009-06-24 18:43:37 -0400 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2009-06-24 18:43:37 -0400 |
commit | edbf7686ebc52f588c2a7f8bfdb5aaf452ffe784 (patch) | |
tree | ecc29cfd08f3d3311c1f2486b1d7e204c74269cf | |
parent | ff239a726ff530326ed7a56ad5ea6203a6f9bd3f (diff) | |
download | puppet-reprepro-edbf7686ebc52f588c2a7f8bfdb5aaf452ffe784.tar.gz puppet-reprepro-edbf7686ebc52f588c2a7f8bfdb5aaf452ffe784.tar.bz2 |
try to fix key export
-rw-r--r-- | manifests/init.pp | 5 |
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"; } |