1 heat_template_version: 2016-10-14
2 description: 'All Nodes Config for Puppet'
6 type: comma_delimited_list
7 # FIXME(shardy) this can be comma_delimited_list when
8 # https://bugs.launchpad.net/heat/+bug/1617019 is fixed
12 type: comma_delimited_list
18 type: comma_delimited_list
20 type: comma_delimited_list
21 keystone_public_api_node_ips:
22 type: comma_delimited_list
23 keystone_admin_api_node_ips:
24 type: comma_delimited_list
28 Setting this to a unique value will re-run any deployment tasks which
29 perform configuration on a Heat stack-update.
33 Setting to a previously unused value during stack-update will trigger
34 package update on all nodes
38 Heat action on performed top-level stack.
40 - allowed_values: ['CREATE', 'UPDATE']
45 type: OS::Heat::StructuredConfig
47 group: os-apply-config
57 bootstrap_nodeid: {get_input: bootstrap_nodeid}
58 bootstrap_nodeid_ip: {get_input: bootstrap_nodeid_ip}
62 - enabled_services: {get_param: enabled_services}
63 # This writes out a mapping of service_name_enabled: 'true'
64 # For any services not enabled, hiera foo_enabled will
65 # return nil, as it's undefined
69 # Note this must be string 'true' due to
70 # https://bugs.launchpad.net/heat/+bug/1617203
71 SERVICE_enabled: 'true'
74 str_split: [',', {get_param: enabled_services}]
75 # provides a mapping of service_name_ips to a list of IPs
76 - {get_param: service_ips}
77 - {get_param: service_node_names}
78 - controller_node_ips:
81 - {get_param: controller_ips}
82 controller_node_names:
85 - {get_param: controller_names}
86 memcached_node_ips_v6:
88 template: "['inet6:[SERVERS_LIST]']"
93 - {get_param: memcache_node_ips}
94 keystone_public_api_node_ips:
96 template: "['SERVERS_LIST']"
101 - {get_param: keystone_public_api_node_ips}
102 keystone_admin_api_node_ips:
104 template: "['SERVERS_LIST']"
109 - {get_param: keystone_admin_api_node_ips}
111 deploy_identifier: {get_param: DeployIdentifier}
112 update_identifier: {get_param: UpdateIdentifier}
113 stack_action: {get_param: StackAction}
117 description: The ID of the allNodesConfigImpl resource.
119 {get_resource: allNodesConfigImpl}
122 The content that should be appended to your /etc/hosts if you want to get
123 hostname-based access to the deployed nodes (useful for testing without
125 value: {get_attr: [allNodesConfigImpl, config, hosts]}