diff options
author | 2017-01-24 14:36:59 +0100 | |
---|---|---|
committer | 2017-02-10 16:22:26 +0100 | |
commit | f55d6707619edfdb7bda494f4b2851f2ee747b17 (patch) | |
tree | 807cf0c2c5848b03b17ce7ad45a66fd636d5d409 /extraconfig/tasks/tripleo_upgrade_node.sh | |
parent | ed220aecf5ce45d50896054fd3dc2216bcffce20 (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/tripleo_upgrade_node.sh')
-rw-r--r-- | extraconfig/tasks/tripleo_upgrade_node.sh | 3 |
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 |