summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
}