summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-24 22:28:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-24 22:28:26 -0300
commit6da8ad347a47d7a7d06c93088bd5cee8d7469adf (patch)
tree67ee4d8dd0abbc0557f7512db9ad495c682a7c10 /manifests
parentbb1ebfec56cd5e8772dbf418ddf7f061c4bc89c9 (diff)
downloadpuppet-mail-6da8ad347a47d7a7d06c93088bd5cee8d7469adf.tar.gz
puppet-mail-6da8ad347a47d7a7d06c93088bd5cee8d7469adf.tar.bz2
Using a custom cgi script for sympa
Diffstat (limited to 'manifests')
-rw-r--r--manifests/web.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/web.pp b/manifests/web.pp
index 316d5be..828234e 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -42,7 +42,10 @@ class mail::web::sympa inherits websites::setup {
}
file { "${apache_sites_folder}/${sympa_subdomain}/site/wwsympa.fcgi":
- ensure => "/usr/lib/cgi-bin/sympa/wwsympa.fcgi",
+ ensure => present,
+ owner => sympa,
+ group => sympa,
+ content => "#!/bin/sh\n/usr/lib/cgi-bin/sympa/wwsympa.fcgi\n",
require => File["${apache_sites_folder}/${sympa_subdomain}/site"],
}
}