blob: 8cee0ea28f47b7abb77d93b2b34bdc20794ff719 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class puppet::puppetmaster::debian inherits puppet::puppetmaster::package {
if $puppetmaster_mode != 'passenger' {
case $lsbdistcodename {
squeeze,sid: {
Service['puppetmaster'] { hasstatus => true, hasrestart => true }
}
}
}
file { '/etc/default/puppetmaster':
source => [ "puppet:///modules/site-puppet/master/debian/${fqdn}/puppetmaster",
"puppet:///modules/site-puppet/master/debian/${domain}/puppetmaster",
"puppet:///modules/site-puppet/master/debian/puppetmaster",
"puppet:///modules/puppet/master/debian/puppetmaster" ],
notify => Service[puppetmaster],
owner => root, group => 0, mode => 0644;
}
}
|