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,
}
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}"],
}
}