]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/git/recipes/web.rb
Tweak some tile sandboxes
[chef.git] / cookbooks / git / recipes / web.rb
index 7e1f38cc26c1bd4da1a50ff38fa902c4a076565e..bb99e482cd4257d2a999bc6ee90695dec295ec01 100644 (file)
@@ -21,6 +21,7 @@ include_recipe "apache"
 
 package "gitweb"
 
+apache_module "cgid"
 apache_module "rewrite"
 
 git_site = node[:git][:host]
@@ -45,6 +46,13 @@ template "/srv/#{git_site}/robots.txt" do
   mode "644"
 end
 
+template "/srv/#{git_site}/indextext.html" do
+  source "indextext.html.erb"
+  owner "root"
+  group "root"
+  mode "644"
+end
+
 ssl_certificate git_site do
   domains [git_site] + Array(node[:git][:aliases])
   notifies :reload, "service[apache2]"