[Mageia-sysadm] [335] - also fix the directory ( maybe I should add a facter plugin for this too )

root at mageia.org root at mageia.org
Sat Nov 20 01:16:45 CET 2010


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:
--------------
    puppet/modules/sympa/templates/webapp_sympa.conf

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101120/d28b92c0/attachment.html>


More information about the Mageia-sysadm mailing list