kolla-ansible/ansible/roles/glance/templates/glance-api.json.j2
Jeffrey Zhang 2828fe8c6b Fix glance upgrade permission issue
Change-Id: I8316310c13017b86eb13c3ffad260fecb0e7f61b
Partial-Bug: #1631503
2016-10-14 22:33:53 +08:00

32 lines
783 B
Django/Jinja

{
"command": "glance-api",
"config_files": [
{
"source": "{{ container_config_directory }}/glance-api.conf",
"dest": "/etc/glance/glance-api.conf",
"owner": "glance",
"perm": "0600"
}{% if glance_backend_ceph | bool %},
{
"source": "{{ container_config_directory }}/ceph.*",
"dest": "/etc/ceph/",
"owner": "glance",
"perm": "0700"
}
{% endif %}
],
"permissions": [
{
"path": "/var/lib/glance",
"owner": "glance:glance",
"recurse": true
},
{
"path": "/var/log/kolla/glance",
"owner": "glance:glance",
"recurse": true
}
]
}