summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-12-15 12:35:28 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-12-15 12:35:28 -0200
commit2dbc1e9b41f12cbbe1ea7f4dd71f831fb787be8b (patch)
tree8905fa961ac94d50588c99c06ff6bd6b3b07eaf4
parent08b58b835e1f671ce5387f8cfb002b41c193c6f9 (diff)
downloadpuppet-reprepro-2dbc1e9b41f12cbbe1ea7f4dd71f831fb787be8b.tar.gz
puppet-reprepro-2dbc1e9b41f12cbbe1ea7f4dd71f831fb787be8b.tar.bz2
Adding command parameters to exec resources
-rw-r--r--manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 539601e..5c24c63 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -107,12 +107,14 @@ class reprepro {
}
exec {
- "reprepro -b $basedir --delete createsymlinks":
+ "reprepro -b $basedir createsymlinks":
+ command => "/usr/bin/reprepro -b $basedir --delete createsymlinks",
refreshonly => true,
subscribe => File["$basedir/conf/distributions"],
user => reprepro,
path => "/usr/bin:/bin";
"reprepro -b $basedir export":
+ command => "/usbr/bin/reprepro -b $basedir export",
refreshonly => true,
user => reprepro,
subscribe => File["$basedir/conf/distributions"],