summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/web.pp7
1 files changed, 6 insertions, 1 deletions
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"],
+ }
}