diff options
Diffstat (limited to 'manifests/puppetmaster.pp')
-rw-r--r-- | manifests/puppetmaster.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp index 36116b4..41d8021 100644 --- a/manifests/puppetmaster.pp +++ b/manifests/puppetmaster.pp @@ -13,11 +13,11 @@ class puppet::puppetmaster inherits puppet { include puppet::puppetmaster::base - case $puppetmaster_checklastrun { - '': { $puppetmaster_checklastrun = '40 10,22 * * *' } + case $puppetmaster_lastruncheck_cron { + '',undef: { $puppetmaster_lastruncheck_cron = '40 10 * * *' } } - if $puppetmaster_checklastrun { + if $puppetmaster_lastruncheck_cron { include puppet::puppetmaster::checklastrun } else { include puppet::puppetmaster::checklastrun::disable |