mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-17 10:10:26 +00:00
feat(redhat): set NAMEDCONF file in sysconfig
Add the possibility to set named config file into sysconfig default file
This commit is contained in:
parent
c3b1fb43e7
commit
87f09e4dca
1 changed files with 4 additions and 0 deletions
|
@ -6,4 +6,8 @@
|
|||
# ROOTDIR="/var/named/chroot"
|
||||
# KEYTAB_FILE="/dir/file"
|
||||
# DISABLE_ZONE_CHECKING
|
||||
{% set sysconfigfile = salt['pillar.get']('bind:lookup:config', False) -%}
|
||||
{% if sysconfigfile -%}
|
||||
NAMEDCONF={{ sysconfigfile }}
|
||||
{% endif -%}
|
||||
OPTIONS="{{ param|join(' ') }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue