Merge "Add ComputeHCI role and related validations"
[apex-tripleo-heat-templates.git] / puppet / post-upgrade.j2.yaml
1 heat_template_version: pike
2
3 description: >
4   Post-upgrade configuration steps via puppet for all roles
5   where upgrade is not disabled as defined in ../roles_data.yaml
6
7 parameters:
8   servers:
9     type: json
10     description: Mapping of Role name e.g Controller to a list of servers
11   stack_name:
12     type: string
13     description: Name of the topmost stack
14   role_data:
15     type: json
16     description: Mapping of Role name e.g Controller to the per-role data
17   DeployIdentifier:
18     default: ''
19     type: string
20     description: >
21       Setting this to a unique value will re-run any deployment tasks which
22       perform configuration on a Heat stack-update.
23   ctlplane_service_ips:
24     type: json
25
26 resources:
27 # Note the include here is the same as post.j2.yaml but the data used at
28 # the time of rendering is different if any roles disable upgrades
29 {% set roles = roles|rejectattr('disable_upgrade_deployment')|list -%}
30 {% include 'puppet-steps.j2' %}