diff options
Diffstat (limited to 'sos/plugins/openswan.py')
-rw-r--r-- | sos/plugins/openswan.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/openswan.py b/sos/plugins/openswan.py index bd9de349..d6dc1db0 100644 --- a/sos/plugins/openswan.py +++ b/sos/plugins/openswan.py @@ -20,8 +20,9 @@ from os.path import exists class openswan(Plugin, RedHatPlugin): """ipsec related information """ - def checkenabled(self): - return self.isInstalled("openswan") or exists("/etc/ipsec.conf") + + files = ('/etc/ipsec.conf') + packages = ('openswan') def setup(self): self.addCopySpecs([ |