12 Commits

Author SHA1 Message Date
Adrien Vergé
2a2fe91602 Fix linting errors in YAML
This change corrects many problems detected by the `yamllint` linter.
It's a preparation for enabling this linter in change
Ie746230f28fe3ed0cf218201d5a3810f7bc44070.

For instance, the first run of the YAML linter helped discovering a key
duplication problem in `oso_ha.yaml`: the `depends_on` key was present
twice, so the first occurence was ignored.

Other changes are cosmetic: extra spaces, extra blank lines, missing
newlines at end-of-file, etc.

Change-Id: I7f2369adfb152fd2a74b9b105e969e653e592922
2016-03-11 14:57:38 +01:00
Thomas Herve
a5b325551d Fix improper keys in HOT templates
We've been doing stronger validation nowadays and several templates are
container upper-case keys that don't validate anymore. This patch fixes
them.

Change-Id: I791195104484fa17096d6b7833387ef2d3f9acc0
2014-03-27 16:19:46 +01:00
Zane Bitter
dfad1beddf Fix incorrect HOT Parameter types
Only types with lowercase names are valid in HOT.

Change-Id: I60ca2404436e20461e5b38166e440cd41b8f947b
2014-01-29 16:16:12 -05:00
Zane Bitter
6978327789 Run dos2unix over template files
Remove DOS line-endings (CRLF) from templates.

Change-Id: I667e7d5a7ace744949e8b7acf0060381c21a0775
2014-01-29 16:15:03 -05:00
Thomas Spatzier
f30713405b Remove AWS style syntax from HOT templates
This patch removed AWS style syntax from samples in the heat-templates
repository to not advocate their use in future HOT templates.

The current HOT template parser in the engine uses a camel case to snake case
conversion but this is going to be removed in favor of strict HOT keyword
checking. Therefore, we do not want to advocate syntax in HOT templates that
will break in the future.

Change-Id: I2aab31b64c863d2a62d3c7e57c0fb983419c3186
2013-10-22 10:13:22 +02:00
Jenkins
b939ea90f0 Merge "Add NovaInstanceWithCinderVolume_Native F18 HOT template." 2013-10-02 19:45:18 +00:00
Jenkins
9b9178df1b Merge "Adapt WordPress_NoKey to changes in str_replace" 2013-09-30 19:35:00 +00:00
Sahdev Zala
bee6d663db Add NovaInstanceWithCinderVolume_Native F18 HOT template.
A template showing how to create a Nova instance, a Cinder volume and attach
the volume to the instance using Cinder VolumeAttachment.
The template uses only Heat OpenStack native resource types.

Change-Id: I07459a76a4ae859e53185c273d1f20a3985cc74d
2013-09-27 09:43:11 -05:00
Steven Hardy
623ee7fa04 Add Wordpress_Native F18 HOT example
Add an example of using the native OS::Nova::Server resource,
also this example does not require heat-cfntools, we just use
cloud-init to run the user_data script

Change-Id: I799f790b4428373f43e91b27df3b3cb9ddae149e
2013-09-26 11:25:18 +01:00
Thomas Spatzier
5d603d892b Adapt WordPress_NoKey to changes in str_replace
Adapt naming of parameters to the str_replace function to implementation
changes in that function so the replacement works correctly. The following
change introduces exact string matching, so we have to change from the
previous python string template based notation:

https://review.openstack.org/#/c/47772

Note: the change to the HOT template depends on the change above being
merged (or gets necessary as soon as this change is merged).

Change-Id: I229bee76771b0b0f691943f9fa8ceaa8393de781
Closes-Bug: #1229741
2013-09-25 09:07:40 +02:00
Steven Hardy
223b6b3b3b F18 WordPress_NoKey fixes
The security group properties must be strings or we get validation
errors, and firewall-cmd rule addition should be permanent

Change-Id: Ia03947690ff8142b6e700c808a898283c7b8d095
2013-09-18 14:28:30 +01:00
Thomas Spatzier
468fc4fdb9 Adding HOT WordPress_NoKey sample
Adding WordPress_NoKey sample for F18 based on the same
CFN sample.
The HOT sample uses a new function str_replace to simplify the definition
of the instance init script. More cleanup can be done as soon as the
native compute instance resource becomes available.

Note: the new sample depends on change https://review.openstack.org/41461
in the heat github repository for processing the str_replace function.

Change-Id: Idc1986b0cca08d094079b83653967bba14d07a7b
2013-08-14 07:31:32 +02:00