Merge "[haproxy-config] Fix missing servers in split cfg"

This commit is contained in:
Zuul 2020-04-16 12:47:33 +00:00 committed by Gerrit Code Review
commit a679bf5c65
2 changed files with 6 additions and 1 deletions

View File

@ -108,7 +108,7 @@ backend {{ service_name }}_back
{# services can be listening on a different port than haproxy #}
{% set listen_port = haproxy_service.listen_port|default(haproxy_service.port) %}
{# Custom member list can use jinja to generate a semicolon separated list #}
{% set custom_member_list = haproxy_service.custom_member_list|default() %}
{% set custom_member_list = haproxy_service.custom_member_list|default(none) %}
{# Mode defaults to http #}
{% set mode = haproxy_service.mode|default('http') %}
{# Use the parent host group but allow it to be overridden #}

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes issue where HAProxy would have no backend servers in its config files
when using the "split" config template style.