summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Reshetnyak <sreshetniak@mirantis.com>2017-02-13 13:20:02 +0300
committerSergey Reshetnyak <sreshetniak@mirantis.com>2017-02-13 13:30:20 +0300
commitf042f50c0e48defba915ccbe25e1848792a4e1ab (patch)
treec8dbcf0362efe32197a6cc4a397fbd43208616ae
parentc236b0776b61562045d91ba907c278725e19aec0 (diff)
Add keystone_authtoken macros
Notes
Notes (review): Verified+1: Mirantis CCP CI <mirantis-fuel-ccp-ci@mirantis.com> Code-Review+2: Proskurin Kirill <kproskurin@mirantis.com> Code-Review+2: Andrey Pavlov <apavlov@mirantis.com> Workflow+1: Andrey Pavlov <apavlov@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 14 Feb 2017 10:55:16 +0000 Reviewed-on: https://review.openstack.org/432959 Project: openstack/fuel-ccp-keystone Branch: refs/heads/master
-rw-r--r--exports/keystone_authtoken.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/exports/keystone_authtoken.j2 b/exports/keystone_authtoken.j2
new file mode 100644
index 0000000..219232d
--- /dev/null
+++ b/exports/keystone_authtoken.j2
@@ -0,0 +1,12 @@
1{% macro keystone_authtoken(username, password) -%}
2[keystone_authtoken]
3auth_uri = {{ address("keystone", keystone.public_port, with_scheme=True) }}
4auth_url = {{ address("keystone", keystone.admin_port, with_scheme=True) }}
5auth_type = password
6project_domain_name = {{ service_account.domain }}
7user_domain_name = {{ service_account.domain }}
8project_name = {{ service_account.project }}
9username = {{ username }}
10password = {{ password }}
11memcached_servers = {{ address("memcached", memcached.port) }}
12{%- endmacro %}