From 2ce1d66d50c76060b395f58f8ce8251598f42460 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 25 May 2021 23:32:55 +0200 Subject: [PATCH] chore: fix jinja syntax --- templates/etc/logrotate.d/config.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/etc/logrotate.d/config.j2 b/templates/etc/logrotate.d/config.j2 index 0aa3ac1..cef297f 100644 --- a/templates/etc/logrotate.d/config.j2 +++ b/templates/etc/logrotate.d/config.j2 @@ -8,28 +8,28 @@ {% for option in definition.options %} {{ option }} {% endfor %} -{% if definition.postrotate|default([]) %} +{% if definition.postrotate | default([]) %} postrotate {% for line in definition.postrotate %} {{ line }} {% endfor %} endscript {% endif %} -{% if definition.preremove|default([]) %} +{% if definition.preremove | default([]) %} preremove {% for line in definition.preremove %} {{ line }} {% endfor %} endscript {% endif %} -{% if definition.lastaction|default([]) %} +{% if definition.lastaction | default([]) %} lastaction {% for line in definition.lastaction %} {{ line }} {% endfor %} endscript {% endif %} -{% if definition.firstaction|default([]) %} +{% if definition.firstaction | default([]) %} firstaction {% for line in definition.firstaction %} {{ line }}