File tree 5 files changed +26
-23
lines changed
5 files changed +26
-23
lines changed Original file line number Diff line number Diff line change 1
- // File managed by puppet
1
+ // This file is managed by Puppet. DO NOT EDIT.
2
+
2
3
options {
3
- directory "<%= data_dir %> ";
4
+ directory "<%= @ data_dir %> ";
4
5
auth-nxdomain no;
5
6
listen-on-v6 { any; };
6
7
recursion yes;
Original file line number Diff line number Diff line change 1
- zone "<%= zone_name %> " {
2
- type <%= zone_type %> ;
3
- <% if zone_type == 'slave' or zone_type == 'master' or zone_type == 'hint' -%>
4
- file "<%= scope.lookupvar("bind::config_dir") %> /<%= zone_config_file %> ";
1
+ // This file is managed by Puppet. DO NOT EDIT.
2
+
3
+ zone "<%= @zone_name %> " {
4
+ type <%= @zone_type %> ;
5
+ <% if @zone_type == 'slave' or @zone_type == 'master' or @zone_type == 'hint' -%>
6
+ file "<%= scope.lookupvar("bind::config_dir") %> /<%= @zone_config_file %> ";
5
7
<% end -%>
6
- <% if zone_type == 'slave' -%>
7
- masters { <%= zone_master %> ; };
8
+ <% if @ zone_type == 'slave' -%>
9
+ masters { <%= @ zone_master %> ; };
8
10
<% end -%>
9
- <% if zone_type == 'forward' -%>
11
+ <% if @ zone_type == 'forward' -%>
10
12
forwarders {
11
- <% zone_forward.each do |forwarder|-%>
13
+ <% @ zone_forward.each do |forwarder|-%>
12
14
<%= forwarder %> ;
13
15
<% end -%>
14
16
};
Original file line number Diff line number Diff line change 1
- <%= host %> <%= ttl %> <%= record_class %> <%= record_type %> <%= record_priority %> <%= target %>
1
+ <%= @ host %> <%= @ ttl %> <%= @ record_class %> <%= @ record_type %> <%= @ record_priority %> <%= @ target %>
Original file line number Diff line number Diff line change 4
4
<%= scope.to_hash.reject { |k,v| !( k.is_a?(String) && v.is_a?(String) ) }.to_yaml %>
5
5
6
6
# Custom Options
7
- <%= options['opt_a'] %>
8
- <%= options['opt_b'] %>
7
+ <%= @ options['opt_a'] %>
8
+ <%= @ options['opt_b'] %>
Original file line number Diff line number Diff line change 1
- ; File managed by puppet
1
+ ; This file is managed by Puppet. DO NOT EDIT.
2
2
3
- <% if zone_ttl != '' -%>
4
- $TTL <%= zone_ttl%>
3
+ <% if @ zone_ttl != '' -%>
4
+ $TTL <%= @ zone_ttl %>
5
5
<% end -%>
6
- @ <%= zone_class %> SOA <%= real_zone_ns %> <%= real_zone_contact %> (
7
- <%= zone_serial %> ; serial
8
- <%= zone_refresh %> ; refresh
9
- <%= zone_retry %> ; retry
10
- <%= zone_expire %> ; expire
11
- <% if zone_neg_cache != '' -%>
12
- <%= zone_neg_cache %> ; TTL
6
+ @ <%= @ zone_class %> SOA <%= @ real_zone_ns %> <%= @ real_zone_contact %> (
7
+ <%= @ zone_serial %> ; serial
8
+ <%= @ zone_refresh %> ; refresh
9
+ <%= @ zone_retry %> ; retry
10
+ <%= @ zone_expire %> ; expire
11
+ <% if @ zone_neg_cache != '' -%>
12
+ <%= @ zone_neg_cache %> ; TTL
13
13
<% end -%>
14
14
);
You can’t perform that action at this time.
0 commit comments