From 21c04b5f7a38edfaffc92d31dd000abdcbc6aa5b Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 13 Feb 2017 21:02:09 +0000 Subject: [PATCH] it is a poor man that can only think of one way to spell a word --- roles/haproxy/templates/haproxy.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index b6e0009a4c..1c918e8a1f 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -51,7 +51,7 @@ listen mirror-lists 0.0.0.0:10002 server mirrorlist-phx2 mirrorlist-phx2:80 check inter 5s rise 2 fall 3 backup {% endif %} {% if env == "production" %} -{% if 'mirrorlist-proxy' in group_names %} +{% if 'mirrorlist-proxies' in group_names %} server mirrorlist-local1 localhost:18081 check inter 1s rise 2 fall 3 weight 100 server mirrorlist-local2 localhost:18082 check inter 1s rise 2 fall 3 weight 100 server mirrorlist-phx2 mirrorlist-phx2:80 check inter 5s rise 2 fall 3 backup