775d8019b6
Include custom policy.json files in service-api.json.j2 files Change-Id: Ic55bfc6f61131aa72c3497ce8b2282056bcc7f92 Partially-Implements: blueprint custom-policies
37 lines
1.1 KiB
Django/Jinja
37 lines
1.1 KiB
Django/Jinja
{
|
|
"command": "swift-container-updater /etc/swift/container-updater.conf --verbose",
|
|
"config_files": [
|
|
{
|
|
"source": "/var/lib/kolla/swift/account.ring.gz",
|
|
"dest": "/etc/swift/account.ring.gz",
|
|
"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 }}/swift.conf",
|
|
"dest": "/etc/swift/swift.conf",
|
|
"owner": "swift",
|
|
"perm": "0640"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/container-updater.conf",
|
|
"dest": "/etc/swift/container-updater.conf",
|
|
"owner": "swift",
|
|
"perm": "0640"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/swift/policy.json",
|
|
"owner": "swift",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
]
|
|
}
|