deb-murano/meta/io.murano/Classes/resources/HeatSWConfigLinuxInstance.yaml
Steve McLellan 99e10a8513 Add 'userdata_format' to Server heat template
In order to pass raw userdata or heat software config resources to an
instance it's necessary to tell Heat what to expect. This patch adds
user_data_format defaulting to HEAT_CFNTOOLS (Heat's default) and a
function allowing it to be overriden (to RAW or SOFTWARE_CONFIG).

Derived classes should override user_data_format as part of
prepareUserData which is now expected to return a dictionary whose
keys are [data, format]. A class HeatSWConfigInstance extends
Instance to add this; a HeatSWConfigLinuxInstance is provided
as a convenience (heat SW + SSH access).

Change-Id: I59f66d42742bf179e7fa1de3cd5de07dbf9fb42b
2014-07-10 13:46:34 -05:00

12 lines
165 B
YAML

Namespaces:
=: io.murano.resources
sys: io.murano.system
std: io.murano
Name: HeatSWConfigLinuxInstance
Extends:
- LinuxInstance
- HeatSWConfigInstance