From 638f53e21319675a4c690b00e67c97f7e648c13e Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Thu, 18 Jan 2024 11:32:43 +0000 Subject: [PATCH] Add caracal support This patch enables caracal in the various places needed for charms to be able to detect and operate with either jammy-caracal or caracal on the nobel distro. --- charmhelpers/contrib/openstack/utils.py | 1 + charmhelpers/fetch/ubuntu.py | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/charmhelpers/contrib/openstack/utils.py b/charmhelpers/contrib/openstack/utils.py index 429b09e5a..da711c65d 100644 --- a/charmhelpers/contrib/openstack/utils.py +++ b/charmhelpers/contrib/openstack/utils.py @@ -161,6 +161,7 @@ ('2022.2', 'zed'), ('2023.1', 'antelope'), ('2023.2', 'bobcat'), + ('2024.1', 'caracal'), ]) # The ugly duckling - must list releases oldest to newest diff --git a/charmhelpers/fetch/ubuntu.py b/charmhelpers/fetch/ubuntu.py index 1be992c46..189083ae9 100644 --- a/charmhelpers/fetch/ubuntu.py +++ b/charmhelpers/fetch/ubuntu.py @@ -246,6 +246,14 @@ 'bobcat/proposed': 'jammy-proposed/bobcat', 'jammy-bobcat/proposed': 'jammy-proposed/bobcat', 'jammy-proposed/bobcat': 'jammy-proposed/bobcat', + # caracal + 'caracal': 'jammy-updates/caracal', + 'jammy-caracal': 'jammy-updates/caracal', + 'jammy-caracal/updates': 'jammy-updates/caracal', + 'jammy-updates/caracal': 'jammy-updates/caracal', + 'caracal/proposed': 'jammy-proposed/caracal', + 'jammy-caracal/proposed': 'jammy-proposed/caracal', + 'jammy-proposed/caracal': 'jammy-proposed/caracal', # OVN 'focal-ovn-22.03': 'focal-updates/ovn-22.03', @@ -279,6 +287,7 @@ 'zed', 'antelope', 'bobcat', + 'caracal', ) @@ -308,6 +317,7 @@ ('kinetic', 'zed'), ('lunar', 'antelope'), ('mantic', 'bobcat'), + ('nobel', 'caracal'), ])