Browse Source

Export global_config for compute-only stack

Change-Id: Ib52c8bec82158055f4dfd9c778c80bcbb3e80f89
Oliver Walsh 7 months ago
parent
commit
8a0ddc7f09
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      overcloud.j2.yaml

+ 13
- 0
overcloud.j2.yaml View File

@@ -769,6 +769,16 @@ resources:
769 769
       DeployIdentifier: {get_param: DeployIdentifier}
770 770
       UpdateIdentifier: {get_param: UpdateIdentifier}
771 771
 
772
+  GlobalConfig:
773
+    type: OS::Heat::Value
774
+    properties:
775
+      type: json
776
+      value:
777
+        map_merge:
778
+{% for role in roles %}
779
+          - get_attr: [{{role.name}}ServiceChainRoleData, value, global_config_settings]
780
+{% endfor %}
781
+
772 782
   MysqlRootPassword:
773 783
     type: OS::TripleO::RandomString
774 784
     properties:
@@ -1126,3 +1136,6 @@ outputs:
1126 1136
   AllNodesConfig:
1127 1137
     description: The config (hieradata) for all nodes.
1128 1138
     value: {get_attr: [allNodesConfig, all_nodes_config]}
1139
+  GlobalConfig:
1140
+    description: The global_config (hieradata).
1141
+    value: {get_attr: [GlobalConfig, value]}

Loading…
Cancel
Save