Allow stack_name into major_upgrade_steps.yaml
authorGiulio Fidente <gfidente@redhat.com>
Tue, 27 Jun 2017 15:30:24 +0000 (17:30 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Tue, 27 Jun 2017 15:36:53 +0000 (17:36 +0200)
On upgrade we map PostDeploySteps to a different implementation
which we missed to update in I36a642fbc2076ad9e4a10ffc56d6d16f3ed6f27a

Change-Id: Ia619ab935c66081769e69c53d1ca41925d86abbb
Closes-Bug: #1700755

puppet/major_upgrade_steps.j2.yaml

index b44095b..b9e0860 100644 (file)
@@ -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: