From 6b60a9fcecc618be8751bbea65f2d0949a8d7167 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Sun, 7 Jan 2018 14:08:36 +0100 Subject: [nis] enable plugin also when package or config file present Enable nis plugin also when ypserv package is installed or if /etc/ypserv.conf exists. Resolves: #1180 Signed-off-by: Pavel Moravec --- sos/plugins/nis.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sos/plugins/nis.py b/sos/plugins/nis.py index 7468f8dd..678d0f28 100644 --- a/sos/plugins/nis.py +++ b/sos/plugins/nis.py @@ -22,7 +22,9 @@ class Nis(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): plugin_name = 'nis' profiles = ('identity', 'services') - files = ('/var/yp',) + files = ('/var/yp', '/etc/ypserv.conf') + + packages = ('ypserv') def setup(self): self.add_copy_spec([ -- cgit