Import themis / BookStack #35

Merged
pratyush merged 13 commits from bookstack into production 2023-03-11 22:11:32 +01:00
Showing only changes of commit c932881cd7 - Show all commits

View File

@ -24,7 +24,12 @@ bookstack_permissions:
- key_values:
{%- macro condconf(option) %}
{%- if option in mypillar -%}
{{ option | upper }}: {{ mypillar[option] }}
{%- if mypillar[option] is string and mypillar[option].startswith('$') or mypillar[option] is number %}
{%- set value = mypillar[option] %}
{%- else %}
{%- set value = mypillar[option] | quote %}
{%- endif %}
{{ option | upper }}: {{ value }}
{%- endif -%}
{%- endmacro %}
{{ condconf('app_url') }}
@ -55,7 +60,6 @@ bookstack_permissions:
{{ condconf('saml2_external_id_attribute') }}
{{ condconf('saml2_display_name_attributes') }}
{{ condconf('saml2_idp_entityid') }}
{{ condconf('saml2_idp_entityid') }}
{{ condconf('saml2_idp_sso') }}
{{ condconf('saml2_idp_slo') }}
{{ condconf('saml2_idp_x509') }}