aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-22 22:17:07 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-22 22:17:07 +0000
commit067cd148803254549efe8cd7e83533ddab8eebe0 (patch)
treee3f502bd3678e9ec001206e857802a861760487f /modules/buildsystem/templates
parent146e97ccbd887c288e8642de9675e100ce28d0c2 (diff)
downloadpuppet-067cd148803254549efe8cd7e83533ddab8eebe0.tar
puppet-067cd148803254549efe8cd7e83533ddab8eebe0.tar.gz
puppet-067cd148803254549efe8cd7e83533ddab8eebe0.tar.bz2
puppet-067cd148803254549efe8cd7e83533ddab8eebe0.tar.xz
puppet-067cd148803254549efe8cd7e83533ddab8eebe0.zip
buildsystem::binrepo: add option to select binrepo hostname
Diffstat (limited to 'modules/buildsystem/templates')
-rw-r--r--modules/buildsystem/templates/mgarepo.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/buildsystem/templates/mgarepo.conf b/modules/buildsystem/templates/mgarepo.conf
index c4dd0855..e46ae2fa 100644
--- a/modules/buildsystem/templates/mgarepo.conf
+++ b/modules/buildsystem/templates/mgarepo.conf
@@ -95,6 +95,7 @@ upload-bin = /usr/local/bin/wrapper.upload-bin
run-prep = yes
[binrepo]
-download_url = http://binrepo.<%= domain %>/
-upload_host = binrepo.<%= domain %>
+<%- binrepo_hostname = scope.lookupvar('buildsystem::var::binrepo::hostname') -%>
+download_url = http://<%= binrepo_hostname %>/
+upload_host = <%= binrepo_hostname %>