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-object-auditor /etc/swift/object-auditor.conf --verbose",
|
|
"config_files": [
|
|
{
|
|
"source": "/var/lib/kolla/swift/container.ring.gz",
|
|
"dest": "/etc/swift/container.ring.gz",
|
|
"owner": "swift",
|
|
"perm": "0640"
|
|
},
|
|
{
|
|
"source": "/var/lib/kolla/swift/object.ring.gz",
|
|
"dest": "/etc/swift/object.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 }}/object-auditor.conf",
|
|
"dest": "/etc/swift/object-auditor.conf",
|
|
"owner": "swift",
|
|
"perm": "0640"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/swift/policy.json",
|
|
"owner": "swift",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
]
|
|
}
|