Merge "Add support for additional launcher config options"
This commit is contained in:
@@ -57,6 +57,8 @@ class zuul (
|
|||||||
# Launcher config
|
# Launcher config
|
||||||
$jenkins_jobs = '',
|
$jenkins_jobs = '',
|
||||||
$workspace_root = '',
|
$workspace_root = '',
|
||||||
|
$worker_private_key_file = '',
|
||||||
|
$worker_username = '',
|
||||||
$sites = [],
|
$sites = [],
|
||||||
) {
|
) {
|
||||||
include ::httpd
|
include ::httpd
|
||||||
|
|||||||
@@ -62,6 +62,12 @@ default_to=<%= @smtp_default_to %>
|
|||||||
[launcher]
|
[launcher]
|
||||||
jenkins_jobs=<%= @jenkins_jobs %>
|
jenkins_jobs=<%= @jenkins_jobs %>
|
||||||
workspace_root=<%= @workspace_root %>
|
workspace_root=<%= @workspace_root %>
|
||||||
|
<% if @worker_private_key_file != "" -%>
|
||||||
|
private_key_file=<%= @worker_private_key_file %>
|
||||||
|
<% end -%>
|
||||||
|
<% if @worker_username != "" -%>
|
||||||
|
username=<%= @worker_username %>
|
||||||
|
<% end -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% @sites.each do |site| -%>
|
<% @sites.each do |site| -%>
|
||||||
|
|||||||
Reference in New Issue
Block a user