aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-04-22 15:50:31 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-04-22 15:50:31 +0000
commitb97829653d226c7de94fcd7a61d0f4a4bbd847ee (patch)
treee293ba71e5fd5493b86aeb9136becc8189d70961
parentf0ae44dde814ebe07159435e06fbb322f935d9e1 (diff)
downloadsos-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.py6
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