openstack-ansible-os_glance/templates/glance-swift-store.conf.j2
Jesse Pretorius b3f1225375 Adjust Glance/Swift backend configuration
As per [1] The way of configuring a Swift back-end for Glance
has changed. This change has been done in such a way that when
using Keystone v3 for authentication, the current configuraiton
method breaks.

This patch adjusts the way the configuration is done in order
to achieve the same result as before - a single working Swift
backend for Glance if the deployment opts to use Swift as a
backend.

[1] http://docs.openstack.org/developer/glance/configuring.html#configuring-swift-configuration-file

Change-Id: I02b69cf5985e8788513db58f7e8015f8135b9d58
Closes-Bug: #1561947
2016-03-30 13:13:58 +01:00

10 lines
326 B
Django/Jinja

# {{ ansible_managed }}
[swift1]
user = {{ glance_swift_store_user }}
key = {{ glance_swift_store_key }}
user_domain_id = {{ glance_swift_store_user_domain }}
project_domain_id = {{ glance_swift_store_project_domain }}
auth_version = {{ glance_swift_store_auth_version }}
auth_address = {{ glance_swift_store_auth_address }}