From 97e16e261aacaffe162e5ca0b93e2c8192fc5f87 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 30 Nov 2011 20:13:48 -0200 Subject: Using onlyif instead of noop for exec resources --- manifests/cron/disabled.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') 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", } } -- cgit v1.2.3