X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..16c9e170f6e1df8c3618615410367f2fe89c41b1:/roles/geodns.rb?ds=sidebyside diff --git a/roles/geodns.rb b/roles/geodns.rb index 0d1510710..a2ad092f3 100644 --- a/roles/geodns.rb +++ b/roles/geodns.rb @@ -1,6 +1,26 @@ name "geodns" description "Role applied to all geographic DNS servers" +default_attributes( + :rsyncd => { + :modules => { + :geodns => { + :comment => "GeoDNS", + :path => "/etc/gdnsd/config.d", + :read_only => false, + :write_only => true, + :list => false, + :transfer_logging => false, + :hosts_allow => [ + "184.104.226.102", # idris + "2001:470:1:b3b::6" # idris + ] + } + } + } +) + run_list( + "recipe[rsyncd]", "recipe[geodns]" )