projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33eef04
)
Exclude chef repo from default receive hooks
author
Tom Hughes
<tom@compton.nu>
Mon, 10 Oct 2016 21:23:46 +0000
(22:23 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 10 Oct 2016 21:23:46 +0000
(22:23 +0100)
cookbooks/git/recipes/server.rb
patch
|
blob
|
history
diff --git
a/cookbooks/git/recipes/server.rb
b/cookbooks/git/recipes/server.rb
index 822467d08c59cc5030e6fe0dd86a0abef020425d..c8077a3032b8356ebd0f2cac837324d041b7da67 100644
(file)
--- 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"