From ac4247c3964653232474b9a4f40b7010b41480bc Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Fri, 28 Dec 2018 12:37:25 -0500 Subject: [redhat] Enable apache.log option for RH Sat preset Sets the Red Hat Satellite preset to enable the apache 'log' option by default so that all of /var/log/httpd is collected Related: #1525 Signed-off-by: Jake Hunsaker Signed-off-by: Bryn M. Reeves --- sos/policies/redhat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py index 3a759eda..a1f3b2ed 100644 --- a/sos/policies/redhat.py +++ b/sos/policies/redhat.py @@ -214,6 +214,7 @@ RHOCP_DESC = "OpenShift Container Platform by Red Hat" RH_SATELLITE = "satellite" RH_SATELLITE_DESC = "Red Hat Satellite" +SAT_OPTS = SoSOptions(verify=True, plugopts=['apache.log=on']) CB = "cantboot" CB_DESC = "For use when normal system startup fails" @@ -233,7 +234,7 @@ rhel_presets = { RHOCP: PresetDefaults(name=RHOCP, desc=RHOCP_DESC, note=NOTE_SIZE_TIME, opts=_opts_all_logs_verify), RH_SATELLITE: PresetDefaults(name=RH_SATELLITE, desc=RH_SATELLITE_DESC, - note=NOTE_TIME, opts=_opts_verify), + note=NOTE_TIME, opts=SAT_OPTS), CB: PresetDefaults(name=CB, desc=CB_DESC, note=CB_NOTE, opts=CB_OPTS) } -- cgit