(maint) add statement "MANAGED BY PUPPET" to my.cnf config file template and remove unused my.conf.cnf.erb template

This commit is contained in:
Thomas Mueller 2014-11-05 10:12:05 +01:00
parent 40dd180588
commit 5d732bda6c
2 changed files with 2 additions and 17 deletions

View file

@ -1,3 +1,5 @@
### MANAGED BY PUPPET ###
<% @options.sort.map do |k,v| -%>
<% if v.is_a?(Hash) -%>
[<%= k %>]

View file

@ -1,17 +0,0 @@
### MANAGED BY PUPPET ###
<% @settings.sort.each do |section, content| -%>
[<%= section %>]
<% content.sort.each do |key, values| -%>
<% [values].flatten.sort.each do |value| -%>
<%= !value ? '#' : '' %><%= key -%><%=
case value
when true, false
''
else
" = #{value}"
end
%>
<% end -%>
<% end -%>
<% end -%>