mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-10 14:51:46 +00:00
fix(bug): config arrays as multiple lines
This commit is contained in:
parent
6057ca73a7
commit
fabd837bcb
1 changed files with 6 additions and 0 deletions
|
@ -33,8 +33,14 @@
|
||||||
{% elif mvalue == "SETONPLEASE" %}
|
{% elif mvalue == "SETONPLEASE" %}
|
||||||
{{ mparam }}{{ '='|indent(indents, true) }} ON
|
{{ mparam }}{{ '='|indent(indents, true) }} ON
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
|
{%- if mvalue is list -%}
|
||||||
|
{%- for value in mvalue %}
|
||||||
|
{{ mparam }}{{ '='|indent(indents, true) }} {{ value }}
|
||||||
|
{%- endfor -%}
|
||||||
|
{%- else -%}
|
||||||
{{ mparam }}{{ '='|indent(indents, true) }} {{ mvalue }}
|
{{ mparam }}{{ '='|indent(indents, true) }} {{ mvalue }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue