diff options
Diffstat (limited to 'manifests/master/debian.pp')
-rw-r--r-- | manifests/master/debian.pp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/master/debian.pp b/manifests/master/debian.pp new file mode 100644 index 0000000..5748683 --- /dev/null +++ b/manifests/master/debian.pp @@ -0,0 +1,18 @@ +# debian master +class puppet::master::debian inherits puppet::master::package { + + if $puppet::master::mode != 'passenger' { + 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'; + } +} |