fdfefa9360
This will copy both of yaml or json policy file if it exists Change-Id: Ie5e03e0307d239f1079d2522e353367f7f954e77 Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
25 lines
667 B
Django/Jinja
25 lines
667 B
Django/Jinja
{
|
|
"command": "aodh-evaluator",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/aodh.conf",
|
|
"dest": "/etc/aodh/aodh.conf",
|
|
"owner": "aodh",
|
|
"perm": "0600"
|
|
}{% if aodh_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ aodh_policy_file }}",
|
|
"dest": "/etc/aodh/{{ aodh_policy_file }}",
|
|
"owner": "aodh",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/aodh",
|
|
"owner": "aodh:kolla",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|