diff options
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | manifests/init.pp | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -19,4 +19,7 @@ similar manner. a few additional directories have to be created as well some configuration files have to be deployed to fit this schema. -Vhosts can be added +vhosts can be added with the vhosts define: +(currently only plain vhosts file are supported) + +apache::vhosts::file { '$domain' } diff --git a/manifests/init.pp b/manifests/init.pp index da2fb96..81ec9e9 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -90,14 +90,14 @@ class apache::centos inherits apache::base{ file{"${config_dir}/conf.d/ZZZ_vhosts.conf": source => "puppet://$server/apache/centos/vhosts.conf", - owner => root, group => 0, mode => 0755; + owner => root, group => 0, mode => 0644; } file{"${config_dir}/conf.d/ssl.conf": source => [ "puppet://$server/files/apache/centos/${fqdn}/ssl.conf", "puppet://$server/files/apache/centos/ssl.conf", "puppet://$server/apache/centos/ssl.conf" ], - owner => root, group => 0, mode => 0755; + owner => root, group => 0, mode => 0644; } apache::vhost::file { '00_default_centos_vhost': } } |