mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-16 17:50:23 +00:00
10 lines
281 B
Text
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(' ') }}"
|