summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/checklastrun.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-07 01:31:17 +0200
committermh <mh@immerda.ch>2010-08-07 01:33:12 +0200
commit7df4eabf27357731cbdf6946591df92ac15e8ed2 (patch)
tree0a64fdb341d4d239a56b82bd3e8555dd41a76aba /manifests/puppetmaster/checklastrun.pp
parent55c61cf9ab8752663bdce0604ca4d7ef6647142f (diff)
improve checklastrun script
Diffstat (limited to 'manifests/puppetmaster/checklastrun.pp')
-rw-r--r--manifests/puppetmaster/checklastrun.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/puppetmaster/checklastrun.pp b/manifests/puppetmaster/checklastrun.pp
index 96d59d5..a8978f3 100644
--- a/manifests/puppetmaster/checklastrun.pp
+++ b/manifests/puppetmaster/checklastrun.pp
@@ -5,7 +5,7 @@ class puppet::puppetmaster::checklastrun {
owner => root, group => 0, mode => 0700;
}
file{'/etc/cron.d/puppetlast.cron':
- content => "40 10,22 * * * root /usr/local/bin/puppetlast\n",
+ content => "${puppetmaster_checklastrun} root /usr/local/bin/puppetlast ${puppetmaster_checklastrun_timeout}\n",
require => File["/usr/local/bin/puppetlast"],
owner => root, group => 0, mode => 0644,
}