~openstack-charmers-next/charms/wily/lxd/trunk

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/openstack/templates/section-keystone-authtoken

  • Committer: James Page
  • Date: 2016-02-25 16:35:49 UTC
  • mfrom: (50.1.1 trunk)
  • Revision ID: james.page@ubuntu.com-20160225163549-9owa4y2x6hbj3ysa
Resync helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% if auth_host -%}
 
2
{% if api_version == '3' -%}
 
3
[keystone_authtoken]
 
4
auth_url = {{ service_protocol }}://{{ service_host }}:{{ service_port }}
 
5
project_name = {{ admin_tenant_name }}
 
6
username = {{ admin_user }}
 
7
password = {{ admin_password }}
 
8
project_domain_name = default
 
9
user_domain_name = default
 
10
auth_plugin = password
 
11
{% else -%}
2
12
[keystone_authtoken]
3
13
identity_uri = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/{{ auth_admin_prefix }}
4
14
auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/{{ service_admin_prefix }}
7
17
admin_password = {{ admin_password }}
8
18
signing_dir = {{ signing_dir }}
9
19
{% endif -%}
 
20
{% endif -%}