diff options
author | duritong <peter.meier@immerda.ch> | 2009-05-17 15:54:10 +0200 |
---|---|---|
committer | duritong <peter.meier@immerda.ch> | 2009-05-17 15:54:10 +0200 |
commit | 25c6405b88d4e1f2463706dd926c7e1f803e284e (patch) | |
tree | 5d53c821ee0e2128971fe58658f911b0ecb33ce5 /manifests | |
parent | 1b1c03bc8fe69312b404fa425c68237c0295f1ae (diff) |
manage the sysconfig file on centos
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 10 |
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': } } |