mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-17 10:10:26 +00:00
replace hardcoded /var/named with variable from map.jinja throughout redhat/named.conf
This commit is contained in:
parent
22b206456a
commit
d51c30c896
1 changed files with 4 additions and 4 deletions
|
@ -9,9 +9,9 @@
|
|||
|
||||
options {
|
||||
directory "{{ map.get('named_directory') }}";
|
||||
dump-file "/var/named/data/cache_dump.db";
|
||||
statistics-file "/var/named/data/named_stats.txt";
|
||||
memstatistics-file "/var/named/data/named_mem_stats.txt";
|
||||
dump-file "{{ map.get('named_directory') }}/data/cache_dump.db";
|
||||
statistics-file "{{ map.get('named_directory') }}/data/named_stats.txt";
|
||||
memstatistics-file "{{ map.get('named_directory') }}/data/named_mem_stats.txt";
|
||||
|
||||
{#- Allow inclusion of arbitrary statements #}
|
||||
{%- for statement, value in salt['pillar.get']('bind:config:options', map.get('options', {})).items() -%}
|
||||
|
@ -29,7 +29,7 @@ options {
|
|||
/* Path to ISC DLV key */
|
||||
bindkeys-file "/etc/named.iscdlv.key";
|
||||
|
||||
managed-keys-directory "/var/named/dynamic";
|
||||
managed-keys-directory "{{ map.get('named_directory') }}/dynamic";
|
||||
};
|
||||
|
||||
zone "." IN {
|
||||
|
|
Loading…
Add table
Reference in a new issue