summaryrefslogtreecommitdiffstats
path: root/os-apply-config/all-nodes-config.yaml
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2015-10-02 17:52:05 -0400
committerDan Prince <dprince@redhat.com>2015-10-02 17:54:49 -0400
commit1ec47775ef150ee308ece8b4b71d85ef924ddcd8 (patch)
tree3576728f89c05eea74977ef5929c40bb056f70d1 /os-apply-config/all-nodes-config.yaml
parent969e6e6671d2a61cd801541c1306cc51241f6c09 (diff)
Move os-apply-config templates into a directory
This patch moves all of the os-apply-config (tripleo-image-elements) specific templates into a common directory. This matches what we do for puppet and should help new users more easily understand the project layout. Change-Id: I7dce2a770d56795f3ea22c8a464595c4a0c60832
Diffstat (limited to 'os-apply-config/all-nodes-config.yaml')
-rw-r--r--os-apply-config/all-nodes-config.yaml93
1 files changed, 93 insertions, 0 deletions
diff --git a/os-apply-config/all-nodes-config.yaml b/os-apply-config/all-nodes-config.yaml
new file mode 100644
index 00000000..3f0bd61c
--- /dev/null
+++ b/os-apply-config/all-nodes-config.yaml
@@ -0,0 +1,93 @@
+heat_template_version: 2015-04-30
+description: 'All Nodes Config'
+
+parameters:
+ compute_hosts:
+ type: comma_delimited_list
+ controller_hosts:
+ type: comma_delimited_list
+ controller_ips:
+ 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
+ rabbit_node_ips:
+ type: comma_delimited_list
+ mongo_node_ips:
+ type: comma_delimited_list
+ redis_node_ips:
+ type: comma_delimited_list
+ memcache_node_ips:
+ type: comma_delimited_list
+ mysql_node_ips:
+ type: comma_delimited_list
+ horizon_node_ips:
+ type: comma_delimited_list
+ heat_api_node_ips:
+ type: comma_delimited_list
+ swift_proxy_node_ips:
+ type: comma_delimited_list
+ ceilometer_api_node_ips:
+ type: comma_delimited_list
+ nova_api_node_ips:
+ type: comma_delimited_list
+ nova_metadata_node_ips:
+ type: comma_delimited_list
+ glance_api_node_ips:
+ type: comma_delimited_list
+ glance_registry_node_ips:
+ type: comma_delimited_list
+ cinder_api_node_ips:
+ type: comma_delimited_list
+ neutron_api_node_ips:
+ type: comma_delimited_list
+ keystone_public_api_node_ips:
+ type: comma_delimited_list
+ keystone_admin_api_node_ips:
+ 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}