tripleo-heat-templates/firstboot/userdata_default.yaml
Carlos Camacho 927495fe3d Change template names to queens
The new master branch should point now to queens instead of pike.

So, HOT templates should specify that they might contain features
for queens release [1]

[1]: https://docs.openstack.org/heat/latest/template_guide/hot_spec.html#queens

Change-Id: I7654d1c59db0c4508a9d7045f452612d22493004
2017-11-23 10:15:32 +01:00

21 lines
778 B
YAML

heat_template_version: queens
description: >
This is a default no-op template which provides empty user-data
which can be passed to the OS::Nova::Server resources.
This template can be replaced with a different implementation via
the resource registry, such that deployers may customize their
first-boot configuration.
resources:
userdata:
type: OS::Heat::MultipartMime
outputs:
# This means get_resource from the parent template will get the userdata, see:
# http://docs.openstack.org/developer/heat/template_guide/composition.html#making-your-template-resource-more-transparent
# Note this is new-for-kilo, an alternative is returning a value then using
# get_attr in the parent template instead.
OS::stack_id:
value: {get_resource: userdata}