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
729 B
Django/Jinja
25 lines
729 B
Django/Jinja
{
|
|
"command": "tacker-conductor --config-file /etc/tacker/tacker.conf",
|
|
"config_files":[
|
|
{
|
|
"source": "{{ container_config_directory }}/tacker.conf",
|
|
"dest": "/etc/tacker/tacker.conf",
|
|
"owner": "tacker",
|
|
"perm": "0600"
|
|
}{% if tacker_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ tacker_policy_file }}",
|
|
"dest": "/etc/tacker/{{ tacker_policy_file }}",
|
|
"owner": "tacker",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/tacker",
|
|
"owner": "tacker:tacker",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|