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.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/cron/base.pp b/manifests/cron/base.pp
index 7daa6fb..5c7a708 100644
--- a/manifests/cron/base.pp
+++ b/manifests/cron/base.pp
@@ -6,12 +6,12 @@ class puppet::cron::base inherits puppet::base {
}
case $operatingsystem {
- debian,openbsd,ubuntu: {
+ openbsd: {
#it's already disabled
}
default: {
$puppet_majorversion = regsubst($puppetversion,'^(\d+\.\d+).*$','\1')
- if $puppet_majorversion == '2.6' {
+ if $puppet_majorversion >= '2.6' {
Service['puppet']{
ensure => stopped,
}