Updated from OpenStack Ansible Tests

Change-Id: I46c7b024b89c26e4e69cdcd48cbfa40b787ef7ac
This commit is contained in:
OpenStack Proposal Bot 2017-11-10 13:17:53 +00:00
parent 0fad7f3584
commit 7a3628e3ed
1 changed files with 1 additions and 2 deletions

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