Mercurial > repos > other > Puppet
view modules/mysql/templates/meb.cnf.erb @ 317:2a20a5b7f65a
Swap IPv6 Postfix to "all" protocols to support PROXY
Without this the proxied connection sends "PROXY TCPv4" and
Postfix rejects it
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 29 Feb 2020 13:21:01 +0000 |
parents | 58d1818c2ded |
children |
line wrap: on
line source
### MANAGED BY PUPPET ### <% @options.sort.map do |k,v| -%> <% if v.is_a?(Hash) -%> [<%= k %>] <% v.sort.map do |ki, vi| -%> <% if vi == true or v == '' -%> <%= ki %> <% elsif vi.is_a?(Array) -%> <% vi.each do |vii| -%> <%= ki %> = <%= vii %> <% end -%> <% elsif ![nil, '', :undef].include?(vi) -%> <%= ki %> = <%= vi %> <% end -%> <% end -%> <% end %> <% end -%>