aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Robertson <kroberts@redhat.com>2011-11-09 15:05:00 -0500
committerKeith Robertson <kroberts@redhat.com>2011-11-14 15:58:07 -0500
commit7538023d9a1d0f63da8785d3d1fdd6c283d0c6d7 (patch)
tree09b8d567ae2a3706990fde67a9148f2220353eb3
parentf5dbb92e6f6ec5b665d03ca76c7f413901597b78 (diff)
downloadsos-7538023d9a1d0f63da8785d3d1fdd6c283d0c6d7.tar.gz
New plugin for gluster.
- Added checkEnabled
-rw-r--r--sos/plugins/gluster.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/gluster.py b/sos/plugins/gluster.py
index 27c69b5a..bf5b25c7 100644
--- a/sos/plugins/gluster.py
+++ b/sos/plugins/gluster.py
@@ -22,5 +22,6 @@ class gluster(sos.plugintools.PluginBase):
return os.path.exists("/etc/glusterd")
def setup(self):
- self.addCopySpec("/etc/glusterd/")
- self.addCopySpec("/var/log/glusterfs/")
+ self.addForbiddenPath("/etc/glusterd/geo-replication/secret.pem")
+ self.addCopySpec("/etc/glusterd")
+ self.addCopySpec("/var/log/glusterfs")