[Mageia-sysadm] [534] - simplify the cgi path using custom fact

root at mageia.org root at mageia.org
Tue Dec 7 03:40:34 CET 2010


Revision: 534
Author:   misc
Date:     2010-12-07 03:40:34 +0100 (Tue, 07 Dec 2010)
Log Message:
-----------
- simplify the cgi path using custom fact

Modified Paths:
--------------
    puppet/modules/sympa/templates/vhost_ml.conf

Modified: puppet/modules/sympa/templates/vhost_ml.conf
===================================================================
--- puppet/modules/sympa/templates/vhost_ml.conf	2010-12-07 02:40:33 UTC (rev 533)
+++ puppet/modules/sympa/templates/vhost_ml.conf	2010-12-07 02:40:34 UTC (rev 534)
@@ -1,7 +1,7 @@
 <VirtualHost *:80>
 	ServerName ml.<%= domain %>
 <%-
-path_cgi_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/sympa/cgi"
+path_cgi_directory = lib_dir + "/sympa/cgi"
 -%>
 	DocumentRoot <%= path_cgi_directory %>
  	<Location />
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101207/b46704c6/attachment.html>


More information about the Mageia-sysadm mailing list