diff options
author | Giulio Fidente <gfidente@redhat.com> | 2014-08-05 18:23:43 +0200 |
---|---|---|
committer | Giulio Fidente <gfidente@redhat.com> | 2014-08-05 18:23:43 +0200 |
commit | 115072f0f5dabbbcf43a8707280f0017926c2c19 (patch) | |
tree | f297eafbcb2e5b6816257b624220430e7d07238e | |
parent | 24bdc7380f87f6e99e84a4b7e161f07a87633dd3 (diff) |
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
-rw-r--r-- | overcloud-source.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml index d6f7eb34..467def4c 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -668,6 +668,30 @@ resources: - 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: controller0: list_join: - ' ' |