kolla-ansible/ansible/roles/swift/templates/swift-container-auditor.json.j2
Paul Bourke 71fbf63c88 Swift JSON files looking for rings in the wrong place
For Swift, the *.json.j2 templates are looking under
{{ container_config_directory }} whereas they need to be looking in the
common location for swift which is /var/lib/kolla/swift

Change-Id: I6f0dcbc9a705b36d1d98275ba9ebc56404fe882d
backport: liberty
Closes-Bug: #1504210
2015-10-08 17:08:56 +00:00

24 lines
716 B
Django/Jinja

{
"command": "/usr/bin/swift-container-auditor /etc/swift/container-auditor.conf --verbose",
"config_files": [
{
"source": "/var/lib/kolla/swift/swift.conf",
"dest": "/etc/swift/swift.conf",
"owner": "swift",
"perm": "0640"
},
{
"source": "/var/lib/kolla/swift/container.ring.gz",
"dest": "/etc/swift/container.ring.gz",
"owner": "swift",
"perm": "0640"
},
{
"source": "{{ container_config_directory }}/container-auditor.conf",
"dest": "/etc/swift/container-auditor.conf",
"owner": "swift",
"perm": "0640"
}
]
}