summaryrefslogtreecommitdiff
path: root/manifests/cron/base.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/cron/base.pp')
-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`',