summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-01-10 18:20:46 -0500
committerMicah Anderson <micah@riseup.net>2011-01-10 18:20:46 -0500
commit7bc44c94a94e772542bb69476f306c3d1aef90ff (patch)
treeefab933915ea1aaf189271655840a695b441a09d /manifests
parentc263b1121d7139a8c9db521046c77a262647cd78 (diff)
add to puppet::puppetmaster::debian a file resource to manage the /etc/default/puppetmaster file shipped with the debian package
Diffstat (limited to 'manifests')
-rw-r--r--manifests/puppetmaster/debian.pp9
1 files changed, 9 insertions, 0 deletions
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;
+ }
}