summaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks
diff options
context:
space:
mode:
authorMathieu Bultel <mbultel@redhat.com>2017-01-24 14:36:59 +0100
committerMathieu Bultel <mbultel@redhat.com>2017-02-10 16:22:26 +0100
commitf55d6707619edfdb7bda494f4b2851f2ee747b17 (patch)
tree807cf0c2c5848b03b17ce7ad45a66fd636d5d409 /extraconfig/tasks
parented220aecf5ce45d50896054fd3dc2216bcffce20 (diff)
Dump and run puppet for role which are disable_upgrade_deployment true
We wants to run puppet on each role which has the flag disable_upgrade_deployment to true. It will run after the upgrade of the role and before running the whole converge step. Change-Id: Ia85be688d070dfb5b8337e8ef3c4bc439fb6052e
Diffstat (limited to 'extraconfig/tasks')
-rw-r--r--extraconfig/tasks/tripleo_upgrade_node.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/extraconfig/tasks/tripleo_upgrade_node.sh b/extraconfig/tasks/tripleo_upgrade_node.sh
index 7f056021..27ba33a8 100644
--- a/extraconfig/tasks/tripleo_upgrade_node.sh
+++ b/extraconfig/tasks/tripleo_upgrade_node.sh
@@ -44,6 +44,9 @@ if [[ -n \$NOVA_COMPUTE ]]; then
systemctl restart openstack-ceilometer-compute
fi
+# Apply puppet manifest to converge just right after the \$ROLE upgrade
+puppet apply /root/${ROLE}_puppet_config.pp
+
ENDOFCAT
# ensure the permissions are OK