diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-04-22 15:50:31 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-04-22 15:50:31 +0000 |
commit | b97829653d226c7de94fcd7a61d0f4a4bbd847ee (patch) | |
tree | e293ba71e5fd5493b86aeb9136becc8189d70961 | |
parent | f0ae44dde814ebe07159435e06fbb322f935d9e1 (diff) | |
download | sos-b97829653d226c7de94fcd7a61d0f4a4bbd847ee.tar.gz |
need to include compressed archive from vrtsexplorer results
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@938 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r-- | sos/plugins/veritas.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sos/plugins/veritas.py b/sos/plugins/veritas.py index bd1c778f..f2d610f7 100644 --- a/sos/plugins/veritas.py +++ b/sos/plugins/veritas.py @@ -30,6 +30,10 @@ class veritas(sos.plugintools.PluginBase): def setup(self): """ interface with vrtsexplorer to capture veritas related data """ - self.collectExtOutput(self.getOption("script")) + stat, out, runtime = self.callExtProg(self.getOption("script")) + for line in out.readlines(): + line = line.strip() + tarfile = self.doRegexFindAll(r"ftp (.*tar.gz)", line) + self.addCopySpec(tarfile) return |