Use list_concat for metadata_settings for haproxy
Change-Id: Ia0e0a12e1863dce657d4e1c7f9894ea5bfd008be
This commit is contained in:
parent
386ac7791b
commit
15fa68c680
@ -1,4 +1,4 @@
|
||||
heat_template_version: ocata
|
||||
heat_template_version: pike
|
||||
|
||||
description: >
|
||||
HAproxy service configured with Puppet
|
||||
@ -96,8 +96,6 @@ outputs:
|
||||
when: haproxy_enabled.rc == 0
|
||||
service: name=haproxy state=started
|
||||
metadata_settings:
|
||||
yaql:
|
||||
expression: '[].concat(coalesce($.data.internal, []), coalesce($.data.public, []))'
|
||||
data:
|
||||
public: {get_attr: [HAProxyPublicTLS, role_data, metadata_settings]}
|
||||
internal: {get_attr: [HAProxyInternalTLS, role_data, metadata_settings]}
|
||||
list_concat:
|
||||
- {get_attr: [HAProxyPublicTLS, role_data, metadata_settings]}
|
||||
- {get_attr: [HAProxyInternalTLS, role_data, metadata_settings]}
|
||||
|
Loading…
Reference in New Issue
Block a user