![Aleksandr Didenko](/assets/img/avatar_default.png)
master commit: 0b6d31b5ee888516a2a23db9b5daf5bea8d2d50e Fuel-CI: disable Partially implements: blueprint upgrade-openstack-puppet-modules Change-Id: I8be490021b0cbe825b3df5e233564416b1155cac
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
# This file is managed by puppet. Do not edit
|
|
#
|
|
[DEFAULT]
|
|
bind_port = <%= @port %>
|
|
<% if @proxy_local_net_ip %>
|
|
bind_ip = <%= @proxy_local_net_ip %>
|
|
<% end %>
|
|
workers = <%= @workers %>
|
|
user = swift
|
|
log_name = <%= @log_name %>
|
|
log_facility = <%= @log_facility %>
|
|
log_level = <%= @log_level %>
|
|
log_headers = <%= @log_headers %>
|
|
log_address = <%= @log_address %>
|
|
<% if @log_udp_host -%>
|
|
# If set, log_udp_host will override log_address
|
|
log_udp_host = <%= @log_udp_host -%>
|
|
<% end %>
|
|
<% if @log_udp_host and @log_udp_port -%>
|
|
log_udp_port = <%= @log_udp_port -%>
|
|
<% end %>
|
|
|
|
[pipeline:main]
|
|
pipeline = <%= @pipeline.to_a.join(' ') %>
|
|
|
|
[app:proxy-server]
|
|
use = egg:swift#proxy
|
|
set log_name = <%= @log_name %>
|
|
set log_facility = <%= @log_facility %>
|
|
set log_level = <%= @log_level %>
|
|
set log_address = <%= @log_address %>
|
|
log_handoffs = <%= @log_handoffs %>
|
|
allow_account_management = <%= @allow_account_management %>
|
|
account_autocreate = <%= @account_autocreate %>
|
|
<% if @read_affinity -%>
|
|
sorting_method = affinity
|
|
read_affinity = <%= @read_affinity -%>
|
|
<% end %>
|
|
<% if @write_affinity -%>
|
|
write_affinity = <%= @write_affinity -%>
|
|
<% end %>
|
|
<% if @write_affinity_node_count -%>
|
|
write_affinity_node_count = <%= @write_affinity_node_count -%>
|
|
<% end %>
|
|
<% if @node_timeout -%>
|
|
node_timeout = <%= @node_timeout -%>
|
|
<% end %>
|