Add support for Neutron l3_ha option in puppet templates
[apex-tripleo-heat-templates.git] / puppet / all-nodes-config.yaml
1 heat_template_version: 2014-10-16
2 description: 'All Nodes Config for Puppet'
3
4 parameters:
5   compute_hosts:
6     type: comma_delimited_list
7   controller_hosts:
8     type: comma_delimited_list
9   block_storage_hosts:
10     type: comma_delimited_list
11   object_storage_hosts:
12     type: comma_delimited_list
13   ceph_storage_hosts:
14     type: comma_delimited_list
15   controller_names:
16     type: comma_delimited_list
17
18 resources:
19
20   allNodesConfigImpl:
21     type: OS::Heat::StructuredConfig
22     properties:
23       config:
24         completion-signal: {get_input: deploy_signal_id}
25         hosts:
26           list_join:
27           - "\n"
28           - - list_join:
29               - "\n"
30               - {get_param: compute_hosts}
31             - list_join:
32               - "\n"
33               - {get_param: controller_hosts}
34             - list_join:
35               - "\n"
36               - {get_param: block_storage_hosts}
37             - list_join:
38               - "\n"
39               - {get_param: object_storage_hosts}
40             - list_join:
41               - "\n"
42               - {get_param: ceph_storage_hosts}
43         sysctl:
44           net.ipv4.tcp_keepalive_time: 5
45           net.ipv4.tcp_keepalive_probes: 5
46           net.ipv4.tcp_keepalive_intvl: 1
47         hiera:
48           datafiles:
49             rabbit:
50               mapped_data:
51                 rabbit_nodes:
52                   list_join:
53                   - ','
54                   - {get_param: controller_names}
55
56 outputs:
57   config_id:
58     description: The ID of the allNodesConfigImpl resource.
59     value:
60       {get_resource: allNodesConfigImpl}