summaryrefslogtreecommitdiff
path: root/manifests/cron
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-10-30 20:46:34 +0100
committermh <mh@immerda.ch>2009-10-30 20:46:34 +0100
commitbcf5aa9f77f6e529a0d4148419119fee60c0ea5c (patch)
tree4d8c346cb7e3efc85c029e1e55ef674f1c37a809 /manifests/cron
parentb3c1d8d45f46f6ce521c23a135117a5216704449 (diff)
set status to false where it isn't already false
Diffstat (limited to 'manifests/cron')
-rw-r--r--manifests/cron/base.pp11
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`',