aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2017-06-27 17:30:24 +0200
committerGiulio Fidente <gfidente@redhat.com>2017-06-27 17:36:53 +0200
commitd66756b05c9f089ee97083b6ce6f384187cee1d9 (patch)
tree07a5d9f9cd2dd4c69f1a3af9a57a7d30d32102a1 /puppet
parentf7062d83d794aacc74614c165a968884285da957 (diff)
Allow stack_name into major_upgrade_steps.yaml
On upgrade we map PostDeploySteps to a different implementation which we missed to update in I36a642fbc2076ad9e4a10ffc56d6d16f3ed6f27a Change-Id: Ia619ab935c66081769e69c53d1ca41925d86abbb Closes-Bug: #1700755
Diffstat (limited to 'puppet')
-rw-r--r--puppet/major_upgrade_steps.j2.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/puppet/major_upgrade_steps.j2.yaml b/puppet/major_upgrade_steps.j2.yaml
index b44095bd..b9e0860e 100644
--- a/puppet/major_upgrade_steps.j2.yaml
+++ b/puppet/major_upgrade_steps.j2.yaml
@@ -8,7 +8,9 @@ description: 'Upgrade steps for all roles'
parameters:
servers:
type: json
-
+ stack_name:
+ type: string
+ description: Name of the topmost stack
role_data:
type: json
description: Mapping of Role name e.g Controller to the per-role data
@@ -206,6 +208,7 @@ resources:
{%- endfor %}
properties:
servers: {get_param: servers}
+ stack_name: {get_param: stack_name}
role_data: {get_param: role_data}
outputs: