aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-04 14:08:15 +0000
committerGerrit Code Review <review@openstack.org>2016-11-04 14:08:15 +0000
commitcac8c7d28584a56321dbaf8b0ca5fd6e8986deb2 (patch)
tree07c5c29eee7a182a6bda996deea3b9562c3fbbaf /extraconfig/tasks
parent27a9382dd8bd9a070ce102c9b5844c08066c9229 (diff)
parentd8fa70d2fda6f97a173a61c042f51f236594211c (diff)
Merge "Update openstack-puppet-modules dependencies"
Diffstat (limited to 'extraconfig/tasks')
-rwxr-xr-xextraconfig/tasks/yum_update.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/extraconfig/tasks/yum_update.sh b/extraconfig/tasks/yum_update.sh
index c2d7d58d..4612f197 100755
--- a/extraconfig/tasks/yum_update.sh
+++ b/extraconfig/tasks/yum_update.sh
@@ -73,8 +73,9 @@ if [[ "$pacemaker_status" == "active" ]] ; then
pcs cluster stop
fi
else
- echo "Upgrading openstack-puppet-modules"
+ echo "Upgrading openstack-puppet-modules and its dependencies"
yum -q -y update openstack-puppet-modules
+ yum deplist openstack-puppet-modules | awk '/dependency/{print $2}' | xargs yum -q -y update
echo "Upgrading other packages is handled by config management tooling"
echo -n "true" > $heat_outputs_path.update_managed_packages
exit 0