aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2018-02-01 11:35:12 -0500
committerBryn M. Reeves <bmr@redhat.com>2018-04-30 15:14:26 +0100
commit7ea55338417e7d60bd67ca7788ecabfc5da47b56 (patch)
tree9e4caadf4d7e465228474415cc034a94fd20aa91
parent0f5a976f825d99c0e27b1db2158764b4fe3ae394 (diff)
downloadsos-7ea55338417e7d60bd67ca7788ecabfc5da47b56.tar.gz
[powerpath] Check for kernel module to enable plugin
Changes the enablement for the powerpath plugin to first check for any of the EMC kernel modules associated with powerpath. If none are present, still check for the presence of the EMCpower package. Resolves: #1215 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/powerpath.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/powerpath.py b/sos/plugins/powerpath.py
index fd93b233..e941f5d4 100644
--- a/sos/plugins/powerpath.py
+++ b/sos/plugins/powerpath.py
@@ -24,6 +24,7 @@ class PowerPath(Plugin, RedHatPlugin):
plugin_name = 'powerpath'
profiles = ('storage', 'hardware')
packages = ('EMCpower',)
+ kernel_mods = ('emcp', 'emcpdm', 'emcpgpx', 'emcpmpx')
def get_pp_files(self):
""" EMC PowerPath specific information - files