]> gitweb.fluxo.info Git - puppet-reprepro.git/commitdiff
Adding command parameters to exec resources
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 15 Dec 2012 14:35:28 +0000 (12:35 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 15 Dec 2012 14:35:28 +0000 (12:35 -0200)
manifests/init.pp

index 539601e88b5468f4adce4334e7041ef0f79c53bf..5c24c630ca78b006097badfe337812abf6daa203 100644 (file)
@@ -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"],