summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r--manifests/centos.pp16
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index 4446114..74a34f5 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -25,14 +25,14 @@ class apache::centos inherits apache::package {
path => '/var/www/html/index.html',
}
- file{'/etc/sysconfig/httpd':
- source => [ "puppet://$server/modules/site-apache/sysconfig/${fqdn}/httpd",
- "puppet://$server/modules/site-apache/sysconfig/httpd",
- "puppet://$server/modules/apache/sysconfig/${operatingsystem}/httpd",
- "puppet://$server/modules/apache/sysconfig/httpd" ],
- require => Package['apache'],
- notify => Service['apache'],
- owner => root, group => 0, mode => 0644;
+ file{'apache_service_config':
+ path => '/etc/sysconfig/httpd',
+ source => [ "puppet://$server/modules/site-apache/service/CentOS/${fqdn}/httpd",
+ "puppet://$server/modules/site-apache/service/CentOS/httpd",
+ "puppet://$server/modules/apache/service/CentOS/httpd" ],
+ require => Package['apache'],
+ notify => Service['apache'],
+ owner => root, group => 0, mode => 0644;
}
include apache::logrotate::centos