Add the ability to set zuul's gerrit baseurl

Change-Id: Ieb9fd71776dd69e9f01df1f565d5ca6951d6dd97
This commit is contained in:
Ramy Asselin 2014-07-08 16:27:40 -07:00
parent 8bf3764d9c
commit d582d43a98
2 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,7 @@ class zuul (
$internal_gearman = true,
$gerrit_server = '',
$gerrit_user = '',
$gerrit_baseurl = '',
$zuul_ssh_private_key = '',
$url_pattern = '',
$status_url = "https://${::fqdn}/",

View File

@ -9,6 +9,9 @@ log_config=/etc/zuul/gearman-logging.conf
server=<%= gerrit_server %>
user=<%= gerrit_user %>
sshkey=/var/lib/zuul/ssh/id_rsa
<% if gerrit_baseurl != "" -%>
baseurl=<%= gerrit_baseurl %>
<% end -%>
[zuul]
layout_config=/etc/zuul/layout.yaml