aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/vhost_repository.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/templates/vhost_repository.conf')
-rw-r--r--modules/buildsystem/templates/vhost_repository.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf
index 167c026e..6b5b67e5 100644
--- a/modules/buildsystem/templates/vhost_repository.conf
+++ b/modules/buildsystem/templates/vhost_repository.conf
@@ -8,7 +8,8 @@ distros = scope.lookupvar('buildsystem::var::distros::distros')
ServerName <%= scope.lookupvar('buildsystem::var::repository::hostname') %>
DocumentRoot <%= mirror_root %>
<%-
- distros.each{|distroname,distro|
+ distros.keys.sort.each{|distroname|
+ distro = distros[distroname]
allow_from = distro['repo_allow_from'] != nil ? distro['repo_allow_from'] : [ 'all' ]
%>
Alias /bootstrap/<%= distroname %>/ "<%= bootstrap_reporoot %>/<%= distroname %>/"