diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-12-15 12:35:28 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-12-15 12:35:28 -0200 |
commit | 2dbc1e9b41f12cbbe1ea7f4dd71f831fb787be8b (patch) | |
tree | 8905fa961ac94d50588c99c06ff6bd6b3b07eaf4 | |
parent | 08b58b835e1f671ce5387f8cfb002b41c193c6f9 (diff) | |
download | puppet-reprepro-2dbc1e9b41f12cbbe1ea7f4dd71f831fb787be8b.tar.gz puppet-reprepro-2dbc1e9b41f12cbbe1ea7f4dd71f831fb787be8b.tar.bz2 |
Adding command parameters to exec resources
-rw-r--r-- | manifests/init.pp | 4 |
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"], |