aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2017-08-30 13:45:31 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-11-01 14:17:59 +0000
commitc0a01babf324f4df36ac666338cfde0c008306ff (patch)
treef70780f42430b146f65ffd686e767dfc5fb4c070
parent0515ab09a20017faa74c30fb0d47f1753f968627 (diff)
downloadsos-c0a01babf324f4df36ac666338cfde0c008306ff.tar.gz
[java] move java.* package verification to java plugin
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/java.py1
-rw-r--r--sos/plugins/rpm.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/java.py b/sos/plugins/java.py
index 756f2daf..c1d98a7f 100644
--- a/sos/plugins/java.py
+++ b/sos/plugins/java.py
@@ -20,6 +20,7 @@ class Java(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
plugin_name = "java"
profiles = ('webserver', 'java')
+ verify_packages = ('java.*',)
def setup(self):
self.add_copy_spec("/etc/java")
diff --git a/sos/plugins/rpm.py b/sos/plugins/rpm.py
index 6c2d00a2..53043664 100644
--- a/sos/plugins/rpm.py
+++ b/sos/plugins/rpm.py
@@ -27,7 +27,7 @@ class Rpm(Plugin, RedHatPlugin):
("rpmva", "runs a verify on all packages", "slow", False)]
verify_list = [
- 'java.*', 'perl.*',
+ 'perl.*',
'rpm', 'yum',
'spacewalk.*',
]