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
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
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
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
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
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
The security group properties must be strings or we get validation
errors, and firewall-cmd rule addition should be permanent
Change-Id: Ia03947690ff8142b6e700c808a898283c7b8d095
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