summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-24 21:50:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-24 21:50:18 -0300
commit9a6a1dbe10fc5aea2d1908196831df3ff29d4ddd (patch)
treecbd3a553f8397b0adf986e36b556c32960361c1a /manifests
parent92f9277f432e73192d67e7146470344fc2ba7c58 (diff)
downloadpuppet-mail-9a6a1dbe10fc5aea2d1908196831df3ff29d4ddd.tar.gz
puppet-mail-9a6a1dbe10fc5aea2d1908196831df3ff29d4ddd.tar.bz2
Sympa vhost folder and script
Diffstat (limited to 'manifests')
-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"],
+ }
}