Merge "Fix inconsistency in haproxy_frontend_raw naming"

This commit is contained in:
Zuul 2021-11-22 18:30:50 +00:00 committed by Gerrit Code Review
commit f8b7ce18a2
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixed inconsistency in ``haproxy_frontend_raw`` key naming between
documentation and service template. Previously, template generation
was expecting ``haproxy_raw`` instead of the ``haproxy_frontend_raw``.

View File

@ -71,7 +71,7 @@ frontend {{ item.service.haproxy_service_name }}-front-{{ loop.index }}
{% if not item.service.haproxy_frontend_only | default(false) %} {% if not item.service.haproxy_frontend_only | default(false) %}
default_backend {{ item.service.haproxy_service_name }}-back default_backend {{ item.service.haproxy_service_name }}-back
{% endif %} {% endif %}
{% for entry in item.service.haproxy_raw|default([]) %} {% for entry in item.service.haproxy_frontend_raw|default([]) %}
{{ entry }} {{ entry }}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}