summaryrefslogtreecommitdiffstats
path: root/salt
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-04-30 18:20:54 +0200
committerGeorg Pfuetzenreuter2023-04-30 18:20:54 +0200
commit938be46fafe1ef125a941693687a5c6822dbfe52 (patch)
tree739f95c4c8a9e7f03f998c7adb39e2cb6e3da3e7 /salt
parent600a73a984f5452e840c1c69db2b91763d760734 (diff)
downloadsalt-938be46fafe1ef125a941693687a5c6822dbfe52.tar.gz
salt-938be46fafe1ef125a941693687a5c6822dbfe52.tar.bz2
salt-938be46fafe1ef125a941693687a5c6822dbfe52.zip
Quote BookStack values
Some strings contain spaces or special characters and should be quoted. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'salt')
-rw-r--r--salt/profile/bookstack/init.sls2
1 files changed, 1 insertions, 1 deletions
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 -%}