From ec17df3eea662b9655cba5ca3871dd2a8b441779 Mon Sep 17 00:00:00 2001 From: John Keates Date: Thu, 26 Feb 2015 14:34:47 +0100 Subject: [PATCH] Change bind method so it doesn't always default --- haproxy/templates/haproxy.jinja | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/haproxy/templates/haproxy.jinja b/haproxy/templates/haproxy.jinja index 0c26ad5..c70203c 100644 --- a/haproxy/templates/haproxy.jinja +++ b/haproxy/templates/haproxy.jinja @@ -54,7 +54,8 @@ defaults #--------------------------------------------------------------------- {%- if 'frontends' in salt['pillar.get']('haproxy', {}) %} {%- for frontend in salt['pillar.get']('haproxy:frontends', {}).iteritems() %} -frontend {{ frontend[1].name }} {{ frontend[1].bind }} +frontend {{ frontend[1].name }} + bind {{ frontend[1].bind }} {%- if 'acls' in frontend[1] %} {%- for acl in frontend[1].acls %} acl {{ acl }}