system-config/modules/zuul/templates/zuul.conf.erb
Arx Cruz 7d2c21b75d 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
2014-07-28 12:51:37 -03:00

58 lines
1.3 KiB
Plaintext

[gearman]
server=<%= gearman_server %>
[gearman_server]
start=<%= internal_gearman %>
log_config=/etc/zuul/gearman-logging.conf
[gerrit]
server=<%= gerrit_server %>
user=<%= gerrit_user %>
sshkey=/var/lib/zuul/ssh/id_rsa
<% if gerrit_baseurl != "" -%>
baseurl=<%= gerrit_baseurl %>
<% end -%>
[zuul]
layout_config=/etc/zuul/layout.yaml
log_config=/etc/zuul/logging.conf
state_dir=/var/lib/zuul
git_dir=/var/lib/zuul/git
url_pattern=<%= url_pattern %>
status_url=<%= status_url %>
job_name_in_report=<%= job_name_in_report %>
zuul_url=<%= zuul_url %>
[merger]
git_dir=/var/lib/zuul/git
zuul_url=<%= zuul_url %>
log_config=/etc/zuul/merger-logging.conf
<% if git_email != "" -%>
git_user_email=<%= git_email %>
<% end -%>
<% if git_name != "" -%>
git_user_name=<%= git_name %>
<% end -%>
<% if swift_authurl != "" -%>
[swift]
authurl=<%= swift_authurl %>
user=<%= swift_user %>
key=<%= swift_key %>
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 != "" -%>
[smtp]
server=<%= smtp_host %>
port=<%= smtp_port %>
default_from=<%= smtp_default_from %>
default_to=<%= smtp_default_to %>
<% end -%>