Mercurial > repos > other > Puppet
comparison modules/apache/templates/vhost/_php_admin.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 | 37675581a273 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:956e484adc12 |
---|---|
1 <% if @php_admin_values and not @php_admin_values.empty? -%> | |
2 <% @php_admin_values.each do |key,value| -%> | |
3 php_admin_value <%= key %> <%= value %> | |
4 <% end -%> | |
5 <% end -%> | |
6 <% if @php_admin_flags and not @php_admin_flags.empty? -%> | |
7 <% @php_admin_flags.each do |key,flag| -%> | |
8 <%# normalize flag -%> | |
9 <% if flag =~ /true|yes|on|1/i then flag = 'on' else flag = 'off' end -%> | |
10 php_admin_flag <%= key %> <%= flag %> | |
11 <% end -%> | |
12 <% end -%> |