Add web_root option to zuul.conf

Change-Id: I8020c166b4896041abd063ddabc62780c5237915
This commit is contained in:
James E. Blair 2019-08-09 08:12:31 -07:00
parent 311e638d8a
commit 67dc98c908
2 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,7 @@ class zuul (
$gearman_ssl_ca = undef,
$web_listen_address = '',
$web_listen_port = '',
$web_root = '',
$zuul_web_url = 'http://127.0.0.1:9000',
$zuul_scheduler_url = 'http://127.0.0.1:8001',
$site_variables_yaml_file = undef,

View File

@ -87,6 +87,9 @@ listen_address=<%= @web_listen_address %>
listen_port=<%= @web_listen_port %>
<% end -%>
status_url=<%= @status_url %>
<% if @web_root != "" -%>
root=<%= web_root %>
<% end -%>
<% @connections.each do |connection| -%>
[connection "<%= connection['name'] %>"]