diff options
-rw-r--r-- | manifests/cron/base.pp | 2 | ||||
-rw-r--r-- | manifests/debian.pp | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/manifests/cron/base.pp b/manifests/cron/base.pp index 74e0225..7daa6fb 100644 --- a/manifests/cron/base.pp +++ b/manifests/cron/base.pp @@ -6,7 +6,7 @@ class puppet::cron::base inherits puppet::base { } case $operatingsystem { - openbsd: { + debian,openbsd,ubuntu: { #it's already disabled } default: { diff --git a/manifests/debian.pp b/manifests/debian.pp index 9653e76..0d1a113 100644 --- a/manifests/debian.pp +++ b/manifests/debian.pp @@ -7,6 +7,11 @@ class puppet::debian inherits puppet::linux { "puppet:///modules/puppet/client/debian/puppet" ], notify => Service[puppet], owner => root, group => 0, mode => 0644; + } + + # there is really no status cmd for it + Service[puppet]{ + hasstatus => false, } case $lsbdistcodename { |