tripleo-heat-templates/hosts-config.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

38 lines
933 B
YAML

heat_template_version: queens
description: 'All Hosts Config'
parameters:
hosts:
type: string
resources:
hostsConfigImpl:
type: OS::Heat::SoftwareConfig
properties:
group: script
inputs:
- name: hosts
default:
list_join:
- ' '
- str_split:
- '\n'
- {get_param: hosts}
config: {get_file: scripts/hosts-config.sh}
outputs:
config_id:
description: The ID of the hostsConfigImpl resource.
value:
{get_resource: hostsConfigImpl}
hosts_entries:
description: |
The content that should be appended to your /etc/hosts if you want to get
hostname-based access to the deployed nodes (useful for testing without
setting up a DNS).
value: {get_param: hosts}
OS::stack_id:
description: The ID of the hostsConfigImpl resource.
value: {get_resource: hostsConfigImpl}