From 27351fa5205dfcbdb2f87d13e2d19738f7a2e28b Mon Sep 17 00:00:00 2001 From: William Wernert Date: Tue, 6 Oct 2020 14:49:01 -0400 Subject: [PATCH] [fix] Correct jinja syntax + indent all lines --- salt/common/files/log-rotate.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/common/files/log-rotate.conf b/salt/common/files/log-rotate.conf index 5cd444757..56fef6846 100644 --- a/salt/common/files/log-rotate.conf +++ b/salt/common/files/log-rotate.conf @@ -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) }} }