diff options
author | Robb Manes <robb.manes@gmail.com> | 2018-10-26 18:07:21 -0600 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-18 20:02:58 +0000 |
commit | 6f4c414a622ea4af27c4b16d5abd459fa8dd2875 (patch) | |
tree | 386577b41c3274c170109b040821a607beeae78a | |
parent | 010e43c0e2523a1916e544cf8f678c516b842eb7 (diff) | |
download | sos-6f4c414a622ea4af27c4b16d5abd459fa8dd2875.tar.gz |
[ipsec] Remove IPSec plugin in favor of OpenSwan
Red Hat distributions have not used the ipsec-tools and racoon packages
since RHEL5, and all of this information is collected in the OpenSwan
module via the same paths.
Similarly, Debian distributions have not provided this since wheezy, and
the same data is collected in OpenSwan.
Resolves: #1465
Signed-off-by: Robb Manes <rmanes@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/ipsec.py | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/sos/plugins/ipsec.py b/sos/plugins/ipsec.py deleted file mode 100644 index 7249fc17..00000000 --- a/sos/plugins/ipsec.py +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright (C) 2007 Sadique Puthen <sputhenp@redhat.com> - -# This file is part of the sos project: https://github.com/sosreport/sos -# -# This copyrighted material is made available to anyone wishing to use, -# modify, copy, or redistribute it subject to the terms and conditions of -# version 2 of the GNU General Public License. -# -# See the LICENSE file in the source distribution for further information. - -from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin - - -class IPSec(Plugin): - """Internet protocol security - """ - - plugin_name = "ipsec" - profiles = ('network',) - packages = ('ipsec-tools',) - - -class RedHatIpsec(IPSec, RedHatPlugin): - - files = ('/etc/racoon/racoon.conf',) - - def setup(self): - self.add_copy_spec("/etc/racoon") - - -class DebianIPSec(IPSec, DebianPlugin, UbuntuPlugin): - - files = ('/etc/ipsec-tools.conf',) - - def setup(self): - self.add_copy_spec([ - "/etc/ipsec-tools.conf", - "/etc/ipsec-tools.d", - "/etc/default/setkey" - ]) - -# vim: set et ts=4 sw=4 : |