blob: 3a35d757f5b3202aa4329e937b657ce9bb7a8635 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
class puppet::linux inherits puppet::base {
if !$puppet_ensure_version { $puppet_ensure_version = 'installed' }
package{ 'puppet':
ensure => $puppet_ensure_version,
}
if !$facter_ensure_version { $facter_ensure_version = 'installed' }
package{ 'facter':
ensure => $facter_ensure_version,
}
Service['puppet']{
require => Package[puppet],
}
file { '/etc/cron.d/puppetd.cron':
source => [ "puppet:///modules/site-puppet/cron.d/puppetd",
"puppet:///modules/puppet/cron.d/puppetd.${operatingsystem}",
"puppet:///modules/puppet/cron.d/puppetd" ],
owner => root, group => 0, mode => 0644,
}
}
|