From 6f4c414a622ea4af27c4b16d5abd459fa8dd2875 Mon Sep 17 00:00:00 2001 From: Robb Manes Date: Fri, 26 Oct 2018 18:07:21 -0600 Subject: [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 Signed-off-by: Bryn M. Reeves --- sos/plugins/ipsec.py | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 sos/plugins/ipsec.py 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 - -# 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 : -- cgit