diff options
author | Lukas Bezdicka <lbezdick@redhat.com> | 2016-11-01 13:15:22 +0100 |
---|---|---|
committer | Lukas Bezdicka <lbezdick@redhat.com> | 2016-11-01 13:44:57 +0100 |
commit | d8fa70d2fda6f97a173a61c042f51f236594211c (patch) | |
tree | cbd83ec059882ead1fc545222162857804d41118 /extraconfig/tasks | |
parent | 0f41197e6aeded5d5d2a0c3f9f0cd1a0d709d087 (diff) |
Update openstack-puppet-modules dependencies
OPM package is metadata package with unversioned requirements which
means that update does not update the dependencies. This leaves us
with old puppet modules and old puppet during the puppet run.
Change-Id: I80f8a73142a09bb4178bb5a396d256ba81ba98a8
Closes-Bug: #1638266
Resolves: rhbz#1390559
Diffstat (limited to 'extraconfig/tasks')
-rwxr-xr-x | extraconfig/tasks/yum_update.sh | 3 |
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 |