From a6545fe434a90c043892d82f91835a98059d03aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Ro=C3=9Fdeutscher?= Date: Mon, 7 Sep 2015 16:46:56 +0200 Subject: [PATCH] fix option keyword in frontends section when iterating over frontend options --- haproxy/templates/haproxy.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haproxy/templates/haproxy.jinja b/haproxy/templates/haproxy.jinja index e5a95b8..1a06cf5 100644 --- a/haproxy/templates/haproxy.jinja +++ b/haproxy/templates/haproxy.jinja @@ -309,7 +309,7 @@ frontend {{ frontend[1].get('name', frontend[0]) }} maxconn {{ frontend[1].maxconn }} {%- endif %} {%- if 'options' in frontend[1] %} - {{- render_list_of_dictionaries('options', frontend[1].options) }} + {{- render_list_of_dictionaries('option', frontend[1].options) }} {%- endif %} {%- if 'uniqueidformat' in frontend[1] %} unique-id-format {{ frontend[1].uniqueidformat }}