de54518b34
- Vitrage - Watcher - Zun This will copy only yaml or json policy file if they exist. Change-Id: I913b3b067237cc4694894cc00bcc363127dd3806 Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
25 lines
685 B
Django/Jinja
25 lines
685 B
Django/Jinja
{
|
|
"command": "zun-compute --config-file /etc/zun/zun.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/zun.conf",
|
|
"dest": "/etc/zun/zun.conf",
|
|
"owner": "zun",
|
|
"perm": "0600"
|
|
}{% if zun_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ zun_policy_file }}",
|
|
"dest": "/etc/zun/{{ zun_policy_file }}",
|
|
"owner": "zun",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/zun",
|
|
"owner": "zun:kolla",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|