summaryrefslogtreecommitdiff
path: root/manifests/cron
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/cron')
-rw-r--r--manifests/cron/base.pp10
1 files changed, 8 insertions, 2 deletions
diff --git a/manifests/cron/base.pp b/manifests/cron/base.pp
index 7244e02..5fc55d2 100644
--- a/manifests/cron/base.pp
+++ b/manifests/cron/base.pp
@@ -4,9 +4,15 @@ class puppet::cron::base inherits puppet::base {
Service['puppet']{
enable => false,
}
- File['puppet_config']{
- notify => undef
+
+ if defined (puppet::puppetmaster) {}
+ else {
+ File['puppet_config']{
+ notify => undef
+ }
}
+
+
case $operatingsystem {
debian,openbsd,ubuntu: {
#it's already disabled