aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-11-12 13:44:09 +0000
committerBryn M. Reeves <bmr@redhat.com>2013-11-12 13:44:09 +0000
commitf6d6b4bd3d50808af5bbaef84ebbe06cdebd743a (patch)
treecc176f73d7ee631d6952a6dfc4d9be9fced41c31
parent4b9a8c66313ddbda319298772950c440f6113ac7 (diff)
downloadsos-f6d6b4bd3d50808af5bbaef84ebbe06cdebd743a.tar.gz
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>
-rw-r--r--sos/plugins/yum.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py
index 6d473c90..5abf06f6 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",