puppet-prod/site/profiles/templates/consul/dnsmasq.conf.erb
Ben Vincent 2bdf336b28 feat: update consul/dnsmasq
- update params with bind/advertise addr
- update params with anycast ip option
- migrate dnsmasq config to template
2025-05-03 23:43:59 +10:00

7 lines
164 B
Plaintext

server=/<%= @domain %>/<%= @bind_addr %>#<%= @dns_port %>
<% if @anycast_ip -%>
listen-addr=<%= @anycast_ip %>
<% else -%>
listen-addr=<%= @bind_addr %>
<% end -%>