X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..77988634ae5ffc930bb89f9700070084d14ecc56:/cookbooks/git/recipes/server.rb?ds=inline 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"