ed2fd243d1
Because kolla-ansible not have cyborg so should add it. Implements: blueprint add-cyborg-to-kolla-ansible Depend-On: I497e67e3a754fccfd2ef5a82f13ccfaf890a6fcd Change-Id: I6f7ae86f855c5c64697607356d0ff3161f91b239
31 lines
924 B
Django/Jinja
31 lines
924 B
Django/Jinja
{
|
|
"command": "cyborg-api --config-file /etc/cyborg/cyborg.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/cyborg.conf",
|
|
"dest": "/etc/cyborg/cyborg.conf",
|
|
"owner": "cyborg",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/api-paste.ini",
|
|
"dest": "/etc/cyborg/api-paste.ini",
|
|
"owner": "cyborg",
|
|
"perm": "0600"
|
|
}{% if cyborg_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ cyborg_policy_file }}",
|
|
"dest": "/etc/cyborg/{{ cyborg_policy_file }}",
|
|
"owner": "cyborg",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/cyborg",
|
|
"owner": "cyborg:cyborg",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|