Blob Blame History Raw
commit eaa0d9442972a38635967d855c57bbfbe6ba7023
Author: Bryn M. Reeves <bmr@redhat.com>
Date:   Mon Feb 3 13:03:04 2014 +0000

    Add rhsm-debug collection to yum plugin
    
    Signed-off-by: Bryn M. Reeves <bmr@redhat.com>

diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py
index 867302c..a9ae4e4 100644
--- a/sos/plugins/yum.py
+++ b/sos/plugins/yum.py
@@ -48,6 +48,8 @@ class Yum(Plugin, RedHatPlugin):
             "/var/log/rhsm/rhsmcertd.log"])
         self.add_cmd_output("subscription-manager list --installed")
         self.add_cmd_output("subscription-manager list --consumed")
+        self.add_cmd_output("rhsm-debug system --destination %s"
+                % self.get_cmd_dir())
 
         if self.get_option("yumlist"):
             # List various information about available packages