aboutsummaryrefslogtreecommitdiffstats
path: root/undercloud-source.yaml
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2014-05-28 16:26:21 +1200
committerRobert Collins <rbtcollins@hp.com>2014-05-28 18:52:18 +1200
commit8c39eda54cae72049f06ada726c13cfe115268a9 (patch)
treef5dbd6086ca5342df4f04eb5c1edcfdbf91845ad /undercloud-source.yaml
parent9b7099a4b49cf68caa2ea54ef9d02a1ad640b257 (diff)
Export new bootstack keys for cluster init.
These provide a single consistent interface for checking whether a given node is the bootstrap node, or not the bootstrap node for database initialisation etc. Change-Id: I7c5a09cb3477b61c4050e4a47a680ffc9aee97d8
Diffstat (limited to 'undercloud-source.yaml')
-rw-r--r--undercloud-source.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/undercloud-source.yaml b/undercloud-source.yaml
index 3cddb262..dd5d3855 100644
--- a/undercloud-source.yaml
+++ b/undercloud-source.yaml
@@ -154,6 +154,25 @@ Resources:
Ref: AdminPassword
admin-token:
Ref: AdminToken
+ bootstack:
+ bootstrap_nodeid:
+ Fn::Select:
+ - 0
+ - Fn::Select:
+ - 0
+ - Merge::Map:
+ undercloud:
+ - Fn::Select:
+ - name
+ - Fn::GetAtt:
+ - undercloud
+ - show
+ nodeid:
+ Fn::Select:
+ - name
+ - Fn::GetAtt:
+ - undercloud
+ - show
controller-address:
Fn::Select:
- 0