diff options
Diffstat (limited to 'sos/plugins/auditd.py')
-rw-r--r-- | sos/plugins/auditd.py | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/sos/plugins/auditd.py b/sos/plugins/auditd.py index 52c8843e..84233ab7 100644 --- a/sos/plugins/auditd.py +++ b/sos/plugins/auditd.py @@ -1,19 +1,20 @@ -### 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 Auditd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): """Auditd related information """ @@ -30,7 +31,8 @@ class Auditd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): if not self.get_option("all_logs"): limit = self.get_option("log_size") - self.add_copy_spec_limit("/var/log/audit/audit.log", sizelimit=limit) + self.add_copy_spec_limit("/var/log/audit/audit.log", + sizelimit=limit) else: self.add_copy_spec("/var/log/audit") |