blob: 70f8161bc580cd0130546ca2fe927b37e45da41d (
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
25
26
27
28
29
30
31
32
33
34
|
class puppet::debian inherits puppet::linux {
file { '/etc/default/puppet':
source => [ "puppet:///modules/site_puppet/client/debian/${::fqdn}/puppet",
"puppet:///modules/site_puppet/client/debian/${::domain}/puppet",
"puppet:///modules/site_puppet/client/debian/puppet",
"puppet:///modules/puppet/client/debian/puppet" ],
notify => Service[puppet],
owner => root, group => 0, mode => 0644;
}
case $::lsbdistcodename {
squeeze,sid: {
$puppet_hasstatus = true
}
default: {
$puppet_hasstatus = false
}
}
Service[puppet]{
hasstatus => $puppet_hasstatus,
}
package{ 'puppet-common':
ensure => $puppet::ensure_version,
}
Package['puppet']{
require => Package['puppet-common']
}
}
|