[fix] Correct jinja syntax + indent all lines

This commit is contained in:
William Wernert
2020-10-06 14:49:01 -04:00
parent bd4292711e
commit 27351fa520

View File

@@ -1,4 +1,4 @@
{%- set logrotate_conf = salt['pillar.get']['logrotate:conf'] %}
{%- set logrotate_conf = salt['pillar.get']('logrotate:conf') %}
/opt/so/log/aptcacher-ng/*.log
/opt/so/log/idstools/*.log
@@ -15,5 +15,5 @@
/opt/so/log/telegraf/*.log
/opt/so/log/redis/*.log
{
{{ logrotate_conf }}
{{ logrotate_conf | indent(width=4) }}
}