diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-24 23:11:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-24 23:11:45 -0300 |
commit | d41cc348be192d7902ce93a83e04106e572bf631 (patch) | |
tree | b6668bce6fc85ded6e6691255211ca93a3f2086a /manifests | |
parent | b77479d3441add59ff1ed9525e722b61cd162a50 (diff) | |
download | puppet-mail-d41cc348be192d7902ce93a83e04106e572bf631.tar.gz puppet-mail-d41cc348be192d7902ce93a83e04106e572bf631.tar.bz2 |
Using apache_www_folder for sympa otherwise suexec will complain
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/web.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/web.pp b/manifests/web.pp index 26e0667..52a19c9 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -23,7 +23,7 @@ class mail::web inherits websites::setup { class mail::web::sympa inherits websites::setup { apache::site { "$sympa_subdomain": - docroot => "${apache_sites_folder}/${sympa_subdomain}/site", + docroot => "${apache_www_folder}/${sympa_subdomain}", source => true, } @@ -41,12 +41,12 @@ class mail::web::sympa inherits websites::setup { require => Package["apache2-suexec"], } - file { "${apache_sites_folder}/${sympa_subdomain}/site/wwsympa.fcgi": + file { "${apache_www_folder}/${sympa_subdomain}/wwsympa.fcgi": ensure => present, owner => sympa, group => sympa, mode => 0550, content => "#!/bin/sh\n/usr/lib/cgi-bin/sympa/wwsympa.fcgi\n", - require => File["${apache_sites_folder}/${sympa_subdomain}/site"], + require => File["${apache_www_folder}/${sympa_subdomain}"], } } |