From 9a6a1dbe10fc5aea2d1908196831df3ff29d4ddd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 24 Aug 2010 21:50:18 -0300 Subject: Sympa vhost folder and script --- manifests/web.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/web.pp b/manifests/web.pp index 7b9e688..5000426 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -23,7 +23,7 @@ class mail::web inherits websites::setup { class mail::web::sympa { apache::site { "$sympa_subdomain": - docroot => "${apache_sites_folder}/$sympa_subdomain/site", + docroot => "${apache_sites_folder}/${sympa_subdomain}/site", source => true, } @@ -40,4 +40,9 @@ class mail::web::sympa { ensure => present, require => Package["apache2-suexec"], } + + file { "${apache_sites_folder}/$sympa_subdomain/site/wwsympa.fcgi": + ensure => "/usr/lib/cgi-bin/sympa/wwsympa.fcgi", + require => File["${apache_sites_folder}/sympa/site"], + } } -- cgit v1.2.3