Export global_config for compute-only stack

Change-Id: Ib52c8bec82158055f4dfd9c778c80bcbb3e80f89
This commit is contained in:
Oliver Walsh 2018-09-05 14:19:51 +01:00 committed by Martin Schuppert
parent 5137d4d02f
commit 8a0ddc7f09
1 changed files with 13 additions and 0 deletions

View File

@ -769,6 +769,16 @@ resources:
DeployIdentifier: {get_param: DeployIdentifier} DeployIdentifier: {get_param: DeployIdentifier}
UpdateIdentifier: {get_param: UpdateIdentifier} 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: MysqlRootPassword:
type: OS::TripleO::RandomString type: OS::TripleO::RandomString
properties: properties:
@ -1126,3 +1136,6 @@ outputs:
AllNodesConfig: AllNodesConfig:
description: The config (hieradata) for all nodes. description: The config (hieradata) for all nodes.
value: {get_attr: [allNodesConfig, all_nodes_config]} value: {get_attr: [allNodesConfig, all_nodes_config]}
GlobalConfig:
description: The global_config (hieradata).
value: {get_attr: [GlobalConfig, value]}