aboutsummaryrefslogtreecommitdiffstats
path: root/all-nodes-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'all-nodes-config.yaml')
-rw-r--r--all-nodes-config.yaml57
1 files changed, 57 insertions, 0 deletions
diff --git a/all-nodes-config.yaml b/all-nodes-config.yaml
new file mode 100644
index 00000000..677c12d6
--- /dev/null
+++ b/all-nodes-config.yaml
@@ -0,0 +1,57 @@
+heat_template_version: 2014-10-16
+description: 'All Nodes Config'
+
+parameters:
+ compute_hosts:
+ type: comma_delimited_list
+ controller_hosts:
+ type: comma_delimited_list
+ block_storage_hosts:
+ type: comma_delimited_list
+ object_storage_hosts:
+ type: comma_delimited_list
+ ceph_storage_hosts:
+ type: comma_delimited_list
+ controller_names:
+ type: comma_delimited_list
+
+resources:
+
+ allNodesConfigImpl:
+ type: OS::Heat::StructuredConfig
+ properties:
+ config:
+ completion-signal: {get_input: deploy_signal_id}
+ hosts:
+ list_join:
+ - "\n"
+ - - list_join:
+ - "\n"
+ - {get_param: compute_hosts}
+ - list_join:
+ - "\n"
+ - {get_param: controller_hosts}
+ - list_join:
+ - "\n"
+ - {get_param: block_storage_hosts}
+ - list_join:
+ - "\n"
+ - {get_param: object_storage_hosts}
+ - list_join:
+ - "\n"
+ - {get_param: ceph_storage_hosts}
+ rabbit:
+ nodes:
+ list_join:
+ - ','
+ - {get_param: controller_names}
+ sysctl:
+ net.ipv4.tcp_keepalive_time: 5
+ net.ipv4.tcp_keepalive_probes: 5
+ net.ipv4.tcp_keepalive_intvl: 1
+
+outputs:
+ config_id:
+ description: The ID of the allNodesConfigImpl resource.
+ value:
+ {get_resource: allNodesConfigImpl}