Merge "Extend devstack support to Red Hat-based distros"

This commit is contained in:
Jenkins 2017-06-09 23:44:54 +00:00 committed by Gerrit Code Review
commit 85171bc794
1 changed files with 7 additions and 1 deletions

View File

@ -169,7 +169,13 @@ function init_congress {
# install_congress() - install dependency, collect client source and prepare
function install_congress {
# congress requires java so we install it here
install_package default-jre
if is_ubuntu; then
install_package default-jre
elif is_fedora; then
install_package jre
else
die $LINENO "Congress devstack only supports Debian and Red Hat-based"
fi
git_clone $CONGRESSCLIENT_REPO $CONGRESSCLIENT_DIR $CONGRESSCLIENT_BRANCH
setup_develop $CONGRESSCLIENT_DIR