Merge "Add "address" to all services"

This commit is contained in:
Jenkins 2016-09-27 14:32:44 +00:00 committed by Gerrit Code Review
commit 796cc7d9a2
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ SECRET_KEY = "{{ horizon_secret_key }}"
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'memcached:{{ memcached_port }}',
'LOCATION': '{{ address("memcached") }}:{{ memcached_port }}',
},
}
@ -150,7 +150,7 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
# ('http://cluster2.example.com:5000/v2.0', 'cluster2'),
#]
OPENSTACK_HOST = "keystone"
OPENSTACK_HOST = "{{ address('keystone') }}"
OPENSTACK_KEYSTONE_URL = "http://%s:{{ keystone_public_port }}/v3" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"