puppetlabs/puppetlabs-haproxy — pull request #46 by arenstar (2013-08-29 02:50:01+00:00)
Title: Added ACLS to listen block

Listen Blocks should include the ability to add ACL options such as

haproxy::listen { 'HTTP-Frontend':
ipaddress => '0.0.0.0',
mode => 'http',
ports => '80',
options => {
'maxconn' => '65545'
},
acls => [
'acl docs hdr_beg(host) -i docs',
'use_backend docs if docs',
'acl www hdr_beg(host) -i web',
'use_backend www if www',
],
}