Merge "Use list_concat for metadata_settings for haproxy"

This commit is contained in:
Jenkins 2017-05-02 17:58:01 +00:00 committed by Gerrit Code Review
commit b36b86d8cd
1 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
heat_template_version: ocata heat_template_version: pike
description: > description: >
HAproxy service configured with Puppet HAproxy service configured with Puppet
@ -96,8 +96,6 @@ outputs:
when: haproxy_enabled.rc == 0 when: haproxy_enabled.rc == 0
service: name=haproxy state=started service: name=haproxy state=started
metadata_settings: metadata_settings:
yaql: list_concat:
expression: '[].concat(coalesce($.data.internal, []), coalesce($.data.public, []))' - {get_attr: [HAProxyPublicTLS, role_data, metadata_settings]}
data: - {get_attr: [HAProxyInternalTLS, role_data, metadata_settings]}
public: {get_attr: [HAProxyPublicTLS, role_data, metadata_settings]}
internal: {get_attr: [HAProxyInternalTLS, role_data, metadata_settings]}