aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-07 21:26:06 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-07 21:26:06 +0000
commit3dfa89ca8043d9097df270e895b8ff0ad9e5a725 (patch)
tree44a94f80c360f2f79d69a3ec17033ae3580ec1b6
parent0f40c7cbaefa33e282d7d73e0ccae67be309fe56 (diff)
downloadsos-3dfa89ca8043d9097df270e895b8ff0ad9e5a725.tar.gz
Obscure password in /etc/keystone/keystone.conf
-rw-r--r--sos/plugins/openstack.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/plugins/openstack.py b/sos/plugins/openstack.py
index 485187d5..edcfa3fe 100644
--- a/sos/plugins/openstack.py
+++ b/sos/plugins/openstack.py
@@ -185,3 +185,8 @@ class RedHatOpenStack(openstack, RedHatPlugin):
# Quantum
self.addCopySpecs(["/etc/quantum/",
"/var/log/quantum/"])
+
+ def postproc(self):
+ self.doFileSub('/etc/keystone/keystone.conf',
+ r"(admin_password\s*=\s*)(.*)",
+ r"\1******")