X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ff044920428608b2c04507ad52d6ab52c9d6555f..cef8ee4e81a60e0f53401740afedfa560d2f4607:/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")