blob: f0479ae2c0009740a08e0484bed69274f55f2200 (
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
35
|
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: {
$real_puppet_hasstatus = true
}
default: {
$real_puppet_hasstatus = false
}
}
Service[puppet]{
hasstatus => $real_puppet_hasstatus,
}
if !$puppet_ensure_version { $puppet_ensure_version = 'installed' }
package{ 'puppet-common':
ensure => $puppet_ensure_version,
}
Package['puppet']{
require => Package['puppet-common']
}
}
|