
Untitled
By: a guest on
Aug 17th, 2012 | syntax:
None | size: 1.08 KB | hits: 14 | expires: Never
deploy_revision "/var/www/#{node['vhosts']['name']}" do
repo node['git']['repo']
branch node['git']['branch']
user "apache"
group "apache"
action :deploy
scm_provider Chef::Provider::Git
migrate node["migration"]
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']}"
# create symlinks to pure config files
symlink_before_migrate({
"config/settings.php" => "public/sites/default/settings.php",
"config/.htaccess" => "public/.htaccess",
})
[Sat, 18 Aug 2012 00:53:29 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[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