From 2dbc1e9b41f12cbbe1ea7f4dd71f831fb787be8b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 15 Dec 2012 12:35:28 -0200 Subject: Adding command parameters to exec resources --- manifests/init.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'manifests') 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"], -- cgit v1.2.3