charm-layer-openstack/templates/parts/section-placement
Corey Bryant c44ae96eff Add section-placement
The placement config may be useful among more than one charm as
more services start to use the placement service. This patch adds
a single source of placement sectional config.

Change-Id: Id99e750f7b43dd0c893790eaa6fb79f7ce064f12
Related-Bug: 1850691
2019-10-31 18:50:23 +00:00

15 lines
628 B
Plaintext

[placement]
{% if identity_credentials.auth_host -%}
auth_url = {{ identity_credentials.auth_protocol }}://{{ identity_credentials.auth_host }}:{{ identity_credentials.auth_port }}
auth_type = password
project_domain_name = {{ identity_credentials.credentials_project_domain_name }}
user_domain_name = {{ identity_credentials.credentials_user_domain_name }}
project_name = services
username = {{ identity_credentials.credentials_username }}
password = {{ identity_credentials.credentials_password }}
{% endif -%}
{% if options.region -%}
os_region_name = {{ options.region }}
{% endif -%}
randomize_allocation_candidates = true