Permalink
Browse files

Merge branch 'master' of git@github.com:ezmobius/chef-deploy

* 'master' of git@github.com:ezmobius/chef-deploy:
  Chown checked out repository after copying so callbacks have access
  • Loading branch information...
2 parents 8f98c5d + 3575a63 commit 2b8a8d824cbdee4a378f857a20b1c378558d376a Ezra Zygmuntowicz committed Jun 8, 2009
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 2b8a8d8

Please sign in to comment.