Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / hosts-config.yaml
1 heat_template_version: pike
2 description: 'All Hosts Config'
3
4 parameters:
5   hosts:
6     type: string
7
8 resources:
9
10   hostsConfigImpl:
11     type: OS::Heat::SoftwareConfig
12     properties:
13       group: script
14       inputs:
15         - name: hosts
16           default:
17             list_join:
18               - ' '
19               - str_split:
20                 - '\n'
21                 - {get_param: hosts}
22       config: {get_file: scripts/hosts-config.sh}
23
24 outputs:
25   config_id:
26     description: The ID of the hostsConfigImpl resource.
27     value:
28       {get_resource: hostsConfigImpl}
29   hosts_entries:
30     description: |
31       The content that should be appended to your /etc/hosts if you want to get
32       hostname-based access to the deployed nodes (useful for testing without
33       setting up a DNS).
34     value: {get_param: hosts}
35   OS::stack_id:
36     description: The ID of the hostsConfigImpl resource.
37     value: {get_resource: hostsConfigImpl}