From 8a0ddc7f0991f6138c44a840f9710c920f1ba0d5 Mon Sep 17 00:00:00 2001 From: Oliver Walsh Date: Wed, 5 Sep 2018 14:19:51 +0100 Subject: [PATCH] Export global_config for compute-only stack Change-Id: Ib52c8bec82158055f4dfd9c778c80bcbb3e80f89 --- overcloud.j2.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml index cc7c29b137..6f506e47e5 100644 --- a/overcloud.j2.yaml +++ b/overcloud.j2.yaml @@ -769,6 +769,16 @@ resources: DeployIdentifier: {get_param: DeployIdentifier} UpdateIdentifier: {get_param: UpdateIdentifier} + GlobalConfig: + type: OS::Heat::Value + properties: + type: json + value: + map_merge: +{% for role in roles %} + - get_attr: [{{role.name}}ServiceChainRoleData, value, global_config_settings] +{% endfor %} + MysqlRootPassword: type: OS::TripleO::RandomString properties: @@ -1126,3 +1136,6 @@ outputs: AllNodesConfig: description: The config (hieradata) for all nodes. value: {get_attr: [allNodesConfig, all_nodes_config]} + GlobalConfig: + description: The global_config (hieradata). + value: {get_attr: [GlobalConfig, value]}