From 115072f0f5dabbbcf43a8707280f0017926c2c19 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Tue, 5 Aug 2014 18:23:43 +0200 Subject: Add BlockStorage and SwiftStorage nodes into hosts With this we populate the hosts key (needed for /etc/hosts editing) with the BlockStorage and SwiftStorage nodes too. Change-Id: I6730ffe1e27d952d563c16a9480298fbef9f61fe --- overcloud-source.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/overcloud-source.yaml b/overcloud-source.yaml index d6f7eb34..467def4c 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -665,6 +665,30 @@ resources: - '.' - - {get_attr: [NovaCompute0, show, name]} - 'novalocal' + - list_join: + - "\n" + - Merge::Map: + BlockStorage0: + list_join: + - ' ' + - - {get_attr: [BlockStorage0, networks, ctlplane, 0]} + - {get_attr: [BlockStorage0, show, name]} + - list_join: + - '.' + - - {get_attr: [BlockStorage0, show, name]} + - 'novalocal' + - list_join: + - "\n" + - Merge::Map: + SwiftStorage0: + list_join: + - ' ' + - - {get_attr: [SwiftStorage0, networks, ctlplane, 0]} + - {get_attr: [SwiftStorage0, show, name]} + - list_join: + - '.' + - - {get_attr: [SwiftStorage0, show, name]} + - 'novalocal' - list_join: - "\n" - Merge::Map: -- cgit 1.2.3-korg