(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:
parent
40dd180588
commit
5d732bda6c
2 changed files with 2 additions and 17 deletions
|
@ -1,3 +1,5 @@
|
|||
### MANAGED BY PUPPET ###
|
||||
|
||||
<% @options.sort.map do |k,v| -%>
|
||||
<% if v.is_a?(Hash) -%>
|
||||
[<%= k %>]
|
||||
|
|
|
@ -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 -%>
|
Loading…
Reference in a new issue