aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schuppert <mschuppert@redhat.com>2017-11-21 10:10:33 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-04-16 16:01:27 +0100
commite4c0ac55b7af5ae75e96f123903ad3b536322624 (patch)
treeab63b506c8383d2f05c058ca94f5f87772d4b6c0
parent21f443e00387ddd3e3ad428ab655d4a13e2f506d (diff)
downloadsos-e4c0ac55b7af5ae75e96f123903ad3b536322624.tar.gz
[openstack_horizon] fix password obfuscate in local_settings
commit d0bcd552f4bc2119afd2a835f4e5ec1107421f40 broke the replacement of the protect_keys for the main local_settings config file. Resolves: #1151 Signed-off-by: Martin Schuppert mschuppe@redhat.com Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/openstack_horizon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/openstack_horizon.py b/sos/plugins/openstack_horizon.py
index d4f45711..90634d4f 100644
--- a/sos/plugins/openstack_horizon.py
+++ b/sos/plugins/openstack_horizon.py
@@ -74,11 +74,11 @@ class OpenStackHorizon(Plugin):
regexp, r"\1*********"
)
self.do_path_regex_sub(
- "/etc/openstack-dashboard/local_settings/.*\.conf.*",
+ "/etc/openstack-dashboard/local_settings$",
regexp, r"\1*********"
)
self.do_path_regex_sub(
- var_puppet_gen + "/etc/openstack-dashboard/.*\.conf.*",
+ var_puppet_gen + "/etc/openstack-dashboard/local_settings$",
regexp, r"\1*********"
)