b84039de7daf100132f374a5bf2f7f679e09b5fe
[apex-tripleo-heat-templates.git] / puppet / post-upgrade.j2.yaml
1 heat_template_version: ocata
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
12   role_data:
13     type: json
14     description: Mapping of Role name e.g Controller to the per-role data
15
16   DeployIdentifier:
17     default: ''
18     type: string
19     description: >
20       Setting this to a unique value will re-run any deployment tasks which
21       perform configuration on a Heat stack-update.
22
23 resources:
24 # Note the include here is the same as post.j2.yaml but the data used at
25 # the time of rendering is different if any roles disable upgrades
26 {% set roles = roles|rejectattr('disable_upgrade_deployment')|list -%}
27 {% include 'puppet-steps.j2' %}