deprec 2.2.3 → 3.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1 -1
- data/bin/depify +3 -8
- data/{lib → docs}/deprec_cmd_completion.sh +0 -0
- data/lib/deprec.rb +5 -7
- data/lib/deprec/cap.rb +51 -0
- data/lib/deprec/{callbacks → cap/callbacks}/asset_pipeline.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/aoe.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/apache.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/bash.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/canonical.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/collectd.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/deprec.rb +1 -2
- data/lib/deprec/{recipes → cap/recipes}/deprecated.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/ec2.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/example.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/git.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/haproxy.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/heartbeat.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/logrotate.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/lvm.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/mongrel.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/monit.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/mri.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/mysql.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/nagios.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/nagios3.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/network.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/nginx.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/nrpe.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/ntp.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/passenger.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/php.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/postfix.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/postgresql.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/rack.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/rails.rb +4 -4
- data/lib/deprec/{recipes → cap/recipes}/ree.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/rubygems.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/sqlite.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/ssh.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/ssl.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/stunnel.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/syslog.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/syslog_ng.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/ubuntu.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/users.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/utils.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/xen.rb +0 -0
- data/lib/deprec/{recipes → cap/recipes}/xentools.rb +0 -0
- data/lib/deprec/{templates → cap/templates}/aoe/aoe-init +0 -0
- data/lib/deprec/{templates → cap/templates}/aoe/fence_aoemask +0 -0
- data/lib/deprec/{templates → cap/templates}/apache/CHANGES.txt +0 -0
- data/lib/deprec/{templates → cap/templates}/apache/apache2.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/apache/default.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/apache/namevirtualhosts.conf +0 -0
- data/lib/deprec/{templates → cap/templates}/apache/ports.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/apache/status.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/apache/vhost.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/bash/bash_global +0 -0
- data/lib/deprec/{templates → cap/templates}/collectd/collectd-init.d +0 -0
- data/lib/deprec/{templates → cap/templates}/collectd/collectd.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/deprec/caprc.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/haproxy/haproxy-init.d +0 -0
- data/lib/deprec/{templates → cap/templates}/haproxy/haproxy.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/heartbeat/authkeys.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/heartbeat/ha.cf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/heartbeat/haresources.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/logrotate/logrotate.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/mongrel/apache_vhost.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/mongrel/logrotate.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/mongrel/mongrel_cluster-init-script +0 -0
- data/lib/deprec/{templates → cap/templates}/mongrel/mongrel_cluster.yml.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/mongrel/monit.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/mongrel/nginx_vhost.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/monit/monit-init-script +0 -0
- data/lib/deprec/{templates → cap/templates}/monit/monitrc.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/monit/nothing.monitrc +0 -0
- data/lib/deprec/{templates → cap/templates}/mysql/create_databases.sql +0 -0
- data/lib/deprec/{templates → cap/templates}/mysql/database.yml.prod +0 -0
- data/lib/deprec/{templates → cap/templates}/mysql/database.yml.stage +0 -0
- data/lib/deprec/{templates → cap/templates}/mysql/my.cnf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/mysql/sphinx.conf.prod +0 -0
- data/lib/deprec/{templates → cap/templates}/mysql/sphinx.conf.stage +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/README +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/apache_vhost.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/cgi.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/check_linux_free_memory.pl +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/check_mongrel_cluster.rb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/htpasswd.users +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/mrtg.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/nagios.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/nrpe.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/nrpe.xinetd.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/objects/commands.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/objects/contacts.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/objects/hosts.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/objects/localhost.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/objects/services.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/objects/timeperiods.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios.old/resource.cfg.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/apache2.conf +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/cgi.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/check_linux_free_memory.pl +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/commands.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/conf.d/contacts_nagios2.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/conf.d/extinfo_nagios2.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/conf.d/generic-host_nagios2.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/conf.d/generic-service_nagios2.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/conf.d/hostgroups_nagios2.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/conf.d/hosts/localhost_nagios2.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/conf.d/services_nagios2.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/conf.d/timeperiods_nagios2.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/host_template.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/htpasswd.users +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/nagios.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/nrpe.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/nagios/resource.cfg +0 -0
- data/lib/deprec/{templates → cap/templates}/network/hostname.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/network/hosts.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/network/interfaces.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/network/resolv.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nginx/logrotate.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nginx/mime.types.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nginx/nginx-init-script +0 -0
- data/lib/deprec/{templates → cap/templates}/nginx/nginx.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/nginx/nginx.logrotate.d +0 -0
- data/lib/deprec/{templates → cap/templates}/nginx/nothing.conf +0 -0
- data/lib/deprec/{templates → cap/templates}/nginx/rails_nginx_vhost.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/ntp/ntp.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/passenger/apache_vhost.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/passenger/logrotate.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/passenger/passenger.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/passenger/passenger.load.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/postfix/aliases.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/postfix/dynamicmaps.cf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/postfix/main.cf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/postfix/master.cf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/ssh/ssh_config.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/ssh/sshd_config.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/ssl/make-ssl-cert +0 -0
- data/lib/deprec/{templates → cap/templates}/ssl/ssl-cert-snakeoil.key +0 -0
- data/lib/deprec/{templates → cap/templates}/ssl/ssl-cert-snakeoil.pem +0 -0
- data/lib/deprec/{templates → cap/templates}/stunnel/stunnel.conf-client +0 -0
- data/lib/deprec/{templates → cap/templates}/stunnel/stunnel.conf-orig +0 -0
- data/lib/deprec/{templates → cap/templates}/stunnel/stunnel.conf-server +0 -0
- data/lib/deprec/{templates → cap/templates}/stunnel/stunnel4 +0 -0
- data/lib/deprec/{templates → cap/templates}/stunnel/syslog-server.pem +0 -0
- data/lib/deprec/{templates → cap/templates}/syslog/syslog.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/syslog/syslogd.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/syslog_ng/apache_syslog +0 -0
- data/lib/deprec/{templates → cap/templates}/syslog_ng/syslog-ng.conf-client +0 -0
- data/lib/deprec/{templates → cap/templates}/syslog_ng/syslog-ng.conf-orig +0 -0
- data/lib/deprec/{templates → cap/templates}/syslog_ng/syslog-ng.conf-server +0 -0
- data/lib/deprec/{templates → cap/templates}/xen/network-bridge-wrapper +0 -0
- data/lib/deprec/{templates → cap/templates}/xen/xend-config.sxp.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/xen/xend-init.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/xen/xendomains.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/xentools/15-disable-hwclock +0 -0
- data/lib/deprec/{templates → cap/templates}/xentools/40-setup-networking +0 -0
- data/lib/deprec/{templates → cap/templates}/xentools/xen-tools.conf.erb +0 -0
- data/lib/deprec/{templates → cap/templates}/xentools/xm.tmpl.erb +0 -0
- data/lib/deprec_minus_rails.rb +22 -12
- metadata +178 -212
- data/lib/deprec/TODO.txt +0 -6
- data/lib/deprec/capistrano_extensions.rb +0 -418
- data/lib/deprec/recipes.rb +0 -7
- data/lib/deprec/recipes/ar_sendmail.rb +0 -67
- data/lib/deprec/recipes/chef.rb +0 -68
- data/lib/deprec/recipes/couchdb.rb +0 -107
- data/lib/deprec/recipes/ddclient.rb +0 -51
- data/lib/deprec/recipes/gitosis.rb +0 -55
- data/lib/deprec/recipes/integrity.rb +0 -108
- data/lib/deprec/recipes/memcache.rb +0 -49
- data/lib/deprec/recipes/sphinx.rb +0 -86
- data/lib/deprec/recipes/starling.rb +0 -119
- data/lib/deprec/recipes/svn.rb +0 -12
- data/lib/deprec/recipes/trac.rb +0 -277
- data/lib/deprec/recipes/vmware_tools.rb +0 -15
- data/lib/deprec/recipes/vnstat.rb +0 -85
- data/lib/deprec/recipes/wpmu.rb +0 -103
- data/lib/deprec/recipes_minus_rails.rb +0 -69
- data/lib/deprec/templates/ar_sendmail/logrotate.conf.erb +0 -9
- data/lib/deprec/templates/ar_sendmail/monit.conf.erb +0 -5
- data/lib/deprec/templates/chef/chef.json.erb +0 -1
- data/lib/deprec/templates/chef/solo.rb +0 -2
- data/lib/deprec/templates/ddclient/ddclient.conf.erb +0 -11
- data/lib/deprec/templates/ddclient/ddclient.erb +0 -15
- data/lib/deprec/templates/integrity/apache_vhost.erb +0 -4
- data/lib/deprec/templates/integrity/config.ru.erb +0 -21
- data/lib/deprec/templates/integrity/config.yml.erb +0 -43
- data/lib/deprec/templates/sphinx/monit.conf.erb +0 -5
- data/lib/deprec/templates/starling/monit.conf.erb +0 -14
- data/lib/deprec/templates/starling/starling-init-script.erb +0 -71
- data/lib/deprec/templates/subversion/svn.apache.vhost.erb +0 -43
- data/lib/deprec/templates/trac/apache_vhost.conf.erb +0 -24
- data/lib/deprec/templates/trac/nginx_vhost.conf.erb +0 -26
- data/lib/deprec/templates/trac/trac.ini.erb +0 -169
- data/lib/deprec/templates/trac/trac_deprec.png +0 -0
- data/lib/deprec/templates/trac/tracd-init.erb +0 -43
- data/lib/deprec/templates/trac/users.htdigest.erb +0 -0
- data/lib/deprec/templates/vnstat/config.php +0 -57
- data/lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb +0 -31
- data/lib/deprec/templates/wordpress/wp-config.php.erb +0 -31
- data/lib/deprec/templates/wpmu/apache_vhost.conf.erb +0 -13
- data/lib/vmbuilder_plugins/all.rb +0 -20
- data/lib/vmbuilder_plugins/apt.rb +0 -93
- data/lib/vmbuilder_plugins/emerge.rb +0 -76
- data/lib/vmbuilder_plugins/gem.rb +0 -90
- data/lib/vmbuilder_plugins/std.rb +0 -203
data/CHANGELOG
CHANGED
data/bin/depify
CHANGED
@@ -9,22 +9,17 @@ end
|
|
9
9
|
|
10
10
|
|
11
11
|
caprc = unindent(<<-FILE)
|
12
|
-
# .caprc - Capistrano configs (added by deprec gem [
|
12
|
+
# .caprc - Capistrano configs (added by deprec gem [deprec.org])
|
13
13
|
#
|
14
14
|
# Include settings that you want active whenever you use Capistrano
|
15
|
-
# You can
|
15
|
+
# You can override these for particular projects by putting entries
|
16
16
|
# into Capfile or deploy.rb for those projects
|
17
17
|
#
|
18
18
|
# Uncomment any of the following entries to enable them.
|
19
19
|
|
20
20
|
# Include deprec - deployment recipes for Capistrano (www.deprec.org)
|
21
21
|
#
|
22
|
-
|
23
|
-
# The recipes in rails.rb add 'before' and 'after' tasks to
|
24
|
-
# some of the builtin cap deploy tasks which are not appropriate
|
25
|
-
# for deploying a project that isn't setup to use deprec.
|
26
|
-
#
|
27
|
-
require 'deprec_minus_rails'
|
22
|
+
require 'deprec'
|
28
23
|
|
29
24
|
# This fixes the following problem on Ubuntu Lucid (and others?)
|
30
25
|
# 'sudo: no tty present and no askpass program specified'
|
File without changes
|
data/lib/deprec.rb
CHANGED
@@ -1,8 +1,6 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
require 'deprec-core'
|
2
|
+
if defined?(Capistrano)
|
3
|
+
require "#{File.dirname(__FILE__)}/deprec/recipes"
|
4
|
+
elsif defined?(Rake)
|
5
|
+
require "#{File.dirname(__FILE__)}/deprec/rake"
|
3
6
|
end
|
4
|
-
|
5
|
-
require "#{File.dirname(__FILE__)}/deprec/capistrano_extensions"
|
6
|
-
require "#{File.dirname(__FILE__)}/vmbuilder_plugins/all"
|
7
|
-
require "#{File.dirname(__FILE__)}/deprec/recipes"
|
8
|
-
|
data/lib/deprec/cap.rb
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# Copyright 2006-2008 by Mike Bailey. All rights reserved.
|
2
|
+
unless Capistrano::Configuration.respond_to?(:instance)
|
3
|
+
abort "deprec2 requires Capistrano 2"
|
4
|
+
end
|
5
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/canonical"
|
6
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/deprec"
|
7
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/deprecated"
|
8
|
+
|
9
|
+
# Updated for deprec3
|
10
|
+
|
11
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/users"
|
12
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/network"
|
13
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/mri"
|
14
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/ree"
|
15
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/rack"
|
16
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/rubygems"
|
17
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/nagios3"
|
18
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/nrpe"
|
19
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/git"
|
20
|
+
|
21
|
+
# To be updated for deprec3
|
22
|
+
|
23
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/ssh"
|
24
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/passenger"
|
25
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/mysql"
|
26
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/postgresql"
|
27
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/apache"
|
28
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/haproxy"
|
29
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/heartbeat"
|
30
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/monit"
|
31
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/collectd"
|
32
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/ubuntu"
|
33
|
+
|
34
|
+
# To be decided...
|
35
|
+
|
36
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/ec2"
|
37
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/mongrel"
|
38
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/sqlite"
|
39
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/nginx"
|
40
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/bash"
|
41
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/php"
|
42
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/aoe"
|
43
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/lvm"
|
44
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/ntp"
|
45
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/logrotate"
|
46
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/ssl"
|
47
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/postfix"
|
48
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/syslog"
|
49
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/syslog_ng"
|
50
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/stunnel"
|
51
|
+
require "#{File.dirname(__FILE__)}/cap/recipes/utils"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -13,8 +13,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
13
13
|
# deprecated
|
14
14
|
alias :default :_cset
|
15
15
|
|
16
|
-
|
17
|
-
_cset :rake, 'rakes'
|
16
|
+
_cset :rake, 'rake'
|
18
17
|
|
19
18
|
# Deprec checks here for local versions of config templates before it's own
|
20
19
|
set :local_template_dir, File.join('config','templates')
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -259,22 +259,22 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
259
259
|
|
260
260
|
desc "Create database"
|
261
261
|
task :create, :roles => :app do
|
262
|
-
run "cd #{deploy_to}/current && rake db:create RAILS_ENV=#{rails_env}"
|
262
|
+
run "cd #{deploy_to}/current && #{rake} db:create RAILS_ENV=#{rails_env}"
|
263
263
|
end
|
264
264
|
|
265
265
|
desc "Run database migrations"
|
266
266
|
task :migrate, :roles => :app do
|
267
|
-
run "cd #{deploy_to}/current && rake db:migrate RAILS_ENV=#{rails_env}"
|
267
|
+
run "cd #{deploy_to}/current && #{rake} db:migrate RAILS_ENV=#{rails_env}"
|
268
268
|
end
|
269
269
|
|
270
270
|
desc "Run database migrations"
|
271
271
|
task :schema_load, :roles => :app do
|
272
|
-
run "cd #{deploy_to}/current && rake db:schema:load RAILS_ENV=#{rails_env}"
|
272
|
+
run "cd #{deploy_to}/current && #{rake} db:schema:load RAILS_ENV=#{rails_env}"
|
273
273
|
end
|
274
274
|
|
275
275
|
desc "Roll database back to previous migration"
|
276
276
|
task :rollback, :roles => :app do
|
277
|
-
run "cd #{deploy_to}/current && rake db:rollback RAILS_ENV=#{rails_env}"
|
277
|
+
run "cd #{deploy_to}/current && #{rake} db:rollback RAILS_ENV=#{rails_env}"
|
278
278
|
end
|
279
279
|
|
280
280
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|