mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-16 17:50:23 +00:00
9 lines
284 B
Text
9 lines
284 B
Text
{% set protocol = salt['pillar.get']('bind:config:protocol', False) -%}
|
|
{% set param = [] -%}
|
|
{% if protocol -%}
|
|
{%- param.append('-' + protocol|string) -%}
|
|
{% endif -%}
|
|
# ROOTDIR="/var/named/chroot"
|
|
# KEYTAB_FILE="/dir/file"
|
|
# DISABLE_ZONE_CHECKING
|
|
OPTIONS="{{ param|join(' ') }}"
|