2015-09-03 15:44:31 +00:00
|
|
|
uid = swift
|
|
|
|
gid = swift
|
2017-04-18 09:10:44 +02:00
|
|
|
address = {{ api_interface_address }}
|
2015-09-03 15:44:31 +00:00
|
|
|
|
|
|
|
{% if inventory_hostname in groups['swift-account-server'] %}
|
|
|
|
[account]
|
|
|
|
max connections = 2
|
|
|
|
path = {{ swift_devices_mount_point }}
|
|
|
|
read only = false
|
|
|
|
lock file = /var/lock/account.lock
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if inventory_hostname in groups['swift-container-server'] %}
|
|
|
|
[container]
|
|
|
|
max connections = 4
|
|
|
|
path = {{ swift_devices_mount_point }}
|
|
|
|
read only = false
|
|
|
|
lock file = /var/lock/container.lock
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if inventory_hostname in groups['swift-object-server'] %}
|
|
|
|
[object]
|
|
|
|
max connections = 8
|
|
|
|
path = {{ swift_devices_mount_point }}
|
|
|
|
read only = false
|
|
|
|
lock file = /var/lock/object.lock
|
|
|
|
{% endif %}
|