f13482bde2
* added a define to easily create .cnf files in /etc/mysql/conf.d/ * fix wrong path for .my.cnf in /etc/
17 lines
524 B
Text
17 lines
524 B
Text
### MANAGED BY PUPPET ###
|
|
<% settings.sort.each do |section, content| -%>
|
|
[<%= section %>]
|
|
<% content.sort.each do |key, values| -%>
|
|
<% [values].flatten.sort.each do |value| -%>
|
|
<%= value == false ? '#' : '' %><%= key -%><%=
|
|
case value
|
|
when true, false
|
|
''
|
|
else
|
|
" = #{value}"
|
|
end
|
|
%>
|
|
<% end -%>
|
|
<% end -%>
|
|
|
|
<% end -%>
|