X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ff044920428608b2c04507ad52d6ab52c9d6555f..e3f8464ccd3ac34ed6629b03f60509ac3a2fedf8:/cookbooks/dns/recipes/default.rb diff --git a/cookbooks/dns/recipes/default.rb b/cookbooks/dns/recipes/default.rb index 95e3957fa..3ea745d3c 100644 --- a/cookbooks/dns/recipes/default.rb +++ b/cookbooks/dns/recipes/default.rb @@ -47,7 +47,7 @@ remote_directory "/srv/dns.openstreetmap.org/html" do files_mode 0644 end -zones = Array.new +zones = [] Dir.glob("/var/lib/dns/json/*.json").each do |kmlfile| zone = File.basename(kmlfile, ".json")