From: Silvio Rhatto Date: Wed, 25 Aug 2010 00:50:18 +0000 (-0300) Subject: Sympa vhost folder and script X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9a6a1dbe10fc5aea2d1908196831df3ff29d4ddd;p=puppet-mail.git Sympa vhost folder and script --- 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"], + } }