Cleanup temporary files from the export CGI script
[chef.git] / cookbooks / tile / recipes / default.rb
index 2e17ac58b2f0ede959e6114853206b9b9f1962f7..bb8b347edf506933cb167f9610e1f17f68ed5cbd 100644 (file)
@@ -121,6 +121,13 @@ template "/srv/tile.openstreetmap.org/cgi-bin/export" do
   variables :blocks => blocks
 end
 
+template "/etc/cron.hourly/export" do
+  source "export.cron.erb"
+  owner "root"
+  group "root"
+  mode 0755
+end
+
 directory "/srv/tile.openstreetmap.org/data" do
   owner "tile"
   group "tile"