]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/recipes/default.rb
Tile: add node fqdn to index.html to help with debugging end user issues
[chef.git] / cookbooks / tile / recipes / default.rb
index 14d81f1396b625b448b176f4690af573657cb26c..2e17ac58b2f0ede959e6114853206b9b9f1962f7 100644 (file)
@@ -97,6 +97,13 @@ remote_directory "/srv/tile.openstreetmap.org/html" do
   files_mode 0644
 end
 
+template "/srv/tile.openstreetmap.org/html/index.html" do
+  source "index.html.erb"
+  owner "tile"
+  group "tile"
+  mode 0644
+end
+
 package "python-cairo"
 package "python-mapnik"