Revision
647
Author
boklm
Date
2010-12-20 16:44:19 +0100 (Mon, 20 Dec 2010)

Log Message

add mandriva repository on http://repository.mageia.org/mandriva

Modified Paths

Modified: puppet/modules/buildsystem/templates/vhost_repository.conf
===================================================================
--- puppet/modules/buildsystem/templates/vhost_repository.conf	2010-12-17 01:45:21 UTC (rev 646)
+++ puppet/modules/buildsystem/templates/vhost_repository.conf	2010-12-20 15:44:19 UTC (rev 647)
@@ -7,6 +7,7 @@
 <VirtualHost *:80>
         ServerName repository.<%= domain %>
         DocumentRoot <%= repository_root %>
+	Alias /mandriva/ "/distrib/mandriva/"
         <Directory  <%= repository_root %>>
           Order deny,allow
           Deny from all
@@ -15,4 +16,12 @@
           Allow from .<%= domain %>
           Options Indexes FollowSymLinks
         </Directory>
+        <Directory  /distrib/mandriva>
+          Order deny,allow
+          Deny from all
+          Allow from localhost, 127.0.0.1
+          Allow from <%= buildsystem_nodes %>
+          Allow from .<%= domain %>
+          Options Indexes FollowSymLinks
+        </Directory>
 </VirtualHost>