From 3570a598a812a79a626db90c75bcadd45fc328cf Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 17 May 2008 11:11:14 +0000 Subject: added more to the readme, fixed permissions --- README | 5 ++++- manifests/init.pp | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README b/README index 120e06d..526ad3a 100644 --- a/README +++ b/README @@ -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': } } -- cgit v1.2.3