aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-06-05 12:37:49 -0400
committerBryn M. Reeves <bmr@redhat.com>2014-06-05 12:37:49 -0400
commita883e5aa5fe5d98646293279787b324ca90f2e12 (patch)
tree7d13f97cb1cdf12f5ef1e69f43b86dd545813f5a
parent08bb3d2f36dd63726a5f291d62c9b6f2c4cb7d2d (diff)
downloadsos-a883e5aa5fe5d98646293279787b324ca90f2e12.tar.gz
[ovirt] add package list to ovirt plugin
Make sure that the oVirt plugin only runs if the ovirt-engine package is present. This will need to be expanded when the ovirt-engine-dwh and ovirt-engine-reports support is merged (Issue #236 and Issue #237). Signed-off-by: Brym M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/ovirt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/ovirt.py b/sos/plugins/ovirt.py
index acd6ad3e..c6f89577 100644
--- a/sos/plugins/ovirt.py
+++ b/sos/plugins/ovirt.py
@@ -28,6 +28,8 @@ from sos.plugins import Plugin, RedHatPlugin
class Ovirt(Plugin, RedHatPlugin):
"""oVirt Engine related information"""
+ packages = ('ovirt-engine',)
+
DB_PASS_FILES = re.compile(
flags=re.VERBOSE,
pattern=r"""