Merge "Add support for additional launcher config options"

This commit is contained in:
Jenkins
2016-05-13 20:02:27 +00:00
committed by Gerrit Code Review
2 changed files with 8 additions and 0 deletions

View File

@@ -57,6 +57,8 @@ class zuul (
# Launcher config
$jenkins_jobs = '',
$workspace_root = '',
$worker_private_key_file = '',
$worker_username = '',
$sites = [],
) {
include ::httpd

View File

@@ -62,6 +62,12 @@ default_to=<%= @smtp_default_to %>
[launcher]
jenkins_jobs=<%= @jenkins_jobs %>
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 -%>
<% @sites.each do |site| -%>