Browse Source

Add web_root option to zuul.conf

Change-Id: I8020c166b4896041abd063ddabc62780c5237915
changes/39/675639/1
James E. Blair 3 months ago
parent
commit
67dc98c908
2 changed files with 4 additions and 0 deletions
  1. +1
    -0
      manifests/init.pp
  2. +3
    -0
      templates/zuulv3.conf.erb

+ 1
- 0
manifests/init.pp 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,

+ 3
- 0
templates/zuulv3.conf.erb 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'] %>"]

Loading…
Cancel
Save