summaryrefslogtreecommitdiff
path: root/manifests/master/centos.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/master/centos.pp')
-rw-r--r--manifests/master/centos.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/manifests/master/centos.pp b/manifests/master/centos.pp
new file mode 100644
index 0000000..b684174
--- /dev/null
+++ b/manifests/master/centos.pp
@@ -0,0 +1,17 @@
+# manifests/puppetmaster/centos.pp
+class puppet::master::centos inherits puppet::master::package {
+ file { '/etc/sysconfig/puppetmaster':
+ source => [ "puppet:///modules/site_puppet/sysconfig/${::fqdn}/puppetmaster",
+ "puppet:///modules/site_puppet/sysconfig/${::domain}/puppetmaster",
+ 'puppet:///modules/site_puppet/sysconfig/puppetmaster',
+ 'puppet:///modules/puppet/sysconfig/puppetmaster' ],
+ owner => root,
+ group => 0,
+ mode => '0644';
+ }
+ if $puppet::master::mode != 'passenger' {
+ File['/etc/sysconfig/puppetmaster']{
+ notify => Service[puppetmaster],
+ }
+ }
+}