]> git.openstreetmap.org Git - chef.git/blob - roles/geodns.rb
geodns: Add extra rsync geodns allow list IPs
[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 HE
16           "2001:470:1:b3b::6", # idris HE
17           "87.252.214.102", # idris Equinix
18           "2001:4d78:fe03:1c::6" # idris  Equinix
19         ]
20       }
21     }
22   }
23 )
24
25 run_list(
26   "recipe[rsyncd]",
27   "recipe[geodns]"
28 )