Puppet: First support Ceph
[apex-tripleo-heat-templates.git] / all-nodes-config.yaml
1 heat_template_version: 2014-10-16
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   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         rabbit:
44           nodes:
45             list_join:
46             - ','
47             - {get_param: controller_names}
48         sysctl:
49           net.ipv4.tcp_keepalive_time: 5
50           net.ipv4.tcp_keepalive_probes: 5
51           net.ipv4.tcp_keepalive_intvl: 1
52
53 outputs:
54   config_id:
55     description: The ID of the allNodesConfigImpl resource.
56     value:
57       {get_resource: allNodesConfigImpl}