From 7bc44c94a94e772542bb69476f306c3d1aef90ff Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 10 Jan 2011 18:20:46 -0500 Subject: add to puppet::puppetmaster::debian a file resource to manage the /etc/default/puppetmaster file shipped with the debian package --- manifests/puppetmaster/debian.pp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'manifests/puppetmaster') diff --git a/manifests/puppetmaster/debian.pp b/manifests/puppetmaster/debian.pp index 76cd4f5..fcfae83 100644 --- a/manifests/puppetmaster/debian.pp +++ b/manifests/puppetmaster/debian.pp @@ -3,4 +3,13 @@ class puppet::puppetmaster::debian inherits puppet::puppetmaster::package { if $puppetmaster_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; + } } -- cgit v1.2.3