Merge "Fix puppet/services/README.rst step description"
[apex-tripleo-heat-templates.git] / hosts-config.yaml
1 heat_template_version: 2016-10-14
2 description: 'All Hosts Config'
3
4 parameters:
5   hosts:
6     type: string
7
8 resources:
9
10   hostsConfigImpl:
11     type: OS::Heat::StructuredConfig
12     properties:
13       group: os-apply-config
14       config:
15         hosts: {get_param: hosts}
16
17 outputs:
18   config_id:
19     description: The ID of the hostsConfigImpl resource.
20     value:
21       {get_resource: hostsConfigImpl}
22   hosts_entries:
23     description: |
24       The content that should be appended to your /etc/hosts if you want to get
25       hostname-based access to the deployed nodes (useful for testing without
26       setting up a DNS).
27     value: {get_attr: [hostsConfigImpl, config, hosts]}