d77930373e
- Keystone - Glance - Nova - Cinder This will copy only yaml or json policy file if they exist. Change-Id: I4a9415d82322aed68c9b7650bdf346f58fa49e2a Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
42 lines
1.3 KiB
Django/Jinja
42 lines
1.3 KiB
Django/Jinja
{
|
|
"command": "nova-compute",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/nova.conf",
|
|
"dest": "/etc/nova/nova.conf",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% if nova_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ nova_policy_file }}",
|
|
"dest": "/etc/nova/{{ nova_policy_file }}",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% endif %}{% if nova_backend == "rbd" %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.*",
|
|
"dest": "/etc/ceph/",
|
|
"owner": "nova",
|
|
"perm": "0700"
|
|
}{% endif %}{% if nova_compute_virt_type == "vmware" and not vmware_vcenter_insecure | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/vmware_ca",
|
|
"dest": "/etc/nova/vmware_ca",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/nova",
|
|
"owner": "nova:nova",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/lib/nova",
|
|
"owner": "nova:nova",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|