end
end
-template "/etc/cron.d/tilecache" do
- source "cron.erb"
- owner "root"
- group "root"
- mode 0o644
-end
-
directory "/srv/tilecache" do
owner "root"
group "root"
mode 0o755
variables :caches => tilecaches, :renders => tilerenders
end
+
+template "/srv/tilecache/tilecache-curl-time-cleanup" do
+ source "tilecache-curl-time-cleanup.erb"
+ owner "root"
+ group "root"
+ mode 0o755
+end
+
+ohai_plugin "tilecache" do
+ template "ohai.rb.erb"
+end