aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-05 19:04:51 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-05 19:50:33 +0000
commitc3c27264cfecdfdad334a8c08660be5e0590138a (patch)
treebf63954467a2ea45999f1f9286def5474ae19b05
parentfcee39532f5d6ae49f9f0db429706d2f7085ed2b (diff)
downloadsos-c3c27264cfecdfdad334a8c08660be5e0590138a.tar.gz
Obscure password in corosync-objctl output
-rw-r--r--sos/plugins/cluster.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py
index 3eb19fb5..97e14654 100644
--- a/sos/plugins/cluster.py
+++ b/sos/plugins/cluster.py
@@ -129,4 +129,5 @@ class cluster(Plugin, RedHatPlugin):
def postproc(self):
for cluster_conf in glob("/etc/cluster/cluster.conf*"):
self.doFileSub(cluster_conf, r"(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")", r"\1%s" %('"***"'))
+ self.doExtOutputSub("corosync-objctl", r"(.*fence.*\.passwd=)(.*)", r"\1******")
return