Merge "bind9: Add support for clean_zonefile option"
This commit is contained in:
commit
febaf00946
|
@ -45,6 +45,10 @@
|
||||||
# (Optional) TCP Port to connect to designate-mdns service.
|
# (Optional) TCP Port to connect to designate-mdns service.
|
||||||
# Defaults to 5354.
|
# Defaults to 5354.
|
||||||
#
|
#
|
||||||
|
# [*clean_zonefile*]
|
||||||
|
# (Optional) Removes zone files when a zone is deleted.
|
||||||
|
# Defaults to false
|
||||||
|
#
|
||||||
# [*also_notifies*]
|
# [*also_notifies*]
|
||||||
# (Optional) Array of hosts for which designate-mdns will send DNS notify
|
# (Optional) Array of hosts for which designate-mdns will send DNS notify
|
||||||
# packets to.
|
# packets to.
|
||||||
|
@ -72,6 +76,7 @@ class designate::backend::bind9 (
|
||||||
$dns_port = 53,
|
$dns_port = 53,
|
||||||
Array[String[1], 1] $mdns_hosts = ['127.0.0.1'],
|
Array[String[1], 1] $mdns_hosts = ['127.0.0.1'],
|
||||||
$mdns_port = 5354,
|
$mdns_port = 5354,
|
||||||
|
Boolean $clean_zonefile = false,
|
||||||
Array[String[1]] $also_notifies = [],
|
Array[String[1]] $also_notifies = [],
|
||||||
# DEPRECATED PARAMETERS
|
# DEPRECATED PARAMETERS
|
||||||
Boolean $configure_bind = true,
|
Boolean $configure_bind = true,
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The new ``designate::backend::clean_zonefile`` parameter has been added.
|
|
@ -33,6 +33,9 @@
|
||||||
rndc_port: <%= @rndc_port %>
|
rndc_port: <%= @rndc_port %>
|
||||||
rndc_config_file: <%= @rndc_config_file %>
|
rndc_config_file: <%= @rndc_config_file %>
|
||||||
rndc_key_file: <%= @rndc_key_file %>
|
rndc_key_file: <%= @rndc_key_file %>
|
||||||
|
<% if @clean_zonefile -%>
|
||||||
|
clean_zonefile: true
|
||||||
|
<% end -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% if !(@also_notifies.empty?) -%>
|
<% if !(@also_notifies.empty?) -%>
|
||||||
also_notifies:
|
also_notifies:
|
||||||
|
|
Loading…
Reference in New Issue