Updated from OpenStack Ansible Tests

Change-Id: Id8df6082d58d36c1d0cf82568fe0f30e5e57af5d
This commit is contained in:
OpenStack Proposal Bot 2017-11-10 20:08:51 +00:00
parent 58623931f0
commit 69d8775996

View File

@ -40,8 +40,7 @@ install_pkg_deps() {
case ${ID,,} in case ${ID,,} in
*suse*) pkg_mgr_cmd="zypper -n in" ;; *suse*) pkg_mgr_cmd="zypper -n in" ;;
centos|rhel) pkg_mgr_cmd="${RHT_PKG_MGR} install -y" ;; centos|rhel|fedora) pkg_mgr_cmd="${RHT_PKG_MGR} install -y" ;;
fedora) pkg_mgr_cmd="dnf -y install" ;;
ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;; ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;;
*) echo "unsupported distribution: ${ID,,}"; exit 1 ;; *) echo "unsupported distribution: ${ID,,}"; exit 1 ;;
esac esac