Skip to content

Commit

Permalink
Merge pull request #276 from waynegemmell/multi-values
Browse files Browse the repository at this point in the history
fix(bug): config arrays as multiple lines
  • Loading branch information
jeff350 authored Nov 28, 2023
2 parents 6057ca7 + fabd837 commit fbbe682
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mysql/files/server.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit fbbe682

Please sign in to comment.