Fix: Enable powertools repo for CentOS 8.* vers 39/68039/5 v0.9.1
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 17 Jun 2021 01:23:55 +0000 (11:23 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 24 Jun 2021 00:18:58 +0000 (10:18 +1000)
commit2565eccc4cf60d57be60b68498da1e20869c247a
tree3b0f27b0027121a9e96601ba3d0efe2463ec6bfb
parent3882ccbaf8789d13357c926b286f106d31950792
Fix: Enable powertools repo for CentOS 8.* vers

The CR I43b943ddfc38faca does not work as expected since
ansible_facts does not match/return the minor versions of
the Repoid correctly.

For CentOS 8.2.2004 and earlier versions uses repoid as
'PowerTools' while CentOS 8.3.2011 and later versions uses repoid as
'powertools'. To handle this, check the repo file name under
/etc/yum.repos.d/ and enable the correct repository.

Ref: https://wiki.centos.org/Manuals/ReleaseNotes/CentOS8.2011\
Issue: RELENG-3710
Change-Id: Ib6a8d78664bbb5f20d2889fae3ae3b4238007141
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
provision/install-base-pkgs-RedHat.yaml
releasenotes/notes/fix-enable-powertools-repo-e356e1bb23891978.yaml [new file with mode: 0644]