kolla-ansible/ansible/roles/swift/templates/swift-account-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
704 B
Django/Jinja

{
"command": "/usr/bin/swift-account-auditor /etc/swift/account-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/account.ring.gz",
"dest": "/etc/swift/account.ring.gz",
"owner": "swift",
"perm": "0640"
},
{
"source": "{{ container_config_directory }}/account-auditor.conf",
"dest": "/etc/swift/account-auditor.conf",
"owner": "swift",
"perm": "0640"
}
]
}