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>
31 lines
1009 B
Django/Jinja
31 lines
1009 B
Django/Jinja
{
|
|
"command": "manila-share --config-file /etc/manila/manila.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/manila.conf",
|
|
"dest": "/etc/manila/manila.conf",
|
|
"owner": "manila",
|
|
"perm": "0600"
|
|
}{% if enable_manila_backend_cephfs_native | bool or enable_manila_backend_cephfs_nfs | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.*",
|
|
"dest": "/etc/ceph/",
|
|
"owner": "manila",
|
|
"perm": "0600"
|
|
}{% endif %}{% if manila_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ manila_policy_file }}",
|
|
"dest": "/etc/manila/{{ manila_policy_file }}",
|
|
"owner": "manila",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/manila",
|
|
"owner": "manila:manila",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|