From 9a275a9e28cbb51b7c19097efff544b5081329eb Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Wed, 15 May 2024 13:50:49 -0700
Subject: [PATCH] Add ubuntu noble to our package mirrors

This adds noble to the existing ubuntu packge mirrors for x86_64. In
order to not overload the AFS servers we avoid adding both x86 and arm
packages at the same time. A followup change can add arm packages.

Note that afs quotas will almost certainly need to be increased in order
to mirror this content.

Change-Id: I7ddf4be4663aa9d96844359361337ed73f0e9544
---
 .../files/ubuntu/config/distributions         | 46 +++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/playbooks/roles/reprepro/files/ubuntu/config/distributions b/playbooks/roles/reprepro/files/ubuntu/config/distributions
index f3d93d9c30..962ba4e969 100755
--- a/playbooks/roles/reprepro/files/ubuntu/config/distributions
+++ b/playbooks/roles/reprepro/files/ubuntu/config/distributions
@@ -136,6 +136,52 @@ Contents: .gz
 Update: ubuntu-security
 Log: /var/log/reprepro/ubuntu-jammy-security.log
 
+Origin: Ubuntu
+Label: Ubuntu
+Codename: noble
+Description: OpenStack Ubuntu Noble mirror
+Architectures: amd64
+Components: main universe
+UDebComponents: main
+Contents: .gz
+Update: ubuntu
+Log: /var/log/reprepro/ubuntu-noble.log
+
+Origin: Ubuntu
+Label: Ubuntu
+Codename: noble-updates
+Description: OpenStack Ubuntu Noble Updates mirror
+Architectures: amd64
+Components: main universe
+UDebComponents: main
+Contents: .gz
+Update: ubuntu
+Log: /var/log/reprepro/ubuntu-noble-updates.log
+
+Origin: Ubuntu
+Label: Ubuntu
+Codename: noble-backports
+Description: OpenStack Ubuntu Noble Backports mirror
+Architectures: amd64
+Components: main universe
+UDebComponents: main
+Contents: .gz
+Update: ubuntu
+NotAutomatic: yes
+ButAutomaticUpgrades: yes
+Log: /var/log/reprepro/ubuntu-noble-backports.log
+
+Origin: Ubuntu
+Label: Ubuntu
+Codename: noble-security
+Description: OpenStack Ubuntu Noble Security mirror
+Architectures: amd64
+Components: main universe
+UDebComponents: main
+Contents: .gz
+Update: ubuntu-security
+Log: /var/log/reprepro/ubuntu-noble-security.log
+
 Origin: Ubuntu
 Label: Ubuntu
 Codename: xenial