blob: f51a319b87dae09b21c36ae36855635c8a5644ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class puppet::master::debian inherits puppet::master::package {
if $puppet::master::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;
}
}
|