Updated from OpenStack Ansible Tests

Change-Id: Idf72af343e3e5da77468cfcc25eb8fbb407feb7b
This commit is contained in:
OpenStack Proposal Bot 2019-02-27 06:04:05 +00:00
parent 1e9d2791ee
commit 3038cbd067
2 changed files with 5 additions and 1 deletions

View File

@ -44,6 +44,9 @@ openssl-devel [platform:rpm]
python-devel [platform:rpm] python-devel [platform:rpm]
python2-dnf [platform:fedora] python2-dnf [platform:fedora]
# Base requirements for Gentoo
git [platform:gentoo]
# For SELinux # For SELinux
libselinux-python [platform:redhat] libselinux-python [platform:redhat]
libsemanage-python [platform:redhat] libsemanage-python [platform:redhat]

View File

@ -59,7 +59,8 @@ case ${ID,,} in
*suse*) pkg_mgr_cmd="zypper -n in" ;; *suse*) pkg_mgr_cmd="zypper -n in" ;;
centos|rhel|fedora) pkg_mgr_cmd="${RHT_PKG_MGR} install -y" ;; centos|rhel|fedora) pkg_mgr_cmd="${RHT_PKG_MGR} install -y" ;;
ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;; ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;;
gentoo) pkg_mgr_cmd="emerge" ;; # Gentoo needs to have version set since it's rolling
gentoo) pkg_mgr_cmd="emerge --jobs=4"; VERSION="rolling" ;;
*) echo "unsupported distribution: ${ID,,}"; exit 1 ;; *) echo "unsupported distribution: ${ID,,}"; exit 1 ;;
esac esac