diff options
Diffstat (limited to 'sos/plugins/mongodb.py')
-rw-r--r-- | sos/plugins/mongodb.py | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/sos/plugins/mongodb.py b/sos/plugins/mongodb.py index 70d5550a..05d37d3c 100644 --- a/sos/plugins/mongodb.py +++ b/sos/plugins/mongodb.py @@ -1,21 +1,22 @@ -## Copyright (C) 2014 Red Hat, Inc., Bryn M. Reeves <bmr@redhat.com> +# Copyright (C) 2014 Red Hat, Inc., Bryn M. Reeves <bmr@redhat.com> -### 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 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. +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin + class MongoDb(Plugin, DebianPlugin, UbuntuPlugin): """MongoDB related information """ @@ -38,6 +39,7 @@ class MongoDb(Plugin, DebianPlugin, UbuntuPlugin): r"mms-token = ********" ) + class RedHatMongoDb(MongoDb, RedHatPlugin): """ MongoDB related information for Red Hat distributions """ |