From af5ec486d29e91ad9938633fb81764541a500301 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Tue, 18 Oct 2022 15:35:06 +0100 Subject: [PATCH] Jinja v2.10 renamed indentfirst to indent Instead of trying to enforce versions of jinja on users include the indentation of the first line and accept the other defaults of indent --- templates/auditbeat-windows.yml.j2 | 2 +- templates/auditbeat.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/auditbeat-windows.yml.j2 b/templates/auditbeat-windows.yml.j2 index ebd4252..868907c 100644 --- a/templates/auditbeat-windows.yml.j2 +++ b/templates/auditbeat-windows.yml.j2 @@ -107,7 +107,7 @@ output.redis: {% if auditbeat_processors is defined %} processors: -{{ auditbeat_processors | indent( width=2, indentfirst=True) }} + {{ auditbeat_processors | indent( width=2 ) }} {% endif %} #============================== X-Pack Monitoring =============================== diff --git a/templates/auditbeat.yml.j2 b/templates/auditbeat.yml.j2 index aa61752..339d0b9 100644 --- a/templates/auditbeat.yml.j2 +++ b/templates/auditbeat.yml.j2 @@ -120,7 +120,7 @@ output.redis: {% if auditbeat_processors is defined %} processors: -{{ auditbeat_processors | indent( width=2, indentfirst=True) }} + {{ auditbeat_processors | indent( width=2 ) }} {% endif %} #============================== X-Pack Monitoring ===============================