aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud.j2.yaml
diff options
context:
space:
mode:
authorJames Slagle <jslagle@redhat.com>2017-04-20 15:45:49 -0400
committerJames Slagle <jslagle@redhat.com>2017-06-15 14:43:11 -0400
commitc8a266d99e4844c14526dccbad9ce3f48d8740a8 (patch)
treecc94f3675c3ce96768fbed386fba0ccc277d4f2f /overcloud.j2.yaml
parentd95394a01c47c46e8ffc3da5e9e4054ffffdc2ee (diff)
Add os-collect-config data as an output
Adds a new output, ServerOsCollectConfigData, which is the os-collect-config configuration associated with each server resource. This can be used to [pre]configure the os-collect-config agents on deployed-server's. Having the data available as a stack output is more user friendly than having to query several nested levels of stack resources, and then inspect resource metadata. implements blueprint split-stack-default Change-Id: Iaf062f1a72e2a9e4d97f84c67f72408a6b5cebfc Depends-On: I8acfd67cd8138d587cc362184c84a08134bf3157
Diffstat (limited to 'overcloud.j2.yaml')
-rw-r--r--overcloud.j2.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml
index c7db59f8..17bba6ba 100644
--- a/overcloud.j2.yaml
+++ b/overcloud.j2.yaml
@@ -741,6 +741,15 @@ resources:
{{role.name}}: {get_attr: [{{role.name}}ServiceChainRoleData, value]}
{% endfor %}
+ ServerOsCollectConfigData:
+ type: OS::Heat::Value
+ properties:
+ type: json
+ value:
+{% for role in roles %}
+ {{role.name}}: {get_attr: [{{role.name}}, attributes, os_collect_config]}
+{% endfor %}
+
outputs:
ManagedEndpoints:
description: Asserts that the keystone endpoints have been provisioned.
@@ -791,3 +800,9 @@ outputs:
{% for role in roles %}
{{role.name}}: {get_attr: [{{role.name}}NetworkHostnameMap, value]}
{% endfor %}
+ ServerOsCollectConfigData:
+ description: The os-collect-config configuration associated with each server resource
+ value:
+{% for role in roles %}
+ {{role.name}}: {get_attr: [{{role.name}}, attributes, os_collect_config]}
+{% endfor %}