aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-09-14 23:36:46 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-09-16 11:06:24 +0100
commit3ed0f986bf12d9110940ebecd9a3753401345bd5 (patch)
treee0c3e8aa33ed17adc0462d2550541f7ebeee20e1
parent28fc90c4c516c0dc95078c4d01a9fa328107350c (diff)
downloadsos-3ed0f986bf12d9110940ebecd9a3753401345bd5.tar.gz
[nfs,nfsserver,sunrpc,autofs] add NFS profile
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/autofs.py2
-rw-r--r--sos/plugins/nfs.py2
-rw-r--r--sos/plugins/nfsserver.py2
-rw-r--r--sos/plugins/sunrpc.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/sos/plugins/autofs.py b/sos/plugins/autofs.py
index ab85bd9e..21c1e111 100644
--- a/sos/plugins/autofs.py
+++ b/sos/plugins/autofs.py
@@ -22,7 +22,7 @@ class Autofs(Plugin):
"""
plugin_name = "autofs"
- profiles = ('storage',)
+ profiles = ('storage', 'nfs')
files = ('/etc/sysconfig/autofs', '/etc/default/autofs')
packages = ('autofs',)
diff --git a/sos/plugins/nfs.py b/sos/plugins/nfs.py
index b7c57419..5e395eba 100644
--- a/sos/plugins/nfs.py
+++ b/sos/plugins/nfs.py
@@ -19,7 +19,7 @@ class Nfs(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"""NFS related information
"""
plugin_name = 'nfs'
- profiles = ('storage', 'network')
+ profiles = ('storage', 'network', 'nfs')
packages = ['nfs-utils']
def setup(self):
diff --git a/sos/plugins/nfsserver.py b/sos/plugins/nfsserver.py
index fb1c1a07..203638c8 100644
--- a/sos/plugins/nfsserver.py
+++ b/sos/plugins/nfsserver.py
@@ -24,7 +24,7 @@ class NfsServer(Plugin, RedHatPlugin):
"""
plugin_name = 'nfsserver'
- profiles = ('storage', 'network', 'services')
+ profiles = ('storage', 'network', 'services', 'nfs')
def check_enabled(self):
default_runlevel = self.policy().default_runlevel()
diff --git a/sos/plugins/sunrpc.py b/sos/plugins/sunrpc.py
index 6d147416..d2bccd27 100644
--- a/sos/plugins/sunrpc.py
+++ b/sos/plugins/sunrpc.py
@@ -22,7 +22,7 @@ class SunRPC(Plugin):
"""
plugin_name = "sunrpc"
- profiles = ('system', 'storage', 'network')
+ profiles = ('system', 'storage', 'network', 'nfs')
service = None
def check_enabled(self):