paulbsd-salt/states/haproxy/templates/maps/allowhttp.j2

6 lines
271 B
Plaintext
Raw Normal View History

2024-02-07 22:00:15 +01:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "haproxy/map.jinja" import haproxy with context %}
{%- for name, values in haproxy.config.vhosts.items() %}
{{ name }} {{ 'true' if values.allowhttp|default(false) else 'false' }}
{%- endfor %}