- group "git"
- mode 0755
- end
-
- if repository != "dns.git"
- template "#{git_directory}/#{repository}/hooks/post-receive" do
- source "post-receive.erb"
- owner "root"
- group "git"
- mode 0755
- variables :repository => "#{git_directory}/#{repository}"
- end