From 5809159e4a829e6cabed873052e3c7c06edd385e Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 3 Oct 2022 22:15:25 +0000 Subject: [PATCH] Add clean_zonefile to BIND9 pool.yaml doc This patch adds an example of the "clean_zonefile" option in the BIND9 targets in the pools.yaml file. The option has existed in the code, but was not documented in any way. It also enables this feature in the bind9 devstack plugin for testing and to reduce the storage utilization during test runs. Change-Id: I70b92b400cfeb059d1a1889ffa72621e0011d8c6 --- devstack/designate_plugins/backend-bind9 | 1 + doc/source/admin/backends/sample_yaml_snippets/bind.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/devstack/designate_plugins/backend-bind9 b/devstack/designate_plugins/backend-bind9 index 8e714e722..c576e15e5 100644 --- a/devstack/designate_plugins/backend-bind9 +++ b/devstack/designate_plugins/backend-bind9 @@ -115,6 +115,7 @@ function configure_designate_backend { rndc_port: $DESIGNATE_SERVICE_PORT_RNDC rndc_config_file: $BIND_CFG_DIR/rndc.conf rndc_key_file: $BIND_CFG_DIR/rndc.key + clean_zonefile: true EOF sudo chown $STACK_USER $BIND_CFG_DIR diff --git a/doc/source/admin/backends/sample_yaml_snippets/bind.yaml b/doc/source/admin/backends/sample_yaml_snippets/bind.yaml index e2076268d..fcea27303 100644 --- a/doc/source/admin/backends/sample_yaml_snippets/bind.yaml +++ b/doc/source/admin/backends/sample_yaml_snippets/bind.yaml @@ -15,3 +15,4 @@ rndc_host: 192.0.2.2 rndc_port: 953 rndc_key_file: /etc/designate/rndc.key + clean_zonefile: false