Add web_root option to zuul.conf
Change-Id: I8020c166b4896041abd063ddabc62780c5237915
This commit is contained in:
parent
311e638d8a
commit
67dc98c908
|
@ -89,6 +89,7 @@ class zuul (
|
||||||
$gearman_ssl_ca = undef,
|
$gearman_ssl_ca = undef,
|
||||||
$web_listen_address = '',
|
$web_listen_address = '',
|
||||||
$web_listen_port = '',
|
$web_listen_port = '',
|
||||||
|
$web_root = '',
|
||||||
$zuul_web_url = 'http://127.0.0.1:9000',
|
$zuul_web_url = 'http://127.0.0.1:9000',
|
||||||
$zuul_scheduler_url = 'http://127.0.0.1:8001',
|
$zuul_scheduler_url = 'http://127.0.0.1:8001',
|
||||||
$site_variables_yaml_file = undef,
|
$site_variables_yaml_file = undef,
|
||||||
|
|
|
@ -87,6 +87,9 @@ listen_address=<%= @web_listen_address %>
|
||||||
listen_port=<%= @web_listen_port %>
|
listen_port=<%= @web_listen_port %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
status_url=<%= @status_url %>
|
status_url=<%= @status_url %>
|
||||||
|
<% if @web_root != "" -%>
|
||||||
|
root=<%= web_root %>
|
||||||
|
<% end -%>
|
||||||
|
|
||||||
<% @connections.each do |connection| -%>
|
<% @connections.each do |connection| -%>
|
||||||
[connection "<%= connection['name'] %>"]
|
[connection "<%= connection['name'] %>"]
|
||||||
|
|
Loading…
Reference in New Issue