diff options
-rw-r--r-- | sos/plugins/perl.py | 28 | ||||
-rw-r--r-- | sos/plugins/rpm.py | 1 |
2 files changed, 28 insertions, 1 deletions
diff --git a/sos/plugins/perl.py b/sos/plugins/perl.py new file mode 100644 index 00000000..91884a2d --- /dev/null +++ b/sos/plugins/perl.py @@ -0,0 +1,28 @@ +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin + + +class Perl(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): + """Perl runtime""" + + plugin_name = "perl" + profiles = ('webserver', 'perl') + verify_packages = ('perl.*',) + + def setup(self): + self.add_cmd_output("perl -V") + +# vim: set et ts=4 sw=4 : diff --git a/sos/plugins/rpm.py b/sos/plugins/rpm.py index 53043664..3a9eb993 100644 --- a/sos/plugins/rpm.py +++ b/sos/plugins/rpm.py @@ -27,7 +27,6 @@ class Rpm(Plugin, RedHatPlugin): ("rpmva", "runs a verify on all packages", "slow", False)] verify_list = [ - 'perl.*', 'rpm', 'yum', 'spacewalk.*', ] |