blob: b5a22b7f6ef2898d5c3a865cc237d77da44861f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
heat_template_version: 2016-10-14
description: 'All Hosts Config'
parameters:
hosts:
type: string
resources:
hostsConfigImpl:
type: OS::Heat::StructuredConfig
properties:
group: os-apply-config
config:
hosts: {get_param: hosts}
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_attr: [hostsConfigImpl, config, hosts]}
|