aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2009-09-08 18:30:57 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2009-09-08 18:30:57 +0000
commit974dbf9c262921502d73d2fc527146deb78db693 (patch)
treed6754d110d6aa9d60fb8aa7d3194cade07ab5cbe /src/lib
parentc915608457571de49983966d2a11fc82dabd1c8f (diff)
downloadsos-974dbf9c262921502d73d2fc527146deb78db693.tar.gz
minor change in cluster sanitizing
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@636 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/sos/plugins/cluster.py2
-rw-r--r--src/lib/sos/plugins/rpm.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/sos/plugins/cluster.py b/src/lib/sos/plugins/cluster.py
index afc45254..f7bea298 100644
--- a/src/lib/sos/plugins/cluster.py
+++ b/src/lib/sos/plugins/cluster.py
@@ -251,7 +251,7 @@ class cluster(sos.plugintools.PluginBase):
def postproc(self):
for cluster_conf in glob.glob("/etc/cluster/cluster.conf*"):
- self.doRegexSub(cluster_conf, r"(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")", r"\1\"***\"")
+ self.doRegexSub(cluster_conf, r"(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")", r"\1%s" %('"***"'))
return
def is_cluster_quorate(self):
diff --git a/src/lib/sos/plugins/rpm.py b/src/lib/sos/plugins/rpm.py
index f56383c5..4fbf7428 100644
--- a/src/lib/sos/plugins/rpm.py
+++ b/src/lib/sos/plugins/rpm.py
@@ -18,7 +18,7 @@ class rpm(sos.plugintools.PluginBase):
"""RPM information
"""
optionList = [("rpmq", "queries for package information via rpm -q", "fast", True),
- ("rpmva", "runs a verify on all packages", "slow", True)]
+ ("rpmva", "runs a verify on all packages", "slow", False)]
def setup(self):
self.addCopySpec("/var/log/rpmpkgs")