Adding auth_version option to zuul.conf
Zuul swift plugin checks for auth_version in zuul.conf. If swift not found this option, it assumes 2.0 as default. This patch add the possibility to specify which version you want to use, allowing custom versions. It will be good in future when version 3.0 releases. Change-Id: I1ffd327feba8d290bf05291b022fff00af454c48
This commit is contained in:
parent
53fa1399bd
commit
51ca157e53
|
@ -40,6 +40,7 @@ class zuul (
|
|||
$smtp_default_from = "zuul@${::fqdn}",
|
||||
$smtp_default_to = "zuul.reports@${::fqdn}",
|
||||
$swift_authurl = '',
|
||||
$swift_auth_version = '',
|
||||
$swift_user = '',
|
||||
$swift_key = '',
|
||||
$swift_tenant_name = '',
|
||||
|
|
|
@ -43,6 +43,9 @@ tenant_name=<%= swift_tenant_name %>
|
|||
region_name=<%= swift_region_name %>
|
||||
default_container=<%= swift_default_container %>
|
||||
default_logserver_prefix=<%= swift_default_logserver_prefix %>
|
||||
<% if swift_auth_version != "" -%>
|
||||
auth_version=<%= swift_auth_version %>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
<% if smtp_host != "" -%>
|
||||
|
|
Loading…
Reference in New Issue