mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-16 17:50:23 +00:00
FreeBSD: allow to disable query log
This commit is contained in:
parent
fdf20d5632
commit
d9b37377a4
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,7 @@ match-clients {
|
||||||
};
|
};
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
|
{% if salt['pillar.get']("bind:use_querylog", False) %}
|
||||||
logging {
|
logging {
|
||||||
channel "querylog" {
|
channel "querylog" {
|
||||||
file "{{ map.log_dir }}/query.log";
|
file "{{ map.log_dir }}/query.log";
|
||||||
|
@ -93,6 +94,7 @@ logging {
|
||||||
};
|
};
|
||||||
category queries { querylog; };
|
category queries { querylog; };
|
||||||
};
|
};
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{%- for name, data in salt['pillar.get']('bind:configured_acls', {}).items() %}
|
{%- for name, data in salt['pillar.get']('bind:configured_acls', {}).items() %}
|
||||||
acl {{ name }} {
|
acl {{ name }} {
|
||||||
|
|
Loading…
Add table
Reference in a new issue