Skip to content

Commit

Permalink
fix(bug): config arrays as multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
waynegemmell committed Oct 4, 2023
1 parent d886db2 commit 53961cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mysql/files/server.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@
{% elif mvalue == "SETONPLEASE" %}
{{ mparam }}{{ '='|indent(indents, true) }} ON
{%- else -%}
{%- for value in mvalue -%}
{%- if mvalue is list -%}
{%- for value in mvalue %}
{{ mparam }}{{ '='|indent(indents, true) }} {{ value }}
{%- endfor -%}
{%- else -%}
{{ mparam }}{{ '='|indent(indents, true) }} {{ mvalue }}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
Expand Down

0 comments on commit 53961cf

Please sign in to comment.