aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2010-11-23 07:15:22 +0000
committerOlivier Blin <blino@mageia.org>2010-11-23 07:15:22 +0000
commit7b406175dce3643a210445bf1b241e1f6d3dd9a5 (patch)
tree57759d43a2a1746b1c9e04265d610391440ff1b6
parent89aa126e431a68e5edbe3fa2e81718796b664301 (diff)
downloadpuppet-7b406175dce3643a210445bf1b241e1f6d3dd9a5.tar
puppet-7b406175dce3643a210445bf1b241e1f6d3dd9a5.tar.gz
puppet-7b406175dce3643a210445bf1b241e1f6d3dd9a5.tar.bz2
puppet-7b406175dce3643a210445bf1b241e1f6d3dd9a5.tar.xz
puppet-7b406175dce3643a210445bf1b241e1f6d3dd9a5.zip
allow repository http acces from buildsystem nodes
(hardcoding their IPv6 address since we have no reverse lookup on them)
-rw-r--r--modules/buildsystem/templates/vhost_repository.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf
index 5f2b17cf..234a38e8 100644
--- a/modules/buildsystem/templates/vhost_repository.conf
+++ b/modules/buildsystem/templates/vhost_repository.conf
@@ -1,5 +1,6 @@
<%
repository_root = "/distrib/bootstrap"
+buildsystem_nodes = "2a02:2178:2:7::3, 2a02:2178:2:7::4"
%>
<VirtualHost *:80>
@@ -9,6 +10,7 @@ repository_root = "/distrib/bootstrap"
Order deny,allow
Deny from all
Allow from localhost, 127.0.0.1
+ Allow from <%= buildsystem_nodes %>
Allow from .<%= domain %>
Options Indexes FollowSymLinks
</Directory>