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