]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/index.html.erb
Tile: add node fqdn to index.html to help with debugging end user issues
[chef.git] / cookbooks / tile / templates / default / index.html.erb
similarity index 85%
rename from cookbooks/tile/files/default/html/index.html
rename to cookbooks/tile/templates/default/index.html.erb
index c24e848ac7562dd4af086de0e95ca42c3c480912..b4fba0d05d13a479eb8c5e9aefc12930e09ff0d9 100644 (file)
@@ -3,12 +3,13 @@
 <html>
 <head>
 <title>tile.openstreetmap.org</title>
+<!-- MANAGED VIA CHEF --!>
 <meta name="robots" content="noindex">
 <meta http-equiv="cache-control" content="no-cache">
 <meta http-equiv="pragma" content="no-cache">
 </head>
 <body>
-You've reached the OpenStreetMap.org tile server.<br />
+You've reached the OpenStreetMap.org tile server. (<%= node['fqdn'] %>)<br />
 <dl>
 <dt>If you are a user...</dt>
 <dd>You probably want <a href="http://www.openstreetmap.org/">OpenStreetMap</a> itself.</dd>