forked from crowbar/barclamp-dns
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request crowbar#45 from rhafer/release/pebbles/master
crowbar#45 Merged by devtool for VictorLowther
- Loading branch information
Showing
7 changed files
with
50 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
default[:dns][:forwarders] = [ ] | ||
|
||
default[:dns][:allow_transfer] = [ ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,21 @@ options { | |
// Uncomment the following block, and insert the addresses replacing | ||
// the all-0's placeholder. | ||
|
||
forwarders { | ||
<% if [email protected]? and [email protected]? -%> | ||
forwarders { | ||
<% @forwarders.each do |i| -%> | ||
<%= i %>; | ||
<%= i %>; | ||
<% end -%> | ||
<% end -%> | ||
}; | ||
<% end -%> | ||
|
||
<% if !@allow_transfer.nil? and !@allow_transfer.empty? -%> | ||
allow-transfer { | ||
<% @allow_transfer.each do |at| -%> | ||
<%= at %>; | ||
<% end -%> | ||
}; | ||
<% end -%> | ||
|
||
auth-nxdomain no; # conform to RFC1035 | ||
listen-on-v6 { any; }; | ||
|
6 changes: 6 additions & 0 deletions
6
chef/cookbooks/bind9/templates/default/suse-sysconfig-named.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Maintaned by Crowbar. | ||
# Do not edit. | ||
<% @options.each { |k,v| -%> | ||
<%= "#{k}=\"#{v}\"" %> | ||
<% } -%> | ||
NAMED_RUN_CHROOTED="no" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ | |
"domain": "pod.your.cloud.org", | ||
"contact": "[email protected]", | ||
"forwarders": [ ], | ||
"allow_transfer": [ ], | ||
"nameservers": [ ], | ||
"static": { } | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters