From 12e6f43965d25054debff936f61acacbe4bb8066 Mon Sep 17 00:00:00 2001 From: Rodolfo Olivieri Date: Mon, 11 Mar 2024 15:57:54 -0300 Subject: [convert2rhel] Update copy spec to include * report convert2rhel now generates a post-conversion report as well as the pre-conversion report. We want to be able to collect both reports during sosreport execution. To make sure we are not missing them (or any other future report we may introduce), the copy spec string was changed to use a `*` instead of the names of the reports. Signed-off-by: Rodolfo Olivieri --- sos/report/plugins/convert2rhel.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sos/report/plugins/convert2rhel.py b/sos/report/plugins/convert2rhel.py index 2ea2c523..c53530e7 100644 --- a/sos/report/plugins/convert2rhel.py +++ b/sos/report/plugins/convert2rhel.py @@ -10,6 +10,7 @@ from sos.report.plugins import Plugin, RedHatPlugin class Convert2RHEL(Plugin, RedHatPlugin): + """This plugin collects data generated by Convert2RHEL.""" short_desc = 'Convert2RHEL' plugin_name = 'convert2rhel' @@ -23,7 +24,8 @@ class Convert2RHEL(Plugin, RedHatPlugin): "/var/log/convert2rhel/convert2rhel.log", "/var/log/convert2rhel/archive/convert2rhel-*.log", "/var/log/convert2rhel/rpm_va.log", - "/var/log/convert2rhel/convert2rhel-pre-conversion.*", + # Convert2RHEL generates a {pre,post}-conversion report. + "/var/log/convert2rhel/convert2rhel-*-conversion.*", ]) -- cgit