Skip to content

Commit 82426c1

Browse files
authored
feature(redhat): set NAMEDCONF file in sysconfig
Add the possibility to set named config file into sysconfig default file
1 parent c3b1fb4 commit 82426c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bind/files/redhat/default

+4
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@
66
# ROOTDIR="/var/named/chroot"
77
# KEYTAB_FILE="/dir/file"
88
# DISABLE_ZONE_CHECKING
9+
{% set sysconfigfile = salt['pillar.get']('bind:lookup:config', False) -%}
10+
{% if sysconfigfile -%}
11+
NAMEDCONF={{ sysconfigfile }}
12+
{% endif -%}
913
OPTIONS="{{ param|join(' ') }}"

0 commit comments

Comments
 (0)