aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-03-08 09:10:00 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-03-19 18:50:38 +0000
commitc3b634f6d527d6010e69c092fc382db8d3d98eb7 (patch)
treeedfa4a9e1a08095bf9e37b5721fb2fd5172602bc
parent4b49c3d9e1b44ba583f5b432b75b176505efe27f (diff)
downloadsos-2.2-22.el6.tar.gz
Correct aeolus debug invocation in CloudForms modulesos-2.2-22.el6
Resolves: bz752666
-rw-r--r--sos/plugins/cloudforms.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/sos/plugins/cloudforms.py b/sos/plugins/cloudforms.py
index 98621330..df63e77f 100644
--- a/sos/plugins/cloudforms.py
+++ b/sos/plugins/cloudforms.py
@@ -24,31 +24,3 @@ class cloudforms(sos.plugintools.PluginBase):
if os.path.isfile(aeolus_debug):
aeolus_debug_path = os.path.join(self.cInfo['dstroot'],"aeolus-debug")
self.collectExtOutput("%s --notar -d %s" % (aeolus_debug, aeolus_debug_path))
-
-import sos.plugintools
-import os
-
-class cloudforms(sos.plugintools.PluginBase):
- """CloudForms related information
- """
-
- def defaultenabled(self):
- return True
-
- def checkenabled(self):
- self.packages = ["katello", "katello-common",
- "katello-headpin", "aeolus-conductor"]
- self.files = ["/usr/share/katello/script/katello-debug",
- "/usr/bin/aeolus-debug"]
- return sos.plugintools.PluginBase.checkenabled(self)
-
- def setup(self):
- katello_debug = "/usr/share/katello/script/katello-debug"
- aeolus_debug = "/usr/bin/aeolus-debug"
- if os.path.isfile(katello_debug):
- katello_debug_path = os.path.join(self.cInfo['dstroot'],"katello-debug")
- self.collectExtOutput("%s --notar -d %s" % (katello_debug, katello_debug_path))
- if os.path.isfile(aeolus_debug):
- aeolus_debug_path = os.path.join(self.cInfo['dstroot'],"aeolus-debug")
- self.collectExtOutput("%s --notar -d %s" % (aeolus_debug, aeolus_debug_path))
-