[chef] Re: Problem with deploy_branch


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Problem with deploy_branch
  • Date: Thu, 26 Sep 2013 10:27:45 -0700


On Wednesday, September 25, 2013 at 6:44 PM, Jenn Fountain wrote:

Here is the recipe I am having problems with:


deploy_branch node[:app][:frontend][:directory] do
repository node[:app][:git_repository]
ssh_wrapper node[:app][:git_ssh_wrapper]
branch node[:app][:branch]
enable_submodules true

user 'app'
group 'nginx'

create_dirs_before_symlink.clear
purge_before_symlink %w{log}
symlink_before_migrate.clear
symlinks({'log' => 'log'})

action :deploy
end

It is creating a copy of repository_cache but seems to be keeping older files and causing code conflicts and issues. I am running nginx and php_fpm.
Can you be more specific? Is Chef giving you an error message? What behavior are you expecting, and how is it different from the behavior you're observing?
 

Is anyone aware of any issues with what I am doing or is there an known issue? Anyone to disable repo_cache?
If you don't need all of the features of the deploy resource, you can roll you own deployment by using the git resource directly.
 

Thanks for any help!
Jenn


-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§