Sha256: e179f7978da7b922272c28faac9268093800e9eebcc133e54f12724aa62d80d4

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 Bytes

Contents

global<% haproxy_global.each { |name, global_defs| [ global_defs ].flatten.each { |d| %>
    <%= name %> <%= d %><% } } %>

defaults<% haproxy_defaults.each { |name, defaults_defs| [ defaults_defs ].flatten.each { |d| %>
    <%= name %> <%= d %><% } } %>

<% haproxy_listens.each { |listen_name, listen_defs| %>
listen <%= listen_name %><% listen_defs.each { |param_name, param_defs| [ param_defs ].flatten.each { |d| %>
    <%= param_name %> <%= d %><% } } %>
<% } %>

# vim:set ft=eruby :

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-haproxy-0.0.2 lib/capistrano-haproxy/templates/haproxy.cfg.erb
capistrano-haproxy-0.0.1 lib/capistrano-haproxy/templates/haproxy.cfg.erb