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