aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-09-05 12:32:26 +0200
committerBryn M. Reeves <bmr@redhat.com>2019-10-03 14:08:54 +0100
commitcf92ed22a9707319a2d4b4cdc52cc6ba246ba19d (patch)
treecb5caae80b5de6d726c74791a5d8adf24ce1e92b
parenta36c892e7a60ef5bba03e07c12ef1939fd2f0a45 (diff)
downloadsos-cf92ed22a9707319a2d4b4cdc52cc6ba246ba19d.tar.gz
[gluster] collect statedumps from /run directly
As /run being the default runtime directory for units, we should methodically generate statedumps to /run instead of /var/run. Resolves: #1773 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/gluster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/gluster.py b/sos/plugins/gluster.py
index ae770f07..fe14709d 100644
--- a/sos/plugins/gluster.py
+++ b/sos/plugins/gluster.py
@@ -20,7 +20,7 @@ class Gluster(Plugin, RedHatPlugin):
plugin_name = 'gluster'
profiles = ('storage', 'virt')
- statedump_dir = '/var/run/gluster'
+ statedump_dir = '/run/gluster'
packages = ["glusterfs", "glusterfs-core"]
files = ["/etc/glusterd", "/var/lib/glusterd"]