anchor.diff:    balance source
     option tcplog
     default_backend horizon-http-backend
  -
  -backend horizon-http-backend
  -  option httpchk GET /
  -  http-check expect status 200
  -<% @servers.each do |server| -%>
  -  <%= "server #{server['hostname']} #{server['bcpc']['management']['ip']}:80 check inter 5s rise 1 fall 1" %>
  -<% end -%>
   
   frontend horizon-https
     bind <%=node['bcpc']['management']['vip']%>:443 ssl crt /etc/haproxy/haproxy.pem
  
positive.code: 
  frontend radosgw-http
    bind <%="#{node['bcpc']['floating']['vip']}:#{node['bcpc']['ports']['haproxy']['radosgw']}"%>
    balance leastconn
    option tcplog
    default_backend radosgw-http-backend
  
negative.code:   <%= "server #{server['hostname']} #{server['bcpc']['management']['ip']}:5672 check port 5673 inter 5s rise 1 fall 1 observe layer4" %>
  <% end -%>
  
  listen ldap-389ds <%=node['bcpc']['management']['vip']%>:389
    timeout  client 1h
    timeout  server 1h
  