From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2010-November/000239.html | 110 ++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000239.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000239.html') diff --git a/zarb-ml/mageia-sysadm/2010-November/000239.html b/zarb-ml/mageia-sysadm/2010-November/000239.html new file mode 100644 index 000000000..75b94229e --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000239.html @@ -0,0 +1,110 @@ + + + + [Mageia-sysadm] [123] - refactor the vhost setting, and clean it + + + + + + + + + +

[Mageia-sysadm] [123] - refactor the vhost setting, and clean it

+ root at mageia.org + root at mageia.org +
+ Fri Nov 5 02:04:35 CET 2010 +

+
+ +
Revision: 123
+Author:   misc
+Date:     2010-11-05 02:04:35 +0100 (Fri, 05 Nov 2010)
+Log Message:
+-----------
+- refactor the vhost setting, and clean it
+
+Modified Paths:
+--------------
+    puppet/modules/mga-mirrors/manifests/init.pp
+    puppet/modules/mga-mirrors/templates/mirrors_vhost.conf
+
+Modified: puppet/modules/mga-mirrors/manifests/init.pp
+===================================================================
+--- puppet/modules/mga-mirrors/manifests/init.pp	2010-11-05 01:01:29 UTC (rev 122)
++++ puppet/modules/mga-mirrors/manifests/init.pp	2010-11-05 01:04:35 UTC (rev 123)
+@@ -1,4 +1,6 @@
+ class mga-mirrors {
++    
++    $vhost = "mirrors.$domain"
+ 
+     include apache::mod_fcgid
+ 
+@@ -7,8 +9,8 @@
+     }
+ 
+     # add a apache vhost
+-    file { "mirrors.$domain.conf":
+-        path => "/etc/httpd/conf/vhosts.d/$name.$domain.conf",
++    file { "$vhost.conf":
++        path => "/etc/httpd/conf/vhosts.d/$vhost.conf",
+         ensure => "present",
+         owner => root,
+         group => root,
+
+Modified: puppet/modules/mga-mirrors/templates/mirrors_vhost.conf
+===================================================================
+--- puppet/modules/mga-mirrors/templates/mirrors_vhost.conf	2010-11-05 01:01:29 UTC (rev 122)
++++ puppet/modules/mga-mirrors/templates/mirrors_vhost.conf	2010-11-05 01:04:35 UTC (rev 123)
+@@ -1,6 +1,5 @@
+-NameVirtualHost *:80
+ <VirtualHost *:80>
+-        ServerName mirrors.<%= domain %>
++        ServerName <%= vhost %>
+         # Serve static content directly
+         DocumentRoot  /dev/null
+ 
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101105/65d06fe8/attachment.html>
+
+ + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1