diff --git a/states/haproxy/maps/domains.j2 b/states/haproxy/maps/domains.j2 new file mode 100644 index 0000000..076b98e --- /dev/null +++ b/states/haproxy/maps/domains.j2 @@ -0,0 +1,5 @@ +## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} +{%- from "haproxy/map.jinja" import haproxy with context %} +{%- for domain in haproxy.config.domains %} +{{ domain }} +{%- endfor %}