From 9591c47f2bbca5edb331aaa008cab300e557f67a Mon Sep 17 00:00:00 2001 From: Johan Guldmyr Date: Thu, 22 Jun 2023 10:46:18 +0300 Subject: [PATCH] [docker] collect on Debian too Tested by: - manually patching file on Debian 11 and 12 (both on sos version 4.0.2) - sudo ./bin/sos report from this commit (and on python 3.11) Signed-off-by: Johan Guldmyr --- sos/report/plugins/docker.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sos/report/plugins/docker.py b/sos/report/plugins/docker.py index 29a3cc5255..b6cadfb4df 100644 --- a/sos/report/plugins/docker.py +++ b/sos/report/plugins/docker.py @@ -9,7 +9,8 @@ # See the LICENSE file in the source distribution for further information. from sos.report.plugins import (Plugin, RedHatPlugin, UbuntuPlugin, - SoSPredicate, CosPlugin, PluginOpt) + SoSPredicate, CosPlugin, PluginOpt, + DebianPlugin) class Docker(Plugin, CosPlugin): @@ -133,7 +134,7 @@ def setup(self): ]) -class UbuntuDocker(Docker, UbuntuPlugin): +class UbuntuDocker(Docker, UbuntuPlugin, DebianPlugin): packages = ('docker.io', 'docker-engine', 'docker-ce', 'docker-ee')