X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/effb14435dcfd32dbfe1d2693117dfa97e9db84d..0833791dee7b20b17e1432e2a4421076260a3ef9:/cookbooks/dns/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/dns/recipes/default.rb b/cookbooks/dns/recipes/default.rb index 5486014d9..530fd77e4 100644 --- a/cookbooks/dns/recipes/default.rb +++ b/cookbooks/dns/recipes/default.rb @@ -49,8 +49,8 @@ end zones = Array.new -Dir.glob("/var/lib/dns/kml/*.kml").each do |kmlfile| - zone = File.basename(kmlfile, ".kml") +Dir.glob("/var/lib/dns/json/*.json").each do |kmlfile| + zone = File.basename(kmlfile, ".json") template "/srv/dns.openstreetmap.org/html/#{zone}.html" do source "zone.html.erb"