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
29 Setting this to a unique value will re-run any deployment tasks which
30 perform configuration on a Heat stack-update.
34 Setting to a previously unused value during stack-update will trigger
35 package update on all nodes
39 Heat action on performed top-level stack.
41 - allowed_values: ['CREATE', 'UPDATE']
46 type: OS::Heat::StructuredConfig
48 group: os-apply-config
58 bootstrap_nodeid: {get_input: bootstrap_nodeid}
59 bootstrap_nodeid_ip: {get_input: bootstrap_nodeid_ip}
63 - enabled_services: {get_param: enabled_services}
64 # This writes out a mapping of service_name_enabled: 'true'
65 # For any services not enabled, hiera foo_enabled will
66 # return nil, as it's undefined
70 # Note this must be string 'true' due to
71 # https://bugs.launchpad.net/heat/+bug/1617203
72 SERVICE_enabled: 'true'
75 str_split: [',', {get_param: enabled_services}]
76 # provides a mapping of service_name_ips to a list of IPs
77 - {get_param: service_ips}
78 - {get_param: service_node_names}
79 - controller_node_ips:
82 - {get_param: controller_ips}
83 controller_node_names:
86 - {get_param: controller_names}
87 memcached_node_ips_v6:
89 template: "['inet6:[SERVERS_LIST]']"
94 - {get_param: memcache_node_ips}
95 keystone_public_api_node_ips:
97 template: "['SERVERS_LIST']"
102 - {get_param: keystone_public_api_node_ips}
103 keystone_admin_api_node_ips:
105 template: "['SERVERS_LIST']"
110 - {get_param: keystone_admin_api_node_ips}
112 deploy_identifier: {get_param: DeployIdentifier}
113 update_identifier: {get_param: UpdateIdentifier}
114 stack_action: {get_param: StackAction}
118 description: The ID of the allNodesConfigImpl resource.
120 {get_resource: allNodesConfigImpl}
123 The content that should be appended to your /etc/hosts if you want to get
124 hostname-based access to the deployed nodes (useful for testing without
126 value: {get_attr: [allNodesConfigImpl, config, hosts]}