From f55d6707619edfdb7bda494f4b2851f2ee747b17 Mon Sep 17 00:00:00 2001 From: Mathieu Bultel Date: Tue, 24 Jan 2017 14:36:59 +0100 Subject: 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 --- extraconfig/tasks/tripleo_upgrade_node.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extraconfig') 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 -- cgit 1.2.3-korg