aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2010-12-20 15:44:19 +0000
committerNicolas Vigier <boklm@mageia.org>2010-12-20 15:44:19 +0000
commitc13c51610f374a4a091191fe5e708b032209702d (patch)
treef38e6e84d67795ac85e37aaf132b7d765e226e71 /modules/buildsystem/templates
parentdc954f622c04e9a604b0d300bb69f586fbc3fd80 (diff)
downloadpuppet-c13c51610f374a4a091191fe5e708b032209702d.tar
puppet-c13c51610f374a4a091191fe5e708b032209702d.tar.gz
puppet-c13c51610f374a4a091191fe5e708b032209702d.tar.bz2
puppet-c13c51610f374a4a091191fe5e708b032209702d.tar.xz
puppet-c13c51610f374a4a091191fe5e708b032209702d.zip
add mandriva repository on http://repository.mageia.org/mandriva
Diffstat (limited to 'modules/buildsystem/templates')
-rw-r--r--modules/buildsystem/templates/vhost_repository.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf
index 51f3a152..6ea2703b 100644
--- a/modules/buildsystem/templates/vhost_repository.conf
+++ b/modules/buildsystem/templates/vhost_repository.conf
@@ -7,6 +7,7 @@ buildsystem_nodes = "2a02:2178:2:7::3/64 2a02:2178:2:7::4/64 2a02:2178:2:7::5/64
<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 @@ buildsystem_nodes = "2a02:2178:2:7::3/64 2a02:2178:2:7::4/64 2a02:2178:2:7::5/64
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>