aboutsummaryrefslogtreecommitdiffstats
path: root/sos.conf
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-06-26 12:29:09 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-07-21 10:01:01 -0400
commitb350e34bc175a56eb8b941ae7e3c89b2d876ea48 (patch)
tree4c015d95b8ab65c3494cbb69922515364f3e3e20 /sos.conf
parent063273cb43d9b641d48fcf160d1e993154d7ce3f (diff)
downloadsos-b350e34bc175a56eb8b941ae7e3c89b2d876ea48.tar.gz
[global] Update config file location and layout
Moves the default config file we look for to /etc/sos/sos.conf instead of /etc/sos.conf. Extends the config file to look for a section matching the name of the component being used. Renames the "general" section to "global" and the "tunables" section to "plugin_options". Updates the default sos.conf to this style and adds some comments to the file. Update the man page for sos.conf. Note that this commit does NOT update sos.spec to drop the default configuration file in the new location, as that will be handled by a later commit to update the specfile wholesale. Closes: #2125 Resolves: #2136 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'sos.conf')
-rw-r--r--sos.conf33
1 files changed, 29 insertions, 4 deletions
diff --git a/sos.conf b/sos.conf
index ad15af86..4c2c383a 100644
--- a/sos.conf
+++ b/sos.conf
@@ -1,11 +1,36 @@
-[general]
+[global]
+# Set global options here that are not component specific
+# If you would like one global default value to be specifically overridden for
+# just one component, but not others, you may override that value in the
+# component specific section below
#verbose = 3
#verify = yes
#batch = yes
#log-size = 15
-[plugins]
-#disable = rpm, selinux, dovecot
+[report]
+# Options that will apply to any `sos report` run should be listed here.
+# Note that the option names *must* be the long-form name as seen in --help
+# output. Use a comma for list delimitations.
+#skip-plugins = rpm, selinux, dovecot
+#enable-plugins = host,logs
-[tunables]
+[collect]
+# Options that will apply to any `sos collect` run should be listed here.
+# Note that the option names *must* be the long-form name as seen in --help
+# output. Use a comma for list delimitations
+#master = myhost.example.com
+#ssh-key = /home/user/.ssh/mykey
+#password = true
+
+[clean]
+# Options that will apply to any `sos clean|mask` run should be listed here.
+# Note that the option names *must* be the long-form name as seen in --help
+# output. Use a comma for list delimitations
+#domains = mydomain.com
+#no-update = true
+
+[plugin_options]
+# Specify any plugin options and their values here. These options take the form
+# plugin_name.option_name = value
#rpm.rpmva = off