aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:02 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:02 +0000
commite8ed74b839b0cf72550dff89138a4dca8b544900 (patch)
tree7022fbfa6a94c5b77ef1ff30c6f2bdc71779fb8d /modules/buildsystem/templates
parentb20c4921246411a27afb95369fcf59d756f82434 (diff)
downloadpuppet-e8ed74b839b0cf72550dff89138a4dca8b544900.tar
puppet-e8ed74b839b0cf72550dff89138a4dca8b544900.tar.gz
puppet-e8ed74b839b0cf72550dff89138a4dca8b544900.tar.bz2
puppet-e8ed74b839b0cf72550dff89138a4dca8b544900.tar.xz
puppet-e8ed74b839b0cf72550dff89138a4dca8b544900.zip
buildsystem/upload.conf: use webstatus config
Use the variable from webstatus configuration to set URL in upload.conf instead of hardcoding pkgsubmit.$domain.
Diffstat (limited to 'modules/buildsystem/templates')
-rw-r--r--modules/buildsystem/templates/upload.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/templates/upload.conf b/modules/buildsystem/templates/upload.conf
index 30e02f35..73274c79 100644
--- a/modules/buildsystem/templates/upload.conf
+++ b/modules/buildsystem/templates/upload.conf
@@ -67,7 +67,7 @@ my $homedir = "<%= scope.lookupvar('buildsystem::var::iurt::homedir') %>";
},
},
admin => 'mageia-sysadm@mageia.org',
- http_queue => 'http://pkgsubmit.<%= domain %>/uploads',
+ http_queue => 'http://<%= scope.lookupvar('buildsystem::var::webstatus::hostname') %>/uploads',
upload_user => '<%= scope.lookupvar('buildsystem::var::scheduler::login') %>',
email_domain => '<%= domain %>',
}