diff options
author | mh <mh@immerda.ch> | 2010-11-29 23:23:10 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-11-29 23:23:10 +0100 |
commit | 5e24e0e85d354300078f0b10b80cbc44a0f76f10 (patch) | |
tree | 970a16e4a3b2510603a141b27557823d34a12f23 /manifests/puppetmaster.pp | |
parent | bec32391d6678a9f52f71658d98a2700ddd31f60 (diff) |
replace puppetlast with much more improved version
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..74df5e7 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,22 * * *' } } - if $puppetmaster_checklastrun { + if $puppetmaster_lastruncheck_cron { include puppet::puppetmaster::checklastrun } else { include puppet::puppetmaster::checklastrun::disable |