6b99f21341
- Barbican - Ceilometer - Cloudkitty - Congress - Designate This will copy only yaml or json policy file if they exist. Change-Id: Iaa19f64073d8bdee948bc2de58e095ca72afc092 Implements: blueprint support-custom-policy-yaml Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
41 lines
1.3 KiB
Django/Jinja
41 lines
1.3 KiB
Django/Jinja
{
|
|
"command": "uwsgi --master --emperor /etc/barbican/vassals --logto /var/log/kolla/barbican/barbican-api.log",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/barbican.conf",
|
|
"dest": "/etc/barbican/barbican.conf",
|
|
"owner": "barbican",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/vassals/barbican-api.ini",
|
|
"dest": "/etc/barbican/vassals/barbican-api.ini",
|
|
"owner": "barbican",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/barbican-api-paste.ini",
|
|
"dest": "/etc/barbican/barbican-api-paste.ini",
|
|
"owner": "barbican",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}{% if barbican_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ barbican_policy_file }}",
|
|
"dest": "/etc/barbican/{{ barbican_policy_file }}",
|
|
"owner": "barbican",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/barbican",
|
|
"owner": "barbican:barbican"
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/barbican",
|
|
"owner": "barbican:barbican"
|
|
}
|
|
]
|
|
}
|