2019-09-11 20:47:00 +02:00
|
|
|
address = {{ 'swift_replication' | kolla_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
|
2017-11-24 14:28:30 +00:00
|
|
|
use chroot = no
|
|
|
|
lock file = /var/lib/swift/lock/account.lock
|
2015-09-03 15:44:31 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if inventory_hostname in groups['swift-container-server'] %}
|
|
|
|
[container]
|
|
|
|
max connections = 4
|
|
|
|
path = {{ swift_devices_mount_point }}
|
|
|
|
read only = false
|
2017-11-24 14:28:30 +00:00
|
|
|
use chroot = no
|
|
|
|
lock file = /var/lib/swift/lock/container.lock
|
2015-09-03 15:44:31 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if inventory_hostname in groups['swift-object-server'] %}
|
|
|
|
[object]
|
|
|
|
max connections = 8
|
|
|
|
path = {{ swift_devices_mount_point }}
|
|
|
|
read only = false
|
2017-11-24 14:28:30 +00:00
|
|
|
use chroot = no
|
|
|
|
lock file = /var/lib/swift/lock/object.lock
|
2015-09-03 15:44:31 +00:00
|
|
|
{% endif %}
|