Mercurial > repos > other > Puppet
comparison modules/mysql/templates/my.conf.cnf.erb @ 0:956e484adc12
Initial public release of Puppet configs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 Aug 2014 19:47:38 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:956e484adc12 |
---|---|
1 ### MANAGED BY PUPPET ### | |
2 <% @settings.sort.each do |section, content| -%> | |
3 [<%= section %>] | |
4 <% content.sort.each do |key, values| -%> | |
5 <% [values].flatten.sort.each do |value| -%> | |
6 <%= !value ? '#' : '' %><%= key -%><%= | |
7 case value | |
8 when true, false | |
9 '' | |
10 else | |
11 " = #{value}" | |
12 end | |
13 %> | |
14 <% end -%> | |
15 <% end -%> | |
16 | |
17 <% end -%> |