aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/sos/plugins/cluster.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/sos/plugins/cluster.py b/src/lib/sos/plugins/cluster.py
index 35d05948..28495a06 100644
--- a/src/lib/sos/plugins/cluster.py
+++ b/src/lib/sos/plugins/cluster.py
@@ -15,6 +15,7 @@
import sos.plugintools
import commands, os, re
import time, libxml2
+import glob
class cluster(sos.plugintools.PluginBase):
"""cluster suite and GFS related information
@@ -246,7 +247,8 @@ class cluster(sos.plugintools.PluginBase):
return
def postproc(self):
- self.doRegexSub("/etc/cluster/cluster.conf", r"(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")", r"\1\"***\"")
+ for cluster_conf in glob.glob("/etc/cluster/cluster.conf*"):
+ self.doRegexSub(cluster_conf, r"(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")", r"\1\"***\"")
return
def is_cluster_quorate(self):