775d8019b6
Include custom policy.json files in service-api.json.j2 files Change-Id: Ic55bfc6f61131aa72c3497ce8b2282056bcc7f92 Partially-Implements: blueprint custom-policies
43 lines
1.3 KiB
Django/Jinja
43 lines
1.3 KiB
Django/Jinja
{
|
|
"command": "swift-object-expirer /etc/swift/object-expirer.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": "/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-expirer.conf",
|
|
"dest": "/etc/swift/object-expirer.conf",
|
|
"owner": "swift",
|
|
"perm": "0640"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/swift/policy.json",
|
|
"owner": "swift",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
]
|
|
}
|