Revision
335
Author
misc
Date
2010-11-20 01:16:45 +0100 (Sat, 20 Nov 2010)

Log Message

- also fix the directory ( maybe I should add a facter plugin for this too )

Modified Paths

Modified: puppet/modules/sympa/templates/webapp_sympa.conf
===================================================================
--- puppet/modules/sympa/templates/webapp_sympa.conf	2010-11-19 23:52:44 UTC (rev 334)
+++ puppet/modules/sympa/templates/webapp_sympa.conf	2010-11-20 00:16:45 UTC (rev 335)
@@ -1,4 +1,7 @@
-<Directory /usr/lib64/sympa/cgi>
+<%-
+path_cgi_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/sympa/cgi"
+-%>
+<Directory <%= path_cgi_directory %> >
     Options ExecCGI
     AddHandler fastcgi-script .fcgi
     DirectoryIndex wwsympa-wrapper.fcgi