Merge "Allow choosing Ceph release on CentOS"

This commit is contained in:
Zuul 2019-11-18 15:55:02 +00:00 committed by Gerrit Code Review
commit ee65cca853
1 changed files with 6 additions and 1 deletions

View File

@ -1179,7 +1179,12 @@ function install_ceph {
if is_ceph_enabled_for_service manila; then
setup_packages_for_manila_on_fedora_family
elif [ $DISTRO_TYPE == 'centos' ]; then
configure_repo_ceph "yum" "jewel" "${DISTRO_TYPE}" "${RELEASE}"
if [[ ${CEPH_RELEASE} > 'jewel' ]]; then
repo=${CEPH_RELEASE}
else
repo="jewel"
fi
configure_repo_ceph "yum" $repo "${DISTRO_TYPE}" "${RELEASE}"
fi
if [ "$ENABLE_CEPH_RGW" = "True" ]; then