bind-formula/bind/files/debian/default

10 lines
281 B
Text

{% set protocol = salt['pillar.get']('bind:config:protocol', False) -%}
{% set param = ['-u bind'] -%}
{% if protocol -%}
{% do param.append('-' + protocol|string) -%}
{% endif -%}
# run resolvconf?
RESOLVCONF=no
# startup options for the server
OPTIONS="{{ param|join(' ') }}"