Blame SOURCES/sos-bz829297-fix-typo-in-yum-add_forbidden_paths.patch

6b17e9
commit dedffd8549bcaf4688f090d800bff7f4ed7b9d43
6b17e9
Author: Bryn M. Reeves <bmr@redhat.com>
6b17e9
Date:   Tue Nov 12 13:44:09 2013 +0000
6b17e9
6b17e9
    Fix typo in yum add_forbidden_paths()
6b17e9
    
6b17e9
    The PKI files that should be omitted are in /etc/pki/entitlement,
6b17e9
    not /etc/pki/entitlements as the plug-in currently uses.
6b17e9
    
6b17e9
    Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
6b17e9
6b17e9
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py
6b17e9
index 6d473c9..5abf06f 100644
6b17e9
--- a/sos/plugins/yum.py
6b17e9
+++ b/sos/plugins/yum.py
6b17e9
@@ -39,8 +39,8 @@ class Yum(Plugin, RedHatPlugin):
6b17e9
         self.add_cmd_output("yum -C repolist")
6b17e9
 
6b17e9
         # candlepin info
6b17e9
-        self.add_forbidden_path("/etc/pki/entitlements/key.pem")
6b17e9
-        self.add_forbidden_path("/etc/pki/entitlements/*-key.pem")
6b17e9
+        self.add_forbidden_path("/etc/pki/entitlement/key.pem")
6b17e9
+        self.add_forbidden_path("/etc/pki/entitlement/*-key.pem")
6b17e9
         self.add_copy_specs([
6b17e9
             "/etc/pki/product/*.pem",
6b17e9
             "/etc/pki/consumer/cert.pem",