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.
Files changed (209) hide show
  1. data/CHANGELOG +1 -1
  2. data/bin/depify +3 -8
  3. data/{lib → docs}/deprec_cmd_completion.sh +0 -0
  4. data/lib/deprec.rb +5 -7
  5. data/lib/deprec/cap.rb +51 -0
  6. data/lib/deprec/{callbacks → cap/callbacks}/asset_pipeline.rb +0 -0
  7. data/lib/deprec/{recipes → cap/recipes}/aoe.rb +0 -0
  8. data/lib/deprec/{recipes → cap/recipes}/apache.rb +0 -0
  9. data/lib/deprec/{recipes → cap/recipes}/bash.rb +0 -0
  10. data/lib/deprec/{recipes → cap/recipes}/canonical.rb +0 -0
  11. data/lib/deprec/{recipes → cap/recipes}/collectd.rb +0 -0
  12. data/lib/deprec/{recipes → cap/recipes}/deprec.rb +1 -2
  13. data/lib/deprec/{recipes → cap/recipes}/deprecated.rb +0 -0
  14. data/lib/deprec/{recipes → cap/recipes}/ec2.rb +0 -0
  15. data/lib/deprec/{recipes → cap/recipes}/example.rb +0 -0
  16. data/lib/deprec/{recipes → cap/recipes}/git.rb +0 -0
  17. data/lib/deprec/{recipes → cap/recipes}/haproxy.rb +0 -0
  18. data/lib/deprec/{recipes → cap/recipes}/heartbeat.rb +0 -0
  19. data/lib/deprec/{recipes → cap/recipes}/logrotate.rb +0 -0
  20. data/lib/deprec/{recipes → cap/recipes}/lvm.rb +0 -0
  21. data/lib/deprec/{recipes → cap/recipes}/mongrel.rb +0 -0
  22. data/lib/deprec/{recipes → cap/recipes}/monit.rb +0 -0
  23. data/lib/deprec/{recipes → cap/recipes}/mri.rb +0 -0
  24. data/lib/deprec/{recipes → cap/recipes}/mysql.rb +0 -0
  25. data/lib/deprec/{recipes → cap/recipes}/nagios.rb +0 -0
  26. data/lib/deprec/{recipes → cap/recipes}/nagios3.rb +0 -0
  27. data/lib/deprec/{recipes → cap/recipes}/network.rb +0 -0
  28. data/lib/deprec/{recipes → cap/recipes}/nginx.rb +0 -0
  29. data/lib/deprec/{recipes → cap/recipes}/nrpe.rb +0 -0
  30. data/lib/deprec/{recipes → cap/recipes}/ntp.rb +0 -0
  31. data/lib/deprec/{recipes → cap/recipes}/passenger.rb +0 -0
  32. data/lib/deprec/{recipes → cap/recipes}/php.rb +0 -0
  33. data/lib/deprec/{recipes → cap/recipes}/postfix.rb +0 -0
  34. data/lib/deprec/{recipes → cap/recipes}/postgresql.rb +0 -0
  35. data/lib/deprec/{recipes → cap/recipes}/rack.rb +0 -0
  36. data/lib/deprec/{recipes → cap/recipes}/rails.rb +4 -4
  37. data/lib/deprec/{recipes → cap/recipes}/ree.rb +0 -0
  38. data/lib/deprec/{recipes → cap/recipes}/rubygems.rb +0 -0
  39. data/lib/deprec/{recipes → cap/recipes}/sqlite.rb +0 -0
  40. data/lib/deprec/{recipes → cap/recipes}/ssh.rb +0 -0
  41. data/lib/deprec/{recipes → cap/recipes}/ssl.rb +0 -0
  42. data/lib/deprec/{recipes → cap/recipes}/stunnel.rb +0 -0
  43. data/lib/deprec/{recipes → cap/recipes}/syslog.rb +0 -0
  44. data/lib/deprec/{recipes → cap/recipes}/syslog_ng.rb +0 -0
  45. data/lib/deprec/{recipes → cap/recipes}/ubuntu.rb +0 -0
  46. data/lib/deprec/{recipes → cap/recipes}/users.rb +0 -0
  47. data/lib/deprec/{recipes → cap/recipes}/utils.rb +0 -0
  48. data/lib/deprec/{recipes → cap/recipes}/xen.rb +0 -0
  49. data/lib/deprec/{recipes → cap/recipes}/xentools.rb +0 -0
  50. data/lib/deprec/{templates → cap/templates}/aoe/aoe-init +0 -0
  51. data/lib/deprec/{templates → cap/templates}/aoe/fence_aoemask +0 -0
  52. data/lib/deprec/{templates → cap/templates}/apache/CHANGES.txt +0 -0
  53. data/lib/deprec/{templates → cap/templates}/apache/apache2.conf.erb +0 -0
  54. data/lib/deprec/{templates → cap/templates}/apache/default.erb +0 -0
  55. data/lib/deprec/{templates → cap/templates}/apache/namevirtualhosts.conf +0 -0
  56. data/lib/deprec/{templates → cap/templates}/apache/ports.conf.erb +0 -0
  57. data/lib/deprec/{templates → cap/templates}/apache/status.conf.erb +0 -0
  58. data/lib/deprec/{templates → cap/templates}/apache/vhost.erb +0 -0
  59. data/lib/deprec/{templates → cap/templates}/bash/bash_global +0 -0
  60. data/lib/deprec/{templates → cap/templates}/collectd/collectd-init.d +0 -0
  61. data/lib/deprec/{templates → cap/templates}/collectd/collectd.conf.erb +0 -0
  62. data/lib/deprec/{templates → cap/templates}/deprec/caprc.erb +0 -0
  63. data/lib/deprec/{templates → cap/templates}/haproxy/haproxy-init.d +0 -0
  64. data/lib/deprec/{templates → cap/templates}/haproxy/haproxy.cfg.erb +0 -0
  65. data/lib/deprec/{templates → cap/templates}/heartbeat/authkeys.erb +0 -0
  66. data/lib/deprec/{templates → cap/templates}/heartbeat/ha.cf.erb +0 -0
  67. data/lib/deprec/{templates → cap/templates}/heartbeat/haresources.erb +0 -0
  68. data/lib/deprec/{templates → cap/templates}/logrotate/logrotate.conf.erb +0 -0
  69. data/lib/deprec/{templates → cap/templates}/mongrel/apache_vhost.conf.erb +0 -0
  70. data/lib/deprec/{templates → cap/templates}/mongrel/logrotate.conf.erb +0 -0
  71. data/lib/deprec/{templates → cap/templates}/mongrel/mongrel_cluster-init-script +0 -0
  72. data/lib/deprec/{templates → cap/templates}/mongrel/mongrel_cluster.yml.erb +0 -0
  73. data/lib/deprec/{templates → cap/templates}/mongrel/monit.conf.erb +0 -0
  74. data/lib/deprec/{templates → cap/templates}/mongrel/nginx_vhost.conf.erb +0 -0
  75. data/lib/deprec/{templates → cap/templates}/monit/monit-init-script +0 -0
  76. data/lib/deprec/{templates → cap/templates}/monit/monitrc.erb +0 -0
  77. data/lib/deprec/{templates → cap/templates}/monit/nothing.monitrc +0 -0
  78. data/lib/deprec/{templates → cap/templates}/mysql/create_databases.sql +0 -0
  79. data/lib/deprec/{templates → cap/templates}/mysql/database.yml.prod +0 -0
  80. data/lib/deprec/{templates → cap/templates}/mysql/database.yml.stage +0 -0
  81. data/lib/deprec/{templates → cap/templates}/mysql/my.cnf.erb +0 -0
  82. data/lib/deprec/{templates → cap/templates}/mysql/sphinx.conf.prod +0 -0
  83. data/lib/deprec/{templates → cap/templates}/mysql/sphinx.conf.stage +0 -0
  84. data/lib/deprec/{templates → cap/templates}/nagios.old/README +0 -0
  85. data/lib/deprec/{templates → cap/templates}/nagios.old/apache_vhost.erb +0 -0
  86. data/lib/deprec/{templates → cap/templates}/nagios.old/cgi.cfg.erb +0 -0
  87. data/lib/deprec/{templates → cap/templates}/nagios.old/check_linux_free_memory.pl +0 -0
  88. data/lib/deprec/{templates → cap/templates}/nagios.old/check_mongrel_cluster.rb +0 -0
  89. data/lib/deprec/{templates → cap/templates}/nagios.old/htpasswd.users +0 -0
  90. data/lib/deprec/{templates → cap/templates}/nagios.old/mrtg.cfg +0 -0
  91. data/lib/deprec/{templates → cap/templates}/nagios.old/nagios.cfg.erb +0 -0
  92. data/lib/deprec/{templates → cap/templates}/nagios.old/nrpe.cfg.erb +0 -0
  93. data/lib/deprec/{templates → cap/templates}/nagios.old/nrpe.xinetd.erb +0 -0
  94. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/commands.cfg.erb +0 -0
  95. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/contacts.cfg.erb +0 -0
  96. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/hosts.cfg.erb +0 -0
  97. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/localhost.cfg.erb +0 -0
  98. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/services.cfg.erb +0 -0
  99. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/timeperiods.cfg.erb +0 -0
  100. data/lib/deprec/{templates → cap/templates}/nagios.old/resource.cfg.erb +0 -0
  101. data/lib/deprec/{templates → cap/templates}/nagios/apache2.conf +0 -0
  102. data/lib/deprec/{templates → cap/templates}/nagios/cgi.cfg +0 -0
  103. data/lib/deprec/{templates → cap/templates}/nagios/check_linux_free_memory.pl +0 -0
  104. data/lib/deprec/{templates → cap/templates}/nagios/commands.cfg +0 -0
  105. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/contacts_nagios2.cfg +0 -0
  106. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/extinfo_nagios2.cfg +0 -0
  107. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/generic-host_nagios2.cfg +0 -0
  108. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/generic-service_nagios2.cfg +0 -0
  109. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/hostgroups_nagios2.cfg +0 -0
  110. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/hosts/localhost_nagios2.cfg +0 -0
  111. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/services_nagios2.cfg +0 -0
  112. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/timeperiods_nagios2.cfg +0 -0
  113. data/lib/deprec/{templates → cap/templates}/nagios/host_template.erb +0 -0
  114. data/lib/deprec/{templates → cap/templates}/nagios/htpasswd.users +0 -0
  115. data/lib/deprec/{templates → cap/templates}/nagios/nagios.cfg +0 -0
  116. data/lib/deprec/{templates → cap/templates}/nagios/nrpe.cfg +0 -0
  117. data/lib/deprec/{templates → cap/templates}/nagios/resource.cfg +0 -0
  118. data/lib/deprec/{templates → cap/templates}/network/hostname.erb +0 -0
  119. data/lib/deprec/{templates → cap/templates}/network/hosts.erb +0 -0
  120. data/lib/deprec/{templates → cap/templates}/network/interfaces.erb +0 -0
  121. data/lib/deprec/{templates → cap/templates}/network/resolv.conf.erb +0 -0
  122. data/lib/deprec/{templates → cap/templates}/nginx/logrotate.conf.erb +0 -0
  123. data/lib/deprec/{templates → cap/templates}/nginx/mime.types.erb +0 -0
  124. data/lib/deprec/{templates → cap/templates}/nginx/nginx-init-script +0 -0
  125. data/lib/deprec/{templates → cap/templates}/nginx/nginx.conf.erb +0 -0
  126. data/lib/deprec/{templates → cap/templates}/nginx/nginx.logrotate.d +0 -0
  127. data/lib/deprec/{templates → cap/templates}/nginx/nothing.conf +0 -0
  128. data/lib/deprec/{templates → cap/templates}/nginx/rails_nginx_vhost.conf.erb +0 -0
  129. data/lib/deprec/{templates → cap/templates}/ntp/ntp.conf.erb +0 -0
  130. data/lib/deprec/{templates → cap/templates}/passenger/apache_vhost.erb +0 -0
  131. data/lib/deprec/{templates → cap/templates}/passenger/logrotate.conf.erb +0 -0
  132. data/lib/deprec/{templates → cap/templates}/passenger/passenger.conf.erb +0 -0
  133. data/lib/deprec/{templates → cap/templates}/passenger/passenger.load.erb +0 -0
  134. data/lib/deprec/{templates → cap/templates}/postfix/aliases.erb +0 -0
  135. data/lib/deprec/{templates → cap/templates}/postfix/dynamicmaps.cf.erb +0 -0
  136. data/lib/deprec/{templates → cap/templates}/postfix/main.cf.erb +0 -0
  137. data/lib/deprec/{templates → cap/templates}/postfix/master.cf.erb +0 -0
  138. data/lib/deprec/{templates → cap/templates}/ssh/ssh_config.erb +0 -0
  139. data/lib/deprec/{templates → cap/templates}/ssh/sshd_config.erb +0 -0
  140. data/lib/deprec/{templates → cap/templates}/ssl/make-ssl-cert +0 -0
  141. data/lib/deprec/{templates → cap/templates}/ssl/ssl-cert-snakeoil.key +0 -0
  142. data/lib/deprec/{templates → cap/templates}/ssl/ssl-cert-snakeoil.pem +0 -0
  143. data/lib/deprec/{templates → cap/templates}/stunnel/stunnel.conf-client +0 -0
  144. data/lib/deprec/{templates → cap/templates}/stunnel/stunnel.conf-orig +0 -0
  145. data/lib/deprec/{templates → cap/templates}/stunnel/stunnel.conf-server +0 -0
  146. data/lib/deprec/{templates → cap/templates}/stunnel/stunnel4 +0 -0
  147. data/lib/deprec/{templates → cap/templates}/stunnel/syslog-server.pem +0 -0
  148. data/lib/deprec/{templates → cap/templates}/syslog/syslog.conf.erb +0 -0
  149. data/lib/deprec/{templates → cap/templates}/syslog/syslogd.erb +0 -0
  150. data/lib/deprec/{templates → cap/templates}/syslog_ng/apache_syslog +0 -0
  151. data/lib/deprec/{templates → cap/templates}/syslog_ng/syslog-ng.conf-client +0 -0
  152. data/lib/deprec/{templates → cap/templates}/syslog_ng/syslog-ng.conf-orig +0 -0
  153. data/lib/deprec/{templates → cap/templates}/syslog_ng/syslog-ng.conf-server +0 -0
  154. data/lib/deprec/{templates → cap/templates}/xen/network-bridge-wrapper +0 -0
  155. data/lib/deprec/{templates → cap/templates}/xen/xend-config.sxp.erb +0 -0
  156. data/lib/deprec/{templates → cap/templates}/xen/xend-init.erb +0 -0
  157. data/lib/deprec/{templates → cap/templates}/xen/xendomains.erb +0 -0
  158. data/lib/deprec/{templates → cap/templates}/xentools/15-disable-hwclock +0 -0
  159. data/lib/deprec/{templates → cap/templates}/xentools/40-setup-networking +0 -0
  160. data/lib/deprec/{templates → cap/templates}/xentools/xen-tools.conf.erb +0 -0
  161. data/lib/deprec/{templates → cap/templates}/xentools/xm.tmpl.erb +0 -0
  162. data/lib/deprec_minus_rails.rb +22 -12
  163. metadata +178 -212
  164. data/lib/deprec/TODO.txt +0 -6
  165. data/lib/deprec/capistrano_extensions.rb +0 -418
  166. data/lib/deprec/recipes.rb +0 -7
  167. data/lib/deprec/recipes/ar_sendmail.rb +0 -67
  168. data/lib/deprec/recipes/chef.rb +0 -68
  169. data/lib/deprec/recipes/couchdb.rb +0 -107
  170. data/lib/deprec/recipes/ddclient.rb +0 -51
  171. data/lib/deprec/recipes/gitosis.rb +0 -55
  172. data/lib/deprec/recipes/integrity.rb +0 -108
  173. data/lib/deprec/recipes/memcache.rb +0 -49
  174. data/lib/deprec/recipes/sphinx.rb +0 -86
  175. data/lib/deprec/recipes/starling.rb +0 -119
  176. data/lib/deprec/recipes/svn.rb +0 -12
  177. data/lib/deprec/recipes/trac.rb +0 -277
  178. data/lib/deprec/recipes/vmware_tools.rb +0 -15
  179. data/lib/deprec/recipes/vnstat.rb +0 -85
  180. data/lib/deprec/recipes/wpmu.rb +0 -103
  181. data/lib/deprec/recipes_minus_rails.rb +0 -69
  182. data/lib/deprec/templates/ar_sendmail/logrotate.conf.erb +0 -9
  183. data/lib/deprec/templates/ar_sendmail/monit.conf.erb +0 -5
  184. data/lib/deprec/templates/chef/chef.json.erb +0 -1
  185. data/lib/deprec/templates/chef/solo.rb +0 -2
  186. data/lib/deprec/templates/ddclient/ddclient.conf.erb +0 -11
  187. data/lib/deprec/templates/ddclient/ddclient.erb +0 -15
  188. data/lib/deprec/templates/integrity/apache_vhost.erb +0 -4
  189. data/lib/deprec/templates/integrity/config.ru.erb +0 -21
  190. data/lib/deprec/templates/integrity/config.yml.erb +0 -43
  191. data/lib/deprec/templates/sphinx/monit.conf.erb +0 -5
  192. data/lib/deprec/templates/starling/monit.conf.erb +0 -14
  193. data/lib/deprec/templates/starling/starling-init-script.erb +0 -71
  194. data/lib/deprec/templates/subversion/svn.apache.vhost.erb +0 -43
  195. data/lib/deprec/templates/trac/apache_vhost.conf.erb +0 -24
  196. data/lib/deprec/templates/trac/nginx_vhost.conf.erb +0 -26
  197. data/lib/deprec/templates/trac/trac.ini.erb +0 -169
  198. data/lib/deprec/templates/trac/trac_deprec.png +0 -0
  199. data/lib/deprec/templates/trac/tracd-init.erb +0 -43
  200. data/lib/deprec/templates/trac/users.htdigest.erb +0 -0
  201. data/lib/deprec/templates/vnstat/config.php +0 -57
  202. data/lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb +0 -31
  203. data/lib/deprec/templates/wordpress/wp-config.php.erb +0 -31
  204. data/lib/deprec/templates/wpmu/apache_vhost.conf.erb +0 -13
  205. data/lib/vmbuilder_plugins/all.rb +0 -20
  206. data/lib/vmbuilder_plugins/apt.rb +0 -93
  207. data/lib/vmbuilder_plugins/emerge.rb +0 -76
  208. data/lib/vmbuilder_plugins/gem.rb +0 -90
  209. data/lib/vmbuilder_plugins/std.rb +0 -203
data/CHANGELOG CHANGED
@@ -1,6 +1,6 @@
1
1
  # deprec changelog
2
2
 
3
- = 2.2.2 (Jul 15, 2011)
3
+ = 2.2.3 (Jul 15, 2011)
4
4
 
5
5
  * deprec now provides rake tasks
6
6
 
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 [www.deprec.org])
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 over ride these for particular projects by putting entries
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
- # This loads all recipes minus the ones in rails.rb
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
- unless Capistrano::Configuration.respond_to?(:instance)
2
- abort "deprec2 requires Capistrano 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
@@ -13,8 +13,7 @@ Capistrano::Configuration.instance(:must_exist).load do
13
13
  # deprecated
14
14
  alias :default :_cset
15
15
 
16
- # _cset :rake, 'rake'
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