]> git.openstreetmap.org Git - chef.git/blob - roles/geodns.rb
Give up on allowing shared access to APT repository
[chef.git] / roles / geodns.rb
1 name "geodns"
2 description "Role applied to all geographic DNS servers"
3
4 default_attributes(
5   :rsyncd => {
6     :modules => {
7       :geodns => {
8         :comment => "GeoDNS",
9         :path => "/etc/gdnsd/config.d",
10         :read_only => false,
11         :write_only => true,
12         :list => false,
13         :transfer_logging => false,
14         :hosts_allow => [
15           "184.104.226.102",  # idris
16           "2001:470:1:b3b::6" # idris
17         ]
18       }
19     }
20   }
21 )
22
23 run_list(
24   "recipe[rsyncd]",
25   "recipe[geodns]"
26 )