blob: 13788efe9ab19d835a0f8f082c9ac91989b514ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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,
ensure => absent
}
}
|