Permalink
Browse files

Chown checked out repository after copying so callbacks have access

  • Loading branch information...
Andy Delcambre & Larry Diehl
Andy Delcambre & Larry Diehl committed Jun 2, 2009
1 parent 5c14e1c commit 3575a632cbe98d61c224e767676959f52a27f2a0
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/chef-deploy/cached_deploy.rb
@@ -26,6 +26,9 @@ def deploy
Chef::Log.info "copying the cached version to #{configuration[:release_path]}"
chef_run(copy_repository_cache)
install_gems
chef_run("chown -R #{user}:#{group} #{@configuration[:deploy_to]}")
callback(:before_migrate)
migrate
callback(:before_symlink)

0 comments on commit 3575a63

Please sign in to comment.