e846d48780
- Sahara - Searchlight - Senlin - Tacker This will copy only yaml or json policy file if they exist. Change-Id: I97c8bf300f14ae6d7c55c5f8962c5781cee2c40a Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
25 lines
727 B
Django/Jinja
25 lines
727 B
Django/Jinja
{
|
|
"command": "senlin-engine --config-file /etc/senlin/senlin.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/senlin.conf",
|
|
"dest": "/etc/senlin/senlin.conf",
|
|
"owner": "senlin",
|
|
"perm": "0600"
|
|
}{% if senlin_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ senlin_policy_file }}",
|
|
"dest": "/etc/senlin/{{ senlin_policy_file }}",
|
|
"owner": "senlin",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/senlin",
|
|
"owner": "senlin:senlin",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|