From 492eecaea49393d4cb3d05fbae7362b70b0bfb3a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 5 Aug 2023 17:43:16 +0200 Subject: [PATCH] fix newlines in containe file --- templates/etc/containers/systemd/vault.container.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/etc/containers/systemd/vault.container.j2 b/templates/etc/containers/systemd/vault.container.j2 index 917584f..5d7f009 100644 --- a/templates/etc/containers/systemd/vault.container.j2 +++ b/templates/etc/containers/systemd/vault.container.j2 @@ -17,7 +17,7 @@ EnvironmentFile=/etc/containers/systemd/vault.env {% for item in vault_volumes %} Volume={{ item.name }}:{{ item.dest }}{{ ":" + item.opts if item.opts is defined else "" }} {% endfor %} -{% if (redis_cap_add + redis_cap_drop) | length > 0 %} +{% if (vault_cap_add + vault_cap_drop) | length > 0 %} {% if vault_cap_add | length > 0 %} AddCapability={{ vault_cap_add | join(" ") }}