diff options
Diffstat (limited to 'manifests/puppetmaster.pp')
-rw-r--r-- | manifests/puppetmaster.pp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp index a6d5d77..71cab3a 100644 --- a/manifests/puppetmaster.pp +++ b/manifests/puppetmaster.pp @@ -11,7 +11,17 @@ class puppet::puppetmaster inherits puppet { } include puppet::puppetmaster::base - include puppet::puppetmaster::checklastrun + + + case $puppetmaster_checklastrun { + '': { $puppetmaster_checklastrun = '40 10,22 * * *' + } + + if $puppetmaster_checklastrun { + include puppet::puppetmaster::checklastrun + } else { + include puppet::puppetmaster::checklastrun::disable + } if $puppetmaster_mode == 'passenger' { include puppet::puppetmaster::pasenger |