diff --git a/mysql/files/my.cnf b/mysql/files/my.cnf index 86c892e..8e97641 100644 --- a/mysql/files/my.cnf +++ b/mysql/files/my.cnf @@ -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 }}