diff options
Diffstat (limited to 'salt/profile')
-rw-r--r-- | salt/profile/bookstack/init.sls | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/salt/profile/bookstack/init.sls b/salt/profile/bookstack/init.sls index 3dc5a36..ea75ec4 100644 --- a/salt/profile/bookstack/init.sls +++ b/salt/profile/bookstack/init.sls @@ -10,7 +10,7 @@ bookstack_permissions: file.managed: - mode: '0640' - user: root - - group: wwwrun + - group: www - names: - {{ configfile }} @@ -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 -%} |