diff options
author | Robbie Harwood <rharwood@redhat.com> | 2018-07-23 16:53:02 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-08-23 15:09:05 +0100 |
commit | b30bf75847791d85d0e6e51a9b526b2bc93fc38e (patch) | |
tree | a02fa3d1b05ab6417fbdd3fe54012393d314b6b9 | |
parent | 0846ca08eb9e40125fe804d4886532980f9a0f6e (diff) | |
download | sos-b30bf75847791d85d0e6e51a9b526b2bc93fc38e.tar.gz |
[plugins] Add plugin for gssproxy
gssproxy stores its configuration in /etc/gssproxy. Also capture the
mech configuration so that we can tell if gssproxy is enabled and any
other GSS mechs in use.
Resolves: #1386
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/gssproxy.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sos/plugins/gssproxy.py b/sos/plugins/gssproxy.py new file mode 100644 index 00000000..7fdde14d --- /dev/null +++ b/sos/plugins/gssproxy.py @@ -0,0 +1,28 @@ +# Copyright (C) 2018 Red Hat, Inc., Robbie Harwood <rharwood@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 GSSProxy(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): + """GSSAPI Proxy + """ + + plugin_name = "gssproxy" + profiles = ('services', 'security', 'identity') + packages = ('gssproxy',) + + def setup(self): + self.add_copy_spec([ + "/etc/gssproxy/*.conf", + "/etc/gss/mech.d/*" + ]) + +# vim: set et ts=4 sw=4 : |