aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Castillo <jcastillo@redhat.com>2018-03-28 18:23:48 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-05-21 15:54:29 +0100
commitcf676ebdbe91a6a5736e2f052e932a935d9ca381 (patch)
treec526df459dcdd49b5e6739458c54cf12e290ee9b
parent55b4261eb5a05d761ede8274ff62340290122e30 (diff)
downloadsos-cf676ebdbe91a6a5736e2f052e932a935d9ca381.tar.gz
[abrt] Add config files to sosreport
This patch adds the configuration files /etc/abrt/abrt.conf, /etc/abrt/abrt-action-save-package-data.conf, and /etc/abrt/plugins that were not collected in the abrt plugin. Closes: #1251 Resolves: #1252 Signed-off-by: Jose Castillo <jcastillo@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/abrt.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/plugins/abrt.py b/sos/plugins/abrt.py
index ce087143..6dfce928 100644
--- a/sos/plugins/abrt.py
+++ b/sos/plugins/abrt.py
@@ -41,4 +41,9 @@ class Abrt(Plugin, RedHatPlugin):
if self.get_option('detailed') and list_file:
self.info_detailed(list_file)
+ self.add_copy_spec([
+ "/etc/abrt/abrt.conf",
+ "/etc/abrt/abrt-action-save-package-data.conf",
+ "/etc/abrt/plugins"
+ ])
# vim: set et ts=4 sw=4 :