diff options
author | Roman Podolyaka <rpodolyaka@mirantis.com> | 2013-10-11 17:54:09 +0300 |
---|---|---|
committer | Roman Podolyaka <rpodolyaka@mirantis.com> | 2013-10-14 15:30:24 +0300 |
commit | fcbead3871c995f4da423c9fffe9ed444407a5ce (patch) | |
tree | 0b6a1222459f541a5ac6671831bd07f7db52ff46 /examples/launchconfig2.yaml | |
parent | 8e36320284dc2cce39a521d1723082dd75f94f39 (diff) |
Make LaunchConfiguration resources mergeable
This can be very useful for merging of Metadata to be used
by optional services (e. g. to add services like tuskar to
undercloud on demand).
Change-Id: Ifc4016d6e994064c0772c12e668e98bf055fada9
Diffstat (limited to 'examples/launchconfig2.yaml')
-rw-r--r-- | examples/launchconfig2.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/launchconfig2.yaml b/examples/launchconfig2.yaml new file mode 100644 index 00000000..1681637b --- /dev/null +++ b/examples/launchconfig2.yaml @@ -0,0 +1,19 @@ +Parameters: + C: + Type: String + Default: test3 + resource2Image: + Type: String + Default: resource2 +Resources: + notcomputeConfigMixin: + Type: AWS::AutoScaling::LaunchConfiguration + Metadata: + OpenStack::Role: notcomputeConfig + c: {Ref: C} + resource2: + Type: OS::Nova::Server + Properties: + flavor: test_flavor + image: {Ref: resource2Image} + key_name: test_key |