blob: c13c10a6bbef31c32c155268a598ede2aab5fb9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# manifests/cron/linux.pp
class puppet::cron::linux inherits puppet::linux {
include puppet::cron::base
if !$puppet_config { $puppet_config = '/etc/puppet/puppet.conf' }
if !$puppet_crontime { $puppet_crontime = '0,30 * * * *' }
File['/etc/cron.d/puppetd.cron']{
source => undef,
content => "# run puppet\n$puppet_crontime root /usr/sbin/puppetd --onetime --no-daemonize --splay --config=$puppet_config --color false | grep -E '(^err:|^alert:|^emerg:|^crit:)'\n",
}
}
|