1f929336e3
Introduce user modifiable variables instead of fixed-names of Ceph keyring files for external Ceph functionality. Change-Id: I1a33b3f9d6eca5babf53b91187461e43aef865ce
37 lines
1.2 KiB
Django/Jinja
37 lines
1.2 KiB
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.conf",
|
|
"dest": "/etc/ceph/ceph.conf",
|
|
"owner": "manila",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ ceph_manila_keyring }}",
|
|
"dest": "/etc/ceph/{{ ceph_manila_keyring }}",
|
|
"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
|
|
}
|
|
]
|
|
}
|