mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
Sort options in my.cnf
Options in my.cnf are not sorted at this moment which introduces unnecessary changes whenever the file is being rewritten.
This commit is contained in:
parent
98b054fcf6
commit
2dedb85d5f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
{%- if sdata %}
|
||||
|
||||
[{{ sname }}]
|
||||
{%- for mparam, mvalue in sdata.items()|default([]) -%}
|
||||
{%- for mparam, mvalue in sdata.items()|default([])|sort -%}
|
||||
{%- set indents = 40 - mparam|count %}
|
||||
{% if mvalue == "noarg_present" -%}
|
||||
{{ mparam }}
|
||||
|
|
Loading…
Add table
Reference in a new issue