diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-24 21:50:18 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-24 21:50:18 -0300 |
commit | 9a6a1dbe10fc5aea2d1908196831df3ff29d4ddd (patch) | |
tree | cbd3a553f8397b0adf986e36b556c32960361c1a /manifests | |
parent | 92f9277f432e73192d67e7146470344fc2ba7c58 (diff) | |
download | puppet-mail-9a6a1dbe10fc5aea2d1908196831df3ff29d4ddd.tar.gz puppet-mail-9a6a1dbe10fc5aea2d1908196831df3ff29d4ddd.tar.bz2 |
Sympa vhost folder and script
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/web.pp | 7 |
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"], + } } |