summaryrefslogtreecommitdiffstats
path: root/examples/scale1_hot.yaml
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2014-07-08 12:14:28 +1200
committerSteve Baker <sbaker@redhat.com>2014-08-01 10:49:59 +1200
commitd1d829e6aceba61532041d8499dc4ffd8055fbc2 (patch)
tree17cc9b01eaca65d8c85df9f9acea2f4d3c54bf3f /examples/scale1_hot.yaml
parent998c5dda9c6d3ddf0f654c71d4c172b7b6dd3e59 (diff)
merge.py --hot to process and generate HOT
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
Diffstat (limited to 'examples/scale1_hot.yaml')
-rw-r--r--examples/scale1_hot.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/scale1_hot.yaml b/examples/scale1_hot.yaml
new file mode 100644
index 00000000..5597bbbf
--- /dev/null
+++ b/examples/scale1_hot.yaml
@@ -0,0 +1,32 @@
+heat_template_version: 2013-05-23
+resources:
+ ComputeUser:
+ type: AWS::IAM::User
+ properties:
+ Policies: [ { get_param: ComputeAccessPolicy } ]
+ GlobalAccessPolicy:
+ type: OS::Heat::AccessPolicy
+ NovaCompute0Key:
+ type: FileInclude
+ Path: examples/scale2_hot.yaml
+ SubKey: resources.NovaCompute0Key
+ NovaCompute0CompletionCondition:
+ type: FileInclude
+ Path: examples/scale2_hot.yaml
+ SubKey: resources.NovaCompute0CompletionCondition
+ NovaCompute0CompletionHandle:
+ type: FileInclude
+ Path: examples/scale2_hot.yaml
+ SubKey: resources.NovaCompute0CompletionHandle
+ NovaCompute0Config:
+ type: FileInclude
+ Path: examples/scale2_hot.yaml
+ SubKey: resources.NovaCompute0Config
+ parameters:
+ ComputeImage: "123"
+ RabbitUserName: "guest"
+ RabbitPassword: "guest"
+ NovaCompute0:
+ type: FileInclude
+ Path: examples/scale2_hot.yaml
+ SubKey: resources.NovaCompute0