tripleo-heat-templates/examples/scale_map_hot.yaml
Steve Baker 02772ba287 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
2014-08-04 08:57:52 +12:00

43 lines
1.3 KiB
YAML

heat_template_version: 2014-10-16
resources:
ComputeUser:
type: AWS::IAM::User
properties:
Policies: [ { get_param: ComputeAccessPolicy } ]
GlobalAccessPolicy:
type: OS::Heat::AccessPolicy
NovaCompute0Key:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0Key
NovaCompute0CompletionCondition:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0CompletionCondition
NovaCompute0CompletionHandle:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0CompletionHandle
NovaCompute0Config:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0Config
parameters:
AllHosts:
list_join:
- "\n"
- Merge::Map:
NovaCompute0:
list_join:
- ' '
- - {get_attr: [NovaCompute0, networks, ctlplane, 0]}
- {get_attr: [NovaCompute0, show, name]}
- list_join:
- '.'
- - {get_attr: [NovaCompute0, show, name]}
- 'local'
NovaCompute0:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0