diff options
-rw-r--r-- | sos/plugins/yum.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py index 3e35aaa3..41dc268d 100644 --- a/sos/plugins/yum.py +++ b/sos/plugins/yum.py @@ -37,6 +37,8 @@ class yum(sos.plugintools.PluginBase): "information and can cause rpm conflicts.") def setup(self): + rhelver = self.policy().rhelVersion() + # Pull all yum related information self.addCopySpecs([ "/etc/yum", @@ -44,6 +46,13 @@ class yum(sos.plugintools.PluginBase): "/etc/yum.conf", "/var/log/yum.log"]) + # candlepin info + self.addForbiddenPath("/etc/pki/entitlements/key.pem") + self.addCopySpecs([ + "/etc/pki/product/*.pem", + "/etc/pki/consumer/cert.pem", + "/etc/pki/entitlements/*.pem"]) + if self.getOption("yumlist"): # Get a list of channels the machine is subscribed to. self.collectExtOutput("/bin/echo \"repo list\" | /usr/bin/yum shell") |