mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-17 10:10:30 +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 %}
|
{%- 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