Add support for notify-source and also-notify
Conflicts: templates/view.erb
This commit is contained in:
committed by
Ahmad Jagot
parent
1aebf94b7f
commit
0f5d3e6019
+10
-1
@@ -42,7 +42,16 @@ view "<%= @name %>" {
|
||||
keys { <%= properties['keys'] %>; };
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
<%- end -%>
|
||||
<%- if @also_notify and @also_notify != '' -%>
|
||||
also-notify {
|
||||
<%- Array(@also_notify).each do |server| -%>
|
||||
<%= server %>;
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
<%- if @notify_source and @notify_source != '' -%>
|
||||
notify-source <%= @notify_source %>;
|
||||
<%- end -%>
|
||||
<%- if scope.lookupvar('osfamily') == 'Debian' -%>
|
||||
include "<%= @confdir %>/named.conf.default-zones";
|
||||
|
||||
@@ -40,6 +40,9 @@ zone "<%= @_domain %>" {
|
||||
<%- if @transfer_source and @transfer_source != ''-%>
|
||||
transfer-source <%= @transfer_source %>;
|
||||
<%- end -%>
|
||||
<%- if @notify_source and @notify_source != ''-%>
|
||||
notify-source <%= @notify_source %>;
|
||||
<%- end -%>
|
||||
<%- if @allow_updates and @allow_updates != '' -%>
|
||||
allow-update {
|
||||
<%- Array(@allow_updates).each do |allow_update| -%>
|
||||
|
||||
Reference in New Issue
Block a user