Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 17th, 2012  |  syntax: None  |  size: 1.08 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. deploy_revision "/var/www/#{node['vhosts']['name']}" do
  2.   repo node['git']['repo']
  3.   branch node['git']['branch']
  4.   user "apache"
  5.   group "apache"
  6.   action :deploy
  7.   scm_provider Chef::Provider::Git
  8.  
  9.   migrate node["migration"]
  10.   migration_command "cd public ; drush updatedb --yes --uri=http://#{node['vhosts']['name']} ; drush php-script run_me_after_every_database_udpate.php --script-path=../script --uri=http://#{node['vhosts']['name']}"
  11.  
  12.   # create symlinks to  pure config files
  13.   symlink_before_migrate({
  14.     "config/settings.php" => "public/sites/default/settings.php",
  15.     "config/.htaccess" => "public/.htaccess",
  16.   })
  17.  
  18.  
  19. [Sat, 18 Aug 2012 00:53:29 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
  20. [Sat, 18 Aug 2012 00:53:29 +0000] FATAL: Chef::Exceptions::Exec: deploy_revision[/var/www/["sitter.strsocial.com"]] (deployapp::default line 74) had an error: Chef::Exceptions::Exec: cp -RPp /var/www/["sitter.strsocial.com"]/shared/cached-copy/. /var/www/["sitter.strsocial.com"]/releases/21ebf80cb8bee2ee771b3b76884049f3a8060a6d returned 1, expected 0