From edbf7686ebc52f588c2a7f8bfdb5aaf452ffe784 Mon Sep 17 00:00:00 2001 From: Antoine Beaupre Date: Wed, 24 Jun 2009 18:43:37 -0400 Subject: try to fix key export --- manifests/init.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"; } -- cgit v1.2.3