blob: 38857810254d484bf30d049c6b59fba37d940b9e (
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 => '/usr/sbin/puppetd -o --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,
}
}
|