summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 90a84a0..3a5d4bf 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -138,6 +138,16 @@ class apache::centos inherits apache::package {
path => '/var/www/html/index.html',
}
+ file{'/etc/sysconfig/httpd':
+ source => [ "puppet://$server/files/apache/sysconfig/${fqdn}/httpd",
+ "puppet://$server/files/apache/sysconfig/httpd",
+ "puppet://$server/apache/sysconfig/${operatingsystem}/httpd",
+ "puppet://$server/apache/sysconfig/httpd" ],
+ require => Package['apache'],
+ notify => Service['apache'],
+ owner => root, group => 0, mode => 0644;
+ }
+
apache::config::file{ 'welcome.conf': }
apache::config::file{ 'vhosts.conf': }
}