Add render server FQDN to debug script
authorGrant Slater <git@firefishy.com>
Wed, 14 Aug 2013 20:57:17 +0000 (21:57 +0100)
committerGrant Slater <git@firefishy.com>
Wed, 14 Aug 2013 20:57:17 +0000 (21:57 +0100)
cookbooks/tile/templates/default/debug.erb

index 998ed7b0e05507c9f6c3012e4ddff56a0deffb37..d9fc329b33377e5475384118e672f017ff478ac8 100755 (executable)
@@ -58,7 +58,9 @@ print "</head>"
 print "<body>"
 print "<h1>tile.openstreetmap.org debug</h1>"
 print "<h2>Server Stats</h2>"
-print "<p><b>Load Average:</b>%s</p>" % loadavg
+print "<p>"
+print "<b>Render Server:</b><%= node['fqdn'] %><br />"
+print "<b>Load Average:</b>%s</p>" % loadavg
 print "<h2>Browser Request Headers</h2>"
 print "<p>"
 for param in os.environ.keys():