blob: 1168373bc2a5e79c01ab1d2a8a2042e4dc528cb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class puppet::client inherits puppet {
cron { 'puppet':
ensure => present,
command => 'puppet agent --onetime --no-daemonize -l syslog >/dev/null 2>&1',
user => 'root',
minute => fqdn_rand( 60 ),
}
# we are using cron, so no need for the service
service { 'puppet':
enable => false,
hasstatus => true,
}
}
|