aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-08-12 20:15:25 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-08-12 20:15:25 +0100
commit3a2c3d069b9700d3275048e6f169f230dd1ea402 (patch)
treed65368268ab314008cc7184759bf0ea58a6de9d2
parent90531cc000690e30a74df025e97dd39950da6fae (diff)
downloadsos-3a2c3d069b9700d3275048e6f169f230dd1ea402.tar.gz
Add file substitution rule for openhpiclient.conf
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/openhpi.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/plugins/openhpi.py b/sos/plugins/openhpi.py
index bb352064..a75f016d 100644
--- a/sos/plugins/openhpi.py
+++ b/sos/plugins/openhpi.py
@@ -31,4 +31,7 @@ class OpenHPI(Plugin, RedHatPlugin):
self.do_file_sub("/etc/openhpi/openhpi.conf"
r'([Pp]assw(or)?d|[Pp]assphrase)[[:space:]]+\=[[:space:]]"(.*)"',
r"\1******")
+ self.do_file_sub("/etc/openhpi/openhpiclient.conf"
+ r'([Pp]assw(or)?d|[Pp]assphrase)[[:space:]]+\=[[:space:]]"(.*)"',
+ r"\1******")