]> git.openstreetmap.org Git - chef.git/commitdiff
Tile: add br debug html
authorGrant Slater <git@firefishy.com>
Tue, 10 Sep 2013 10:21:26 +0000 (11:21 +0100)
committerGrant Slater <git@firefishy.com>
Tue, 10 Sep 2013 10:21:26 +0000 (11:21 +0100)
cookbooks/tile/templates/default/debug.erb

index 0c23f004a4f5262dc8a6e8ac36db84ae0c84159e..3da30dfebf65274838cd9aeca145e3fa8daa5570 100755 (executable)
@@ -70,7 +70,7 @@ node[:tile][:data].each do |name,data|
   file = "/srv/tile.openstreetmap.org/data/#{File.basename(url)}"
   file_basename = File.basename(url)
 -%>
-print "<b>%s</b> last modified: %s" % ("<%= file_basename %>", time.ctime(os.path.getmtime("<%= file %>")))
+print "<b>%s</b> last modified: %s<br />" % ("<%= file_basename %>", time.ctime(os.path.getmtime("<%= file %>")))
 <%
 end
 -%>