aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2020-11-03 20:52:39 +0100
committerJake Hunsaker <jhunsake@redhat.com>2020-11-04 12:24:02 -0500
commit23d7ed9b660325f07bbe4f3845ff0798604215f1 (patch)
tree217729409333829574f572eac7eec69cc6b41819
parent1312ceddd6ef5b5040c4e3d5b008e6e28a84a286 (diff)
downloadsos-23d7ed9b660325f07bbe4f3845ff0798604215f1.tar.gz
[rhui] remove obsolete plugin
This is python2 only specific plugin, remove it for now. Closes: #2287 Resolves: #2292 Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/rhui.py41
1 files changed, 0 insertions, 41 deletions
diff --git a/sos/report/plugins/rhui.py b/sos/report/plugins/rhui.py
deleted file mode 100644
index 3e889e00..00000000
--- a/sos/report/plugins/rhui.py
+++ /dev/null
@@ -1,41 +0,0 @@
-# This file is part of the sos project: https://github.com/sosreport/sos
-#
-# This copyrighted material is made available to anyone wishing to use,
-# modify, copy, or redistribute it subject to the terms and conditions of
-# version 2 of the GNU General Public License.
-#
-# See the LICENSE file in the source distribution for further information.
-
-from sos.report.plugins import Plugin, RedHatPlugin
-
-
-class Rhui(Plugin, RedHatPlugin):
-
- short_desc = 'Red Hat Update Infrastructure'
-
- plugin_name = 'rhui'
- profiles = ('sysmgmt',)
-
- rhui_debug_path = "/usr/share/rh-rhua/rhui-debug.py"
-
- packages = ["rh-rhui-tools"]
- files = [rhui_debug_path]
-
- def setup(self):
- cds_installed = [
- self.is_installed("pulp-cds"),
- self.is_installed("rhui-mirrorlist")
- ]
- if any(cds_installed):
- cds = "--cds"
- else:
- cds = ""
-
- rhui_debug_dst_path = self.get_cmd_output_path()
- self.add_cmd_output(
- "python %s %s --dir %s"
- % (self.rhui_debug_path, cds, rhui_debug_dst_path),
- suggest_filename="rhui-debug")
- return
-
-# vim: set et ts=4 sw=4 :