Use "address" func when it's possible
Change-Id: I8c311a496830a7890cef6ad854bb1770ae2eb3b5
This commit is contained in:
parent
f1b3aceed7
commit
0bdba8b650
|
@ -127,7 +127,7 @@ SECRET_KEY = "{{ horizon.secret_key }}"
|
|||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
||||
'LOCATION': '{{ address("memcached") }}:{{ memcached.port.cont }}',
|
||||
'LOCATION': '{{ address("memcached", memcached.port) }}',
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -149,7 +149,7 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
|||
#]
|
||||
|
||||
OPENSTACK_HOST = "{{ address('keystone') }}"
|
||||
OPENSTACK_KEYSTONE_URL = "http://%s:{{ keystone.public_port.cont }}/v3" % OPENSTACK_HOST
|
||||
OPENSTACK_KEYSTONE_URL = "{{ address('keystone', keystone.public_port, with_scheme=True) }}/v3"
|
||||
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"
|
||||
|
||||
# Enables keystone web single-sign-on if set to True.
|
||||
|
|
Loading…
Reference in New Issue