From ef88f3d0476b234642563e46a355684c796e058a Mon Sep 17 00:00:00 2001 From: Eric Veiras Galisson Date: Thu, 11 Apr 2019 15:04:32 +0200 Subject: [PATCH] fix: corrected indentation on context in file.managed states --- logrotate/jobs.sls | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/logrotate/jobs.sls b/logrotate/jobs.sls index 87a2e0f..2fd905a 100644 --- a/logrotate/jobs.sls +++ b/logrotate/jobs.sls @@ -22,11 +22,11 @@ logrotate-{{ key }}: - template: jinja - context: {% if value is mapping %} - path: {{ value.get('path', [key]) | json }} - data: {{ value.get('config', []) | json }} + path: {{ value.get('path', [key]) | json }} + data: {{ value.get('config', []) | json }} {% else %} - path: [ {{ key | json }} ] - data: {{ value | json }} + path: [ {{ key | json }} ] + data: {{ value | json }} {% endif %} {% endif %} {%- endfor -%}