Merge "Adding auth_version option to zuul.conf"

This commit is contained in:
Jenkins 2014-08-01 23:41:54 +00:00 committed by Gerrit Code Review
commit a9f9828a81
3 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,7 @@ class openstack_project::zuul_prod(
$url_pattern = '', $url_pattern = '',
$zuul_url = '', $zuul_url = '',
$swift_authurl = '', $swift_authurl = '',
$swift_auth_version = '',
$swift_user = '', $swift_user = '',
$swift_key = '', $swift_key = '',
$swift_tenant_name = '', $swift_tenant_name = '',
@ -44,6 +45,7 @@ class openstack_project::zuul_prod(
git_email => 'jenkins@openstack.org', git_email => 'jenkins@openstack.org',
git_name => 'OpenStack Jenkins', git_name => 'OpenStack Jenkins',
swift_authurl => $swift_authurl, swift_authurl => $swift_authurl,
swift_auth_version => $swift_auth_version,
swift_user => $swift_user, swift_user => $swift_user,
swift_key => $swift_key, swift_key => $swift_key,
swift_tenant_name => $swift_tenant_name, swift_tenant_name => $swift_tenant_name,

View File

@ -40,6 +40,7 @@ class zuul (
$smtp_default_from = "zuul@${::fqdn}", $smtp_default_from = "zuul@${::fqdn}",
$smtp_default_to = "zuul.reports@${::fqdn}", $smtp_default_to = "zuul.reports@${::fqdn}",
$swift_authurl = '', $swift_authurl = '',
$swift_auth_version = '',
$swift_user = '', $swift_user = '',
$swift_key = '', $swift_key = '',
$swift_tenant_name = '', $swift_tenant_name = '',

View File

@ -43,6 +43,9 @@ tenant_name=<%= swift_tenant_name %>
region_name=<%= swift_region_name %> region_name=<%= swift_region_name %>
default_container=<%= swift_default_container %> default_container=<%= swift_default_container %>
default_logserver_prefix=<%= swift_default_logserver_prefix %> default_logserver_prefix=<%= swift_default_logserver_prefix %>
<% if swift_auth_version != "" -%>
auth_version=<%= swift_auth_version %>
<% end -%>
<% end -%> <% end -%>
<% if smtp_host != "" -%> <% if smtp_host != "" -%>