Add support for transfer-source
This commit is contained in:
parent
7a74314a1e
commit
61adcc07c4
@ -4,6 +4,7 @@ define bind::zone (
|
||||
$zone_type,
|
||||
$domain = '',
|
||||
$masters = '',
|
||||
$transfer_source = '',
|
||||
$allow_updates = '',
|
||||
$allow_transfers = '',
|
||||
$dnssec = false,
|
||||
|
||||
@ -37,6 +37,9 @@ zone "<%= @_domain %>" {
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
<%- if @transfer_source and @transfer_source != ''-%>
|
||||
transfer-source <%= @transfer_source %>
|
||||
<%- end -%>
|
||||
<%- if @allow_updates and @allow_updates != '' -%>
|
||||
allow-update {
|
||||
<%- Array(@allow_updates).each do |allow_update| -%>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user