X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/33eef04ba4e72c8c020ade293003b77fc76d0083..cf875dbc23ee225629984aace574d11c512c9bbe:/cookbooks/git/recipes/server.rb?ds=sidebyside diff --git a/cookbooks/git/recipes/server.rb b/cookbooks/git/recipes/server.rb index 822467d08..c8077a303 100644 --- a/cookbooks/git/recipes/server.rb +++ b/cookbooks/git/recipes/server.rb @@ -61,7 +61,7 @@ Dir.new(git_directory).select { |name| name =~ /\.git$/ }.each do |repository| mode 0o755 end - next unless node[:recipes].include?("trac") && repository != "dns.git" + next unless node[:recipes].include?("trac") && repository != "dns.git" && repository != "chef.git" template "#{git_directory}/#{repository}/hooks/post-receive" do source "post-receive.erb"