Skip to content

Commit 60a80cd

Browse files
authored
Merge pull request #716 from furlongm/errata-source-options
add errata source options to config file
2 parents dc68147 + fd6f9aa commit 60a80cd

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

errata/sources/distros/debian.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def get_accepted_debian_codenames():
264264
""" Get acceptable Debian OS codenames
265265
Can be overridden by specifying DEBIAN_CODENAMES in settings
266266
"""
267-
default_codenames = ['bookworm', 'bullseye']
267+
default_codenames = ['bookworm', 'trixie']
268268
accepted_codenames = get_setting_of_type(
269269
setting_name='DEBIAN_CODENAMES',
270270
setting_type=list,

errata/sources/distros/ubuntu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def get_accepted_ubuntu_codenames():
203203
""" Get acceptable Ubuntu OS codenames
204204
Can be overridden by specifying UBUNTU_CODENAMES in settings
205205
"""
206-
default_codenames = ['focal', 'jammy', 'noble']
206+
default_codenames = ['jammy', 'noble']
207207
accepted_codenames = get_setting_of_type(
208208
setting_name='UBUNTU_CODENAMES',
209209
setting_type=list,

etc/patchman/local_settings.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@
4141
# Number of days to wait before raising that a host has not reported
4242
DAYS_WITHOUT_REPORT = 14
4343

44+
# list of errata sources to update, remove unwanted ones to improve performance
45+
ERRATA_OS_UPDATES = ['yum', 'rocky', 'alma', 'arch', 'ubuntu', 'debian']
46+
47+
# list of Alma Linux releases to update
48+
ALMA_RELEASES = [8, 9, 10]
49+
50+
# list of Debian Linux releases to update
51+
DEBIAN_CODENAMES = ['bookworm', 'trixie']
52+
53+
# list of Ubuntu Linux releases to update
54+
UBUNTU_CODENAMES = ['jammy', 'noble']
55+
4456
# Whether to run patchman under the gunicorn web server
4557
RUN_GUNICORN = False
4658

0 commit comments

Comments
 (0)