Skip to content

Commit

Permalink
feat(redhat): set NAMEDCONF file in sysconfig
Browse files Browse the repository at this point in the history
Add the possibility to set named config file into sysconfig default file
  • Loading branch information
rgroux committed Sep 23, 2024
1 parent c3b1fb4 commit 87f09e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bind/files/redhat/default
Original file line number Diff line number Diff line change
Expand Up @@ -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(' ') }}"

0 comments on commit 87f09e4

Please sign in to comment.