Add support for transfer-source

This commit is contained in:
Nate Riffe 2015-01-08 08:17:01 -06:00
parent 7a74314a1e
commit 61adcc07c4
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,7 @@ define bind::zone (
$zone_type,
$domain = '',
$masters = '',
$transfer_source = '',
$allow_updates = '',
$allow_transfers = '',
$dnssec = false,

View File

@ -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| -%>