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:   use_backend rabbitmq-web-backend if url_rabbitmq
    default_backend horizon-http-backend
  
  listen elasticsearch <%=node['bcpc']['management']['vip']%>:9200
    balance  source
    option  tcplog
  
negative.code: <% @all_servers.each do |server| -%>
    <%= "server #{server['hostname']} #{server['bcpc']['floating']['ip']}:#{node['bcpc']['ports']['apache']['radosgw']} check inter 5s rise 1 fall 1 observe layer7" %>
  <% end -%>
  