diff options
author | 2014-07-18 12:55:31 +1200 | |
---|---|---|
committer | 2014-08-04 08:57:52 +1200 | |
commit | 02772ba2877b9f6d427c6fd760bf19d6334c68a8 (patch) | |
tree | 7245a75828129f9eba3812e6053afe5af6ffdf68 /swift-storage-source.yaml | |
parent | beca15dec5265783047d5df210b270ed3d77dd4b (diff) |
Convert Fn::Select to extended get_attr
Overcloud bootstrap_nodeid is now specified by parameter
BootStrapNodeResource with default value controller0.
This avoids the need to use Fn::Select on the mergy.py
built list of controllers to specify the first controller.
Change-Id: Id9cfeab50b90ceeeae51ea0e35997b7495b28cc4
Partial-Blueprint: tripleo-juno-remove-mergepy
Diffstat (limited to 'swift-storage-source.yaml')
-rw-r--r-- | swift-storage-source.yaml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/swift-storage-source.yaml b/swift-storage-source.yaml index 92bcf273..d6539663 100644 --- a/swift-storage-source.yaml +++ b/swift-storage-source.yaml @@ -35,7 +35,7 @@ resources: config: {get_resource: SwiftKeystoneConfig} signal_transport: NO_SIGNAL input_values: - keystone_host: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {get_attr: [controller0, networks]} ]} ] } + keystone_host: {get_attr: [controller0, networks, ctlplane, 0]} SwiftStorage0Deploy: type: OS::Heat::StructuredDeployment properties: @@ -43,7 +43,7 @@ resources: config: {get_resource: SwiftConfig} signal_transport: NO_SIGNAL input_values: - neutron_local_ip: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {get_attr: [SwiftStorage0, networks]} ]} ] } + neutron_local_ip: {get_attr: [SwiftStorage0, networks, ctlplane, 0]} swift_hash_suffix: {get_param: SwiftHashSuffix} swift_password: {get_param: SwiftPassword} swift_devices: @@ -54,19 +54,13 @@ resources: list_join: - '' - - 'r1z1-' - - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {get_attr: [controller0, networks]} ]} ] } + - {get_attr: [controller0, networks, ctlplane, 0]} - ':%PORT%/d1' SwiftStorage0: list_join: - '' - - 'r1z1-' - - Fn::Select: - - 0 - - Fn::Select: - - 'ctlplane' - - get_attr: - - SwiftStorage0 - - networks + - {get_attr: [SwiftStorage0, networks, ctlplane, 0]} - ':%PORT%/d1' swift_proxy_memcache: list_join: @@ -77,5 +71,5 @@ resources: - ', ' - - list_join: - '' - - - {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {get_attr: [controller0, networks]} ]} ] } + - - {get_attr: [controller0, networks, ctlplane, 0]} - ':11211' |