From 938be46fafe1ef125a941693687a5c6822dbfe52 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 30 Apr 2023 18:20:54 +0200 Subject: Quote BookStack values Some strings contain spaces or special characters and should be quoted. Signed-off-by: Georg Pfuetzenreuter --- salt/profile/bookstack/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/profile/bookstack/init.sls b/salt/profile/bookstack/init.sls index 3dc5a36..a9ef891 100644 --- a/salt/profile/bookstack/init.sls +++ b/salt/profile/bookstack/init.sls @@ -27,7 +27,7 @@ bookstack_permissions: {%- if mypillar[option] is string and mypillar[option].startswith('$') or mypillar[option] is number %} {%- set value = mypillar[option] %} {%- else %} - {%- set value = mypillar[option] | quote %} + {%- set value = "'" ~ mypillar[option] ~ "'" | quote %} {%- endif %} {{ option | upper }}: {{ value }} {%- endif -%} -- cgit v1.2.3