diff options
author | mh <mh@immerda.ch> | 2009-10-30 20:46:34 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-10-30 20:46:34 +0100 |
commit | bcf5aa9f77f6e529a0d4148419119fee60c0ea5c (patch) | |
tree | 4d8c346cb7e3efc85c029e1e55ef674f1c37a809 | |
parent | b3c1d8d45f46f6ce521c23a135117a5216704449 (diff) |
set status to false where it isn't already false
-rw-r--r-- | manifests/cron/base.pp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/manifests/cron/base.pp b/manifests/cron/base.pp index 42f6cc5..76e1099 100644 --- a/manifests/cron/base.pp +++ b/manifests/cron/base.pp @@ -3,7 +3,16 @@ class puppet::cron::base inherits puppet::base { Service['puppet']{ enable => false, - hasstatus => false, + } + case $operatingsystem { + debian,openbsd: { + #it's already disabled + } + default: { + Service['puppet']{ + hasstatus => false, + } + } } exec{'stop_puppet': command => 'kill `cat /var/run/puppet/puppetd.pid`', |