summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--salt/profile/bookstack/init.sls4
1 files changed, 2 insertions, 2 deletions
diff --git a/salt/profile/bookstack/init.sls b/salt/profile/bookstack/init.sls
index 05f07b6..bc63a03 100644
--- a/salt/profile/bookstack/init.sls
+++ b/salt/profile/bookstack/init.sls
@@ -24,10 +24,10 @@ bookstack_permissions:
- key_values:
{%- macro condconf(option) %}
{%- if option in mypillar -%}
- {%- if mypillar[option] is string and mypillar[option].startswith('$') or mypillar[option] is number %}
+ {%- 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] ~ "\"'" %}
{%- endif %}
{{ option | upper }}: {{ value }}
{%- endif -%}