Skip to content

Commit ff7dc6f

Browse files
committed
add errata source options to config file
1 parent 275182a commit ff7dc6f

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
@@ -260,7 +260,7 @@ def get_accepted_debian_codenames():
260260
""" Get acceptable Debian OS codenames
261261
Can be overridden by specifying DEBIAN_CODENAMES in settings
262262
"""
263-
default_codenames = ['bookworm', 'bullseye']
263+
default_codenames = ['bookworm', 'trixie']
264264
accepted_codenames = get_setting_of_type(
265265
setting_name='DEBIAN_CODENAMES',
266266
setting_type=list,

errata/sources/distros/ubuntu.py

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

etc/patchman/local_settings.py

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

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

0 commit comments

Comments
 (0)