From 5cadc6d36ec84e910b084bb5b4daa6f6146cde22 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 21 Aug 2022 13:43:58 +0900 Subject: [PATCH] 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 --- functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions b/functions index fa5548f79..584c346d7 100644 --- a/functions +++ b/functions @@ -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