Blob Blame History Raw
commit dedffd8549bcaf4688f090d800bff7f4ed7b9d43
Author: Bryn M. Reeves <bmr@redhat.com>
Date:   Tue Nov 12 13:44:09 2013 +0000

    Fix typo in yum add_forbidden_paths()
    
    The PKI files that should be omitted are in /etc/pki/entitlement,
    not /etc/pki/entitlements as the plug-in currently uses.
    
    Signed-off-by: Bryn M. Reeves <bmr@redhat.com>

diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py
index 6d473c9..5abf06f 100644
--- a/sos/plugins/yum.py
+++ b/sos/plugins/yum.py
@@ -39,8 +39,8 @@ class Yum(Plugin, RedHatPlugin):
         self.add_cmd_output("yum -C repolist")
 
         # candlepin info
-        self.add_forbidden_path("/etc/pki/entitlements/key.pem")
-        self.add_forbidden_path("/etc/pki/entitlements/*-key.pem")
+        self.add_forbidden_path("/etc/pki/entitlement/key.pem")
+        self.add_forbidden_path("/etc/pki/entitlement/*-key.pem")
         self.add_copy_specs([
             "/etc/pki/product/*.pem",
             "/etc/pki/consumer/cert.pem",