Make designate bind9 cmdline configurable

This simple patch adds an option to define
extra cmdline parameters for bind.

Closes-Bug: #2037272
Change-Id: Ia604bc669fdf97aba6c6345ad8a250dfb66cd375
This commit is contained in:
Michal Arbet 2023-09-25 11:42:27 +02:00
parent 7186f960d9
commit 21cff07c49
2 changed files with 2 additions and 1 deletions

View File

@ -313,6 +313,7 @@ designate_dnssec_validation: "yes"
designate_recursion: "no"
## Example for designate_forwarders_addresses: "10.199.200.1; 10.199.100.1"
designate_forwarders_addresses: ""
designate_backend_bind9_cmdline_extras: "-U {{ designate_backend_bind9_workers }} -g"
####################
# Infoblox

View File

@ -2,7 +2,7 @@
{% set bind_file = 'bind/named.conf' if kolla_base_distro in ['ubuntu', 'debian'] else 'named.conf' %}
{
"command": "/usr/sbin/{{ bind_cmd }} -U {{ designate_backend_bind9_workers }} -g",
"command": "/usr/sbin/{{ bind_cmd }} {{ designate_backend_bind9_cmdline_extras }}",
"config_files": [
{
"source": "{{ container_config_directory }}/named.conf",