35b165c5f1
- Heat - Ironic - Magum - Manila - Mistral This will copy only yaml or json policy file if they exist. Change-Id: I1ab71e2758dc99dd6654d433ece79600f0c44ce8 Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
25 lines
724 B
Django/Jinja
25 lines
724 B
Django/Jinja
{
|
|
"command": "magnum-api --config-file /etc/magnum/magnum.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/magnum.conf",
|
|
"dest": "/etc/magnum/magnum.conf",
|
|
"owner": "magnum",
|
|
"perm": "0600"
|
|
}{% if magnum_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ magnum_policy_file }}",
|
|
"dest": "/etc/magnum/{{ magnum_policy_file }}",
|
|
"owner": "magnum",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/magnum",
|
|
"owner": "magnum:magnum",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|