| {%- from "linux/map.jinja" import system with context -%} |
| # general parameters like debug, verbose and so on. batch is enabled for salt by default |
| [general] |
| batch = yes |
| {%- if system.sosreport.config_options.general is defined %} |
| {%- for key, value in system.sosreport.config_options.general.items() %} |
| {{ key }} = {{ value }} |
| {%- endfor %} |
| {%- endif %} |
| |
| # enable/disable specified plugins |
| [plugins] |
| {%- if system.sosreport.config_options.plugins is defined %} |
| {%- for status, plugins in system.sosreport.config_options.plugins.items() %} |
| {{ status }} = {{ plugins|join(',') }} |
| {%- endfor %} |
| {%- endif %} |
| |
| # custom options for enabled plugins |
| [tunables] |
| {%- if system.sosreport.config_options.tunables is defined %} |
| {%- for key, value in system.sosreport.config_options.tunables.items() %} |
| {{ key }} = {{ value }} |
| {%- endfor %} |
| {%- endif -%} |