Merge "Add keystone_authtoken macros"

This commit is contained in:
Jenkins 2017-02-14 10:55:16 +00:00 committed by Gerrit Code Review
commit 8e43e6445b
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{% macro keystone_authtoken(username, password) -%}
[keystone_authtoken]
auth_uri = {{ address("keystone", keystone.public_port, with_scheme=True) }}
auth_url = {{ address("keystone", keystone.admin_port, with_scheme=True) }}
auth_type = password
project_domain_name = {{ service_account.domain }}
user_domain_name = {{ service_account.domain }}
project_name = {{ service_account.project }}
username = {{ username }}
password = {{ password }}
memcached_servers = {{ address("memcached", memcached.port) }}
{%- endmacro %}