mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-17 10:10:30 +00:00
Merge pull request #59 from babilen/dev-sorted-config
Sort options in my.cnf
This commit is contained in:
commit
8503293788
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
{%- if sdata %}
|
{%- if sdata %}
|
||||||
|
|
||||||
[{{ sname }}]
|
[{{ sname }}]
|
||||||
{%- for mparam, mvalue in sdata.items()|default([]) -%}
|
{%- for mparam, mvalue in sdata.items()|default([])|sort -%}
|
||||||
{%- set indents = 40 - mparam|count %}
|
{%- set indents = 40 - mparam|count %}
|
||||||
{% if mvalue == "noarg_present" -%}
|
{% if mvalue == "noarg_present" -%}
|
||||||
{{ mparam }}
|
{{ mparam }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue