updated allow insatll of puppetmaster on squeeze. This addresses the
[puppet-common:puppet.git] / manifests / puppetmaster / debian.pp
1 class puppet::puppetmaster::debian inherits puppet::puppetmaster::package {
2
3
4   if $puppetmaster_mode != 'passenger' {
5     case $lsbdistcodename {
6       squeeze,sid: {
7         Service['puppetmaster'] { hasstatus => true, hasrestart => true }
8       }
9     }
10   }
11
12   file { '/etc/default/puppetmaster':
13     source => [ "puppet:///modules/site-puppet/master/debian/${fqdn}/puppetmaster",
14                 "puppet:///modules/site-puppet/master/debian/${domain}/puppetmaster",
15                 "puppet:///modules/site-puppet/master/debian/puppetmaster",
16                 "puppet:///modules/puppet/master/debian/puppetmaster" ],
17     notify => Service[puppetmaster],
18     owner => root, group => 0, mode => 0644;
19   }
20 }