Install yum-utils on Fedora
This patch ensures that redhat-lsb-core and yum-utils are installed on Fedora systems. This is needed for bindep and yum-config-manager to work. This bug is blocking the ansible-hardening gate. Closes-Bug: 1708479 Change-Id: I706b6f5f16ad7e6b86226830e2bceab2cda28227
This commit is contained in:
parent
354eb1ac81
commit
9519c5bcfd
@ -58,6 +58,8 @@ if [[ ${ID,,} == "centos" ]]; then
|
||||
# epel-release could be installed but not enabled (which is very common
|
||||
# in openstack-ci) so enable it here if needed
|
||||
sudo yum-config-manager --enable epel || true
|
||||
elif [[ ${ID,,} == "fedora" ]]; then
|
||||
sudo dnf -y install redhat-lsb-core yum-utils
|
||||
# openSUSE 42.1 does not have python-ndg-httpsclient
|
||||
elif [[ ${ID,,} == *suse* ]] && [[ ${VERSION} == "42.1" ]]; then
|
||||
sudo pip install ndg-httpsclient
|
||||
|
Loading…
Reference in New Issue
Block a user