diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 1 | ||||
-rw-r--r-- | modules/buildsystem/templates/vhost_repository.conf | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index bcb6f53b..d930d6da 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -12,6 +12,7 @@ class buildsystem { # FIXME: maybe keyid should be defined at an other place $sign_keyid = "80420F66" $repository_root = "/distrib/bootstrap" + $mirror_root = "/distrib/mirror" $maintdb_url = 'http://www.maintdb2.mageia.org.uk/maintainers_packages/create' # FIXME: Test password. Real password should be in extdata. $maintdb_key = 'm1g234' diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf index bab52aa8..c9286faf 100644 --- a/modules/buildsystem/templates/vhost_repository.conf +++ b/modules/buildsystem/templates/vhost_repository.conf @@ -6,10 +6,10 @@ 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 %> + DocumentRoot <%= mirror_root %> Alias /mandriva/ "/distrib/mandriva/" Alias /mageiatools/ "/distrib/mageiatools/" - <Directory <%= repository_root %>> + <Directory <%= mirror_root %>> Order deny,allow Deny from all Allow from localhost, 127.0.0.1 |