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) }} }