c9809f8c92
Also change both proxy-server and object-server .conf templates to test if log_udp_server and log_udp_port are nil, instead of an empty string. Testing for an empty string would have retruned true if set to 'undef' - for futer parser compat. Change-Id: Idac805f628dbec70a4adb6a1c021d85a743fdb72
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
[DEFAULT]
|
|
devices = <%= @devices %>
|
|
bind_ip = <%= @storage_local_net_ip %>
|
|
bind_port = <%= @bind_port %>
|
|
mount_check = <%= @mount_check %>
|
|
user = <%= @user %>
|
|
log_name = <%= @log_name %>
|
|
log_facility = <%= @log_facility %>
|
|
log_level = <%= @log_level %>
|
|
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 %>
|
|
workers = <%= @workers %>
|
|
allowed_sync_hosts = <%= scope.lookupvar("swift::storage::container::allowed_sync_hosts").to_a.join(',') %>
|
|
|
|
[pipeline:main]
|
|
pipeline = <%= @pipeline.to_a.join(' ') %>
|
|
|
|
[app:container-server]
|
|
allow_versions = <%= @allow_versions %>
|
|
use = egg:swift#container
|
|
set log_name = <%= @log_name %>
|
|
set log_facility = <%= @log_facility %>
|
|
set log_level = <%= @log_level %>
|
|
set log_requests = True
|
|
set log_address = <%= @log_address %>
|
|
|
|
[container-replicator]
|
|
concurrency = <%= @replicator_concurrency %>
|
|
|
|
[container-updater]
|
|
concurrency = <%= @updater_concurrency %>
|
|
|
|
[container-auditor]
|
|
|
|
[container-sync]
|