Allow multiple ports to be passed
authorHunter Haugen <h.haugen@gmail.com>
Thu, 11 Oct 2012 00:03:04 +0000 (17:03 -0700)
committerHunter Haugen <h.haugen@gmail.com>
Thu, 11 Oct 2012 00:03:04 +0000 (17:03 -0700)
commitc09e5a07cef578e1017af546e315f1c3826bf9a7
treecaba811a27f5b967f2b7e0d01ab74f319b851bc4
parentd7ffbc326a8172bb0d0ecb888ed12d2c7e3eb7fd
Allow multiple ports to be passed

haproxy supports a single port or port range, but also muliples of those. This commit changes the 'virtual_ip_port' parameter to 'ports' and updates the template to accept an array of ports
manifests/config.pp
spec/defines/config_spec.rb
templates/haproxy_config_block.erb