diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2009-09-08 18:30:57 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2009-09-08 18:30:57 +0000 |
commit | 974dbf9c262921502d73d2fc527146deb78db693 (patch) | |
tree | d6754d110d6aa9d60fb8aa7d3194cade07ab5cbe /src | |
parent | c915608457571de49983966d2a11fc82dabd1c8f (diff) | |
download | sos-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')
-rw-r--r-- | src/lib/sos/plugins/cluster.py | 2 | ||||
-rw-r--r-- | src/lib/sos/plugins/rpm.py | 2 | ||||
-rw-r--r-- | src/sos.conf | 4 |
3 files changed, 5 insertions, 3 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") diff --git a/src/sos.conf b/src/sos.conf index 22cd4557..29bbfaf0 100644 --- a/src/sos.conf +++ b/src/sos.conf @@ -11,4 +11,6 @@ smtp_server = None [tunables] -#rpm.rpmva = off +rpm.rpmva = off +general.syslogsize = 15 + |