anchor.diff:          default-server inter 2s rise 1 fall 1
           <% @chef_backend_members.each do |name, ip| -%>
           server <%= name %> <%= ip %>:<%= @remote_elasticsearch_port %> check port <%= @leaderl_healthcheck_port %>
  -        <% end -%>+        <% end -%>
  
positive.code: global
          stats socket /var/opt/opscode/haproxy/haproxy.sock mode 600
  
  frontend postgresql
           bind <%= @listen %>:<%= @local_postgresql_port %>
  
negative.code: backend chef_backend_postgresql
          mode tcp
          option httpchk GET /leader HTTP/1.1\r\nHost:localhost:<%= @leaderl_healthcheck_port %>\r\n\r\n
          default-server inter 2s rise 1 fall 1 on-marked-down shutdown-sessions
          <% @chef_backend_members.each do |name, ip| -%>
          server <%= name %> <%= ip %>:<%= @remote_postgresql_port %> check port <%= @leaderl_healthcheck_port %>
          <% end -%>
  