]> gitweb.fluxo.info Git - puppet-reprepro.git/commitdiff
Using onlyif instead of noop for exec resources
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Nov 2011 22:13:48 +0000 (20:13 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Nov 2011 22:13:48 +0000 (20:13 -0200)
manifests/cron/disabled.pp

index 9b4032705a25611b6aff2c2deb29e7ef2c92dea9..a8bc49963658e2d6d8f9729b7a0ccff57742f47b 100644 (file)
@@ -5,7 +5,7 @@ class reprepro::cron::disabled inherits reprepro::cron {
 
   Exec["reprepro -b $basedir createsymlinks", "reprepro -b $basedir export",
        "/usr/local/bin/reprepro-export-key", "/usr/local/bin/reprepro-export-key-update"] {
-    noop => true,
+    onlyif => "/bin/false",
   }
 }