aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig
diff options
context:
space:
mode:
authorCarlos Camacho <ccamacho@redhat.com>2017-06-08 23:18:44 +0200
committerCarlos Camacho <ccamacho@redhat.com>2017-06-12 19:17:21 +0200
commit834fe9cde3a2931b673529793c2571651bc84672 (patch)
treeb4aa7c39e6a3500b05a662897498c1e291bb2d3c /extraconfig
parent52b6ed7e27966a4ef285783369f899b77c37ba77 (diff)
Moving *postconfig where it was *postpuppet
We need to ensure that the pacemaker cluster restarts in the end of the deployment. Due to the resources renaming we added the postconfig resource not in the end of the deployment as it was *postpuppet. Closes-bug: 1695904 Change-Id: Ic6978fcff591635223b354831cd6cbe0802316cf
Diffstat (limited to 'extraconfig')
-rw-r--r--extraconfig/tasks/post_puppet_pacemaker.j2.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/extraconfig/tasks/post_puppet_pacemaker.j2.yaml b/extraconfig/tasks/post_puppet_pacemaker.j2.yaml
index 7fc258d..6bf5afb 100644
--- a/extraconfig/tasks/post_puppet_pacemaker.j2.yaml
+++ b/extraconfig/tasks/post_puppet_pacemaker.j2.yaml
@@ -10,8 +10,8 @@ parameters:
resources:
-{%- for role in roles -%}
-{% if "controller" in role.tags %}
+{%- for role in roles %}
+ {%- if 'controller' in role.tags %}
{{role.name}}PostPuppetMaintenanceModeConfig:
type: OS::Heat::SoftwareConfig
properties:
@@ -37,6 +37,6 @@ resources:
properties:
servers: {get_param: [servers, {{role.name}}]}
input_values: {get_param: input_values}
-{%- endif -%}
-{% endfor %}
+ {%- endif %}
+{%- endfor %}