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