diff options
author | varac <varacanero@zeromail.org> | 2010-02-04 17:44:26 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2010-02-04 17:44:26 +0100 |
commit | a15d322a91e6c438f65a23b4fe5fb8d63c32def0 (patch) | |
tree | 5562ca3bb1d5c58e02aeeb31e233b4bd393e6e1a /manifests/cron | |
parent | 32d27ed3e0378a5e4545e247115e371b92b9924e (diff) |
Allowes puppet::cron also on the puppetmaster server
Diffstat (limited to 'manifests/cron')
-rw-r--r-- | manifests/cron/base.pp | 10 |
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 |