blob: 1cf53117c42bf205360fae5369a4846e12b53e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class puppet::puppetmaster::checklastrun {
file{"/usr/local/bin/puppetlast":
source => [ "puppet:///modules/site-puppet/master/puppetlast",
"puppet:///modules/puppet/master/puppetlast" ],
owner => root, group => 0, mode => 0700;
}
file{'/etc/cron.d/puppetlast.cron':
content => "${puppetmaster_checklastrun} root /usr/local/bin/puppetlast ${puppetmaster_checklastrun_timeout}\n",
require => File["/usr/local/bin/puppetlast"],
owner => root, group => 0, mode => 0644,
}
}
|