blob: 09d0824b7de12ada63c82ff20b66c2020aa37c2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class puppet::linux inherits puppet::base {
package{ [ 'puppet', 'facter' ]:
ensure => present,
}
# package bc needed for cron
include bc
Service['puppet']{
require => Package[puppet],
}
file{'/etc/cron.d/puppetd.cron':
source => [ "puppet://$server/modules/puppet/cron.d/puppetd.${operatingsystem}",
"puppet://$server/modules/puppet/cron.d/puppetd" ],
owner => root, group => 0, mode => 0644,
notify => service["crond"];
}
}
|