aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Bonazzola <sbonazzo redhat com>2014-12-17 11:41:07 +0000
committerBryn M. Reeves <bmr@redhat.com>2014-12-17 11:41:07 +0000
commit08ffb581c93456f0c6e408677a6099aea90379b1 (patch)
treeed38f0873f1b18bd107dc19d17c466527c6ec7f9
parentccbf333aebd4c0586347de5991b62a50928858b7 (diff)
downloadsos-08ffb581c93456f0c6e408677a6099aea90379b1.tar.gz
[ovirt] remove duplicate code
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/ovirt.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/sos/plugins/ovirt.py b/sos/plugins/ovirt.py
index 638a07b1..b097d930 100644
--- a/sos/plugins/ovirt.py
+++ b/sos/plugins/ovirt.py
@@ -186,31 +186,5 @@ class Ovirt(Plugin, RedHatPlugin):
r'{key}=********'.format(key=key)
)
- # Answer files contain passwords
- for key in (
- 'OVESETUP_CONFIG/adminPassword',
- 'OVESETUP_CONFIG/remoteEngineHostRootPassword',
- ):
- self.do_path_regex_sub(
- r'/var/lib/ovirt-engine/setup/answers/.*',
- r'{key}=(.*)'.format(key=key),
- r'{key}=********'.format(key=key)
- )
-
- # Answer files contain passwords
- for key in (
- 'OVESETUP_CONFIG/adminPassword',
- 'OVESETUP_CONFIG/remoteEngineHostRootPassword',
- 'OVESETUP_DWH_DB/password',
- 'OVESETUP_DB/password',
- 'OVESETUP_REPORTS_CONFIG/adminPassword',
- 'OVESETUP_REPORTS_DB/password',
- ):
- self.do_path_regex_sub(
- r'/var/lib/ovirt-engine/setup/answers/.*',
- r'{key}=(.*)'.format(key=key),
- r'{key}=********'.format(key=key)
- )
-
# vim: expandtab tabstop=4 shiftwidth=4