[jjo] fix heat.conf encryption_key (lp#1368645) and auth_uri (lp#1368621)
This commit is contained in:
parent
6c65e761fb
commit
feb549985f
@ -43,6 +43,7 @@ def get_encryption_key():
|
|||||||
encryption = pwgen(16)
|
encryption = pwgen(16)
|
||||||
with open(encryption_path, 'w') as enc:
|
with open(encryption_path, 'w') as enc:
|
||||||
enc.write(encryption)
|
enc.write(encryption)
|
||||||
|
return encryption
|
||||||
|
|
||||||
|
|
||||||
class EncryptionContext(context.OSContextGenerator):
|
class EncryptionContext(context.OSContextGenerator):
|
||||||
|
@ -40,7 +40,7 @@ kombu_ssl_ca_certs = {{ rabbit_ssl_ca }}
|
|||||||
|
|
||||||
{% if auth_host -%}
|
{% if auth_host -%}
|
||||||
[keystone_authtoken]
|
[keystone_authtoken]
|
||||||
auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/
|
auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/v2.0
|
||||||
auth_host = {{ auth_host }}
|
auth_host = {{ auth_host }}
|
||||||
auth_port = {{ auth_port }}
|
auth_port = {{ auth_port }}
|
||||||
auth_protocol = {{ auth_protocol }}
|
auth_protocol = {{ auth_protocol }}
|
||||||
|
Loading…
Reference in New Issue
Block a user