Update the logic to use stable branch of puppet-ceph

... so that we don't need to update it when switching Ceph to a new
release.

Change-Id: Ic3f0ccfa5a423b3ec48fc7bd9f289e31813d1176
This commit is contained in:
Takashi Kajinami 2022-08-21 13:43:58 +09:00
parent 04ad128ff4
commit 5cadc6d36e

View File

@ -50,10 +50,10 @@ install_openstack() {
ZUUL_BRANCH=${ZUUL_BRANCH:-master}
if [ "$ZUUL_PROJECT" != "openstack/puppet-ceph" ] && [ -n "$CEPH_VERSION" ]; then
if [ "$CEPH_VERSION" == "octopus" ] || [ "$CEPH_VERSION" == "pacific" ]; then
ZUUL_BRANCH="master"
else
if [ "$CEPH_VERSION" == "jewel" ] || [ "$CEPH_VERSION" == "luminous" ] || [ "$CEPH_VERSION" == "mimic" ]; then
ZUUL_BRANCH="stable/$CEPH_VERSION"
else
ZUUL_BRANCH="master"
fi
fi