X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..07840ceab6077ffa7c498daeda4ecbd591c3bc40:/cookbooks/git/recipes/server.rb diff --git a/cookbooks/git/recipes/server.rb b/cookbooks/git/recipes/server.rb index 9b4e06a45..bd586e9f2 100644 --- a/cookbooks/git/recipes/server.rb +++ b/cookbooks/git/recipes/server.rb @@ -43,6 +43,13 @@ directory "#{git_directory}/private" do 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"