blob: b095e3b62615707d2970f7939f4888d9c365f476 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class puppet::cron::openbsd inherits puppet::openbsd {
include puppet::cron::base
case $puppet_config {
'': { $puppet_config = '/etc/puppet/puppet.conf' }
}
Openbsd::Add_to_rc_local['puppetd']{
ensure => 'absent',
}
Cron['puppetd_check']{
ensure => absent,
}
Cron['puppetd_restart']{
ensure => absent,
}
cron { 'puppetd_run':
command => "/usr/local/bin/puppetd --onetime --no-daemonize --splay true --config=$puppet_config",
user => 'root',
minute => [0,30],
}
}
|