]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/git/recipes/server.rb
Match number of apache workers on tile servers to the CPU count
[chef.git] / cookbooks / git / recipes / server.rb
index 9b4e06a4514c0b8b0114ce972e46d8e2dbc532eb..bd586e9f2c0e34165aef4fedced19cbee48bf76a 100644 (file)
@@ -43,6 +43,13 @@ directory "#{git_directory}/private" do
   mode "2775"
 end
 
   mode "2775"
 end
 
+template "/etc/gitconfig" do
+  source "gitconfig.erb"
+  owner "root"
+  group "root"
+  mode "644"
+end
+
 Dir.glob("#{git_directory}/*/*.git").each do |repository|
   template "#{repository}/hooks/post-update" do
     source "post-update.erb"
 Dir.glob("#{git_directory}/*/*.git").each do |repository|
   template "#{repository}/hooks/post-update" do
     source "post-update.erb"