From: Silvio Rhatto Date: Sat, 15 Dec 2012 14:35:28 +0000 (-0200) Subject: Adding command parameters to exec resources X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2dbc1e9b41f12cbbe1ea7f4dd71f831fb787be8b;p=puppet-reprepro.git Adding command parameters to exec resources --- 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"],