lib/alpha_omega/deploy.rb in alpha_omega-0.0.202 vs lib/alpha_omega/deploy.rb in alpha_omega-0.0.204
- old
+ new
@@ -1,9 +1,10 @@
$:.unshift File.expand_path(File.join(File.dirname(__FILE__),'..','..','lib'))
require 'benchmark'
require 'yaml'
+require 'json'
require 'alpha_omega/deploy/scm'
require 'alpha_omega/deploy/strategy'
require 'alpha_omega/utils'
require 'capistrano_colors'
require 'capistrano/log_with_awesome'
@@ -35,10 +36,10 @@
_cset :deploy_via, :checkout
_cset(:branch) { AlphaOmega.what_branch }
_cset(:revision) { source.head }
_cset :default_shell, "/bin/bash"
- _cset(:deploy_to) { "/u/apps/#{application}" }
+ _cset(:deploy_to) { "/data/#{application}" }
_cset :root_user, "root"
_cset :root_group, "root"
_cset :dir_perms, "0775"