Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion templates/system-probe.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

{% if system_probe_config is defined and system_probe_config|length > 0 -%}
system_probe_config:
{% filter indent(width=2, first=True) %}
{# The "first" option is only supported by jinja 2.10+
which is not present on older systems (CentOS 7, Debian 8, etc.)
Using the equivalent option "indentfirst" will work with
all currently existing jinja 2 versions (as of this comment, up to 2.10).
TODO: when future versions of Jinja are released, check that
indentfirst is still supported.
#}
{% filter indent(width=2, indentfirst=True) %}
{{ system_probe_config | to_nice_yaml }}
{% endfilter %}
{% endif %}