mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-07 04:51:43 +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" %}
|
||||
{{ mparam }}{{ '='|indent(indents, true) }} ON
|
||||
{%- else -%}
|
||||
{%- if mvalue is list -%}
|
||||
{%- for value in mvalue %}
|
||||
{{ mparam }}{{ '='|indent(indents, true) }} {{ value }}
|
||||
{%- endfor -%}
|
||||
{%- else -%}
|
||||
{{ mparam }}{{ '='|indent(indents, true) }} {{ mvalue }}
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- endif -%}
|
||||
{%- endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue