]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dns/recipes/default.rb
Update dns.osm.org for changes in mkgeo
[chef.git] / cookbooks / dns / recipes / default.rb
index 5486014d9e889d6c44340dde95e333c550c208ef..530fd77e40c09899c19e8d2398ee7234fc3eaee6 100644 (file)
@@ -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"