d1d829e6ac
This adds a --hot flag to merge.py which will assume source templates are in the HOT format, and generate a HOT template artifact. Tests have also been ported to HOT, along with some minor corrections to the existing tests to make the source and result templates valid heat templates. Partial-Blueprint: tripleo-juno-remove-mergepy Change-Id: If18ff79f89456123c884a1ab2f910ce4cc9a6e0b
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
HeatTemplateFormatVersion: '2012-12-12'
|
|
Resources:
|
|
ComputeUser:
|
|
Type: AWS::IAM::User
|
|
Properties:
|
|
Policies: [ { Ref: ComputeAccessPolicy } ]
|
|
GlobalAccessPolicy:
|
|
Type: OS::Heat::AccessPolicy
|
|
NovaCompute0Key:
|
|
Type: FileInclude
|
|
Path: examples/scale_map2.yaml
|
|
SubKey: Resources.NovaCompute0Key
|
|
NovaCompute0CompletionCondition:
|
|
Type: FileInclude
|
|
Path: examples/scale_map2.yaml
|
|
SubKey: Resources.NovaCompute0CompletionCondition
|
|
NovaCompute0CompletionHandle:
|
|
Type: FileInclude
|
|
Path: examples/scale_map2.yaml
|
|
SubKey: Resources.NovaCompute0CompletionHandle
|
|
NovaCompute0Config:
|
|
Type: FileInclude
|
|
Path: examples/scale_map2.yaml
|
|
SubKey: Resources.NovaCompute0Config
|
|
Parameters:
|
|
AllHosts:
|
|
Fn::Join:
|
|
- "\n"
|
|
- Merge::Map:
|
|
NovaCompute0:
|
|
Fn::Join:
|
|
- ' '
|
|
- - Fn::Select:
|
|
- 0
|
|
- Fn::Select:
|
|
- ctlplane
|
|
- Fn::GetAtt:
|
|
- NovaCompute0
|
|
- networks
|
|
- Fn::Select:
|
|
- name
|
|
- Fn::GetAtt:
|
|
- NovaCompute0
|
|
- show
|
|
- Fn::Join:
|
|
- '.'
|
|
- - Fn::Select:
|
|
- name
|
|
- Fn::GetAtt:
|
|
- NovaCompute0
|
|
- show
|
|
- 'local'
|
|
NovaCompute0:
|
|
Type: FileInclude
|
|
Path: examples/scale_map2.yaml
|
|
SubKey: Resources.NovaCompute0
|