summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-30 20:13:48 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-30 20:13:48 -0200
commit97e16e261aacaffe162e5ca0b93e2c8192fc5f87 (patch)
tree9b5098d54fcf691dffa4bf8b121ad3a92082eb74
parentde03056f323722400a80b1a08c282e9a85e62e8e (diff)
downloadpuppet-reprepro-97e16e261aacaffe162e5ca0b93e2c8192fc5f87.tar.gz
puppet-reprepro-97e16e261aacaffe162e5ca0b93e2c8192fc5f87.tar.bz2
Using onlyif instead of noop for exec resources
-rw-r--r--manifests/cron/disabled.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/cron/disabled.pp b/manifests/cron/disabled.pp
index 9b40327..a8bc499 100644
--- a/manifests/cron/disabled.pp
+++ b/manifests/cron/disabled.pp
@@ -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",
}
}