deprec 3.1.0.rc3 → 3.1.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. data/CHANGELOG +32 -1
  2. data/{lib/deprec/cap.rb → docs/old_cap_require_list.rb} +0 -6
  3. data/lib/deprec.rb +2 -2
  4. data/lib/deprec/{cap/callbacks → callbacks}/asset_pipeline.rb +0 -0
  5. data/lib/deprec/callbacks/deploy.rb +3 -0
  6. data/lib/deprec/{cap/recipes → recipes}/aoe.rb +0 -0
  7. data/lib/deprec/{cap/recipes → recipes}/apache.rb +0 -0
  8. data/lib/deprec/{cap/recipes → recipes}/bash.rb +0 -0
  9. data/lib/deprec/{cap/recipes → recipes}/canonical.rb +0 -0
  10. data/lib/deprec/{cap/recipes → recipes}/collectd.rb +0 -0
  11. data/lib/deprec/{rake → recipes}/db.rake +0 -0
  12. data/lib/deprec/recipes/deploy.rb +21 -0
  13. data/lib/deprec/{cap/recipes → recipes}/deprecated.rb +0 -0
  14. data/lib/deprec/{cap/recipes → recipes}/ec2.rb +0 -0
  15. data/lib/deprec/{cap/recipes → recipes}/example.rb +0 -0
  16. data/lib/deprec/{cap/recipes → recipes}/git.rb +0 -0
  17. data/lib/deprec/{cap/recipes → recipes}/haproxy.rb +0 -0
  18. data/lib/deprec/{cap/recipes → recipes}/heartbeat.rb +0 -0
  19. data/lib/deprec/{cap/recipes → recipes}/logrotate.rb +0 -0
  20. data/lib/deprec/{cap/recipes → recipes}/lvm.rb +0 -0
  21. data/lib/deprec/{cap/recipes → recipes}/mongrel.rb +0 -0
  22. data/lib/deprec/{cap/recipes → recipes}/monit.rb +0 -0
  23. data/lib/deprec/{cap/recipes → recipes}/mri.rb +0 -0
  24. data/lib/deprec/{cap/recipes → recipes}/mysql.rb +0 -0
  25. data/lib/deprec/{cap/recipes → recipes}/nagios.rb +0 -0
  26. data/lib/deprec/{cap/recipes → recipes}/nagios3.rb +0 -0
  27. data/lib/deprec/{cap/recipes → recipes}/network.rb +0 -0
  28. data/lib/deprec/{cap/recipes → recipes}/nginx.rb +0 -0
  29. data/lib/deprec/{cap/recipes → recipes}/nrpe.rb +0 -0
  30. data/lib/deprec/{cap/recipes → recipes}/ntp.rb +0 -0
  31. data/lib/deprec/{cap/recipes → recipes}/passenger.rb +0 -0
  32. data/lib/deprec/{cap/recipes → recipes}/php.rb +0 -0
  33. data/lib/deprec/{cap/recipes → recipes}/postfix.rb +0 -0
  34. data/lib/deprec/{cap/recipes → recipes}/postgresql.rb +0 -0
  35. data/lib/deprec/{cap/recipes → recipes}/rack.rb +0 -0
  36. data/lib/deprec/{cap/recipes → recipes}/rails.rb +0 -0
  37. data/lib/deprec/{cap/recipes → recipes}/ree.rb +0 -0
  38. data/lib/deprec/{cap/recipes → recipes}/rubygems.rb +0 -0
  39. data/lib/deprec/{cap/recipes → recipes}/sqlite.rb +0 -0
  40. data/lib/deprec/{cap/recipes → recipes}/ssh.rb +0 -0
  41. data/lib/deprec/{cap/recipes → recipes}/ssl.rb +0 -0
  42. data/lib/deprec/{cap/recipes → recipes}/stunnel.rb +0 -0
  43. data/lib/deprec/{cap/recipes → recipes}/syslog.rb +0 -0
  44. data/lib/deprec/{cap/recipes → recipes}/syslog_ng.rb +0 -0
  45. data/lib/deprec/{cap/recipes → recipes}/ubuntu.rb +0 -0
  46. data/lib/deprec/{cap/recipes → recipes}/users.rb +0 -0
  47. data/lib/deprec/{cap/recipes → recipes}/utils.rb +0 -0
  48. data/lib/deprec/{cap/recipes → recipes}/xen.rb +0 -0
  49. data/lib/deprec/{cap/recipes → recipes}/xentools.rb +0 -0
  50. data/lib/deprec/{cap/templates → templates}/aoe/aoe-init +0 -0
  51. data/lib/deprec/{cap/templates → templates}/aoe/fence_aoemask +0 -0
  52. data/lib/deprec/{cap/templates → templates}/apache/CHANGES.txt +0 -0
  53. data/lib/deprec/{cap/templates → templates}/apache/apache2.conf.erb +0 -0
  54. data/lib/deprec/{cap/templates → templates}/apache/default.erb +0 -0
  55. data/lib/deprec/{cap/templates → templates}/apache/namevirtualhosts.conf +0 -0
  56. data/lib/deprec/{cap/templates → templates}/apache/ports.conf.erb +0 -0
  57. data/lib/deprec/{cap/templates → templates}/apache/status.conf.erb +0 -0
  58. data/lib/deprec/{cap/templates → templates}/apache/vhost.erb +0 -0
  59. data/lib/deprec/{cap/templates → templates}/bash/bash_global +0 -0
  60. data/lib/deprec/{cap/templates → templates}/collectd/collectd-init.d +0 -0
  61. data/lib/deprec/{cap/templates → templates}/collectd/collectd.conf.erb +0 -0
  62. data/lib/deprec/{cap/templates → templates}/deprec/caprc.erb +0 -0
  63. data/lib/deprec/{cap/templates → templates}/haproxy/haproxy-init.d +0 -0
  64. data/lib/deprec/{cap/templates → templates}/haproxy/haproxy.cfg.erb +0 -0
  65. data/lib/deprec/{cap/templates → templates}/heartbeat/authkeys.erb +0 -0
  66. data/lib/deprec/{cap/templates → templates}/heartbeat/ha.cf.erb +0 -0
  67. data/lib/deprec/{cap/templates → templates}/heartbeat/haresources.erb +0 -0
  68. data/lib/deprec/{cap/templates → templates}/logrotate/logrotate.conf.erb +0 -0
  69. data/lib/deprec/{cap/templates → templates}/mongrel/apache_vhost.conf.erb +0 -0
  70. data/lib/deprec/{cap/templates → templates}/mongrel/logrotate.conf.erb +0 -0
  71. data/lib/deprec/{cap/templates → templates}/mongrel/mongrel_cluster-init-script +0 -0
  72. data/lib/deprec/{cap/templates → templates}/mongrel/mongrel_cluster.yml.erb +0 -0
  73. data/lib/deprec/{cap/templates → templates}/mongrel/monit.conf.erb +0 -0
  74. data/lib/deprec/{cap/templates → templates}/mongrel/nginx_vhost.conf.erb +0 -0
  75. data/lib/deprec/{cap/templates → templates}/monit/monit-init-script +0 -0
  76. data/lib/deprec/{cap/templates → templates}/monit/monitrc.erb +0 -0
  77. data/lib/deprec/{cap/templates → templates}/monit/nothing.monitrc +0 -0
  78. data/lib/deprec/{cap/templates → templates}/mysql/create_databases.sql +0 -0
  79. data/lib/deprec/{cap/templates → templates}/mysql/database.yml.prod +0 -0
  80. data/lib/deprec/{cap/templates → templates}/mysql/database.yml.stage +0 -0
  81. data/lib/deprec/{cap/templates → templates}/mysql/my.cnf.erb +0 -0
  82. data/lib/deprec/{cap/templates → templates}/mysql/sphinx.conf.prod +0 -0
  83. data/lib/deprec/{cap/templates → templates}/mysql/sphinx.conf.stage +0 -0
  84. data/lib/deprec/{cap/templates → templates}/nagios.old/README +0 -0
  85. data/lib/deprec/{cap/templates → templates}/nagios.old/apache_vhost.erb +0 -0
  86. data/lib/deprec/{cap/templates → templates}/nagios.old/cgi.cfg.erb +0 -0
  87. data/lib/deprec/{cap/templates → templates}/nagios.old/check_linux_free_memory.pl +0 -0
  88. data/lib/deprec/{cap/templates → templates}/nagios.old/check_mongrel_cluster.rb +0 -0
  89. data/lib/deprec/{cap/templates → templates}/nagios.old/htpasswd.users +0 -0
  90. data/lib/deprec/{cap/templates → templates}/nagios.old/mrtg.cfg +0 -0
  91. data/lib/deprec/{cap/templates → templates}/nagios.old/nagios.cfg.erb +0 -0
  92. data/lib/deprec/{cap/templates → templates}/nagios.old/nrpe.cfg.erb +0 -0
  93. data/lib/deprec/{cap/templates → templates}/nagios.old/nrpe.xinetd.erb +0 -0
  94. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/commands.cfg.erb +0 -0
  95. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/contacts.cfg.erb +0 -0
  96. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/hosts.cfg.erb +0 -0
  97. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/localhost.cfg.erb +0 -0
  98. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/services.cfg.erb +0 -0
  99. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/timeperiods.cfg.erb +0 -0
  100. data/lib/deprec/{cap/templates → templates}/nagios.old/resource.cfg.erb +0 -0
  101. data/lib/deprec/{cap/templates → templates}/nagios/apache2.conf +0 -0
  102. data/lib/deprec/{cap/templates → templates}/nagios/cgi.cfg +0 -0
  103. data/lib/deprec/{cap/templates → templates}/nagios/check_linux_free_memory.pl +0 -0
  104. data/lib/deprec/{cap/templates → templates}/nagios/commands.cfg +0 -0
  105. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/contacts_nagios2.cfg +0 -0
  106. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/extinfo_nagios2.cfg +0 -0
  107. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/generic-host_nagios2.cfg +0 -0
  108. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/generic-service_nagios2.cfg +0 -0
  109. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/hostgroups_nagios2.cfg +0 -0
  110. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/hosts/localhost_nagios2.cfg +0 -0
  111. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/services_nagios2.cfg +0 -0
  112. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/timeperiods_nagios2.cfg +0 -0
  113. data/lib/deprec/{cap/templates → templates}/nagios/host_template.erb +0 -0
  114. data/lib/deprec/{cap/templates → templates}/nagios/htpasswd.users +0 -0
  115. data/lib/deprec/{cap/templates → templates}/nagios/nagios.cfg +0 -0
  116. data/lib/deprec/{cap/templates → templates}/nagios/nrpe.cfg +0 -0
  117. data/lib/deprec/{cap/templates → templates}/nagios/resource.cfg +0 -0
  118. data/lib/deprec/{cap/templates → templates}/network/hostname.erb +0 -0
  119. data/lib/deprec/{cap/templates → templates}/network/hosts.erb +0 -0
  120. data/lib/deprec/{cap/templates → templates}/network/interfaces.erb +0 -0
  121. data/lib/deprec/{cap/templates → templates}/network/resolv.conf.erb +0 -0
  122. data/lib/deprec/{cap/templates → templates}/nginx/logrotate.conf.erb +0 -0
  123. data/lib/deprec/{cap/templates → templates}/nginx/mime.types.erb +0 -0
  124. data/lib/deprec/{cap/templates → templates}/nginx/nginx-init-script +0 -0
  125. data/lib/deprec/{cap/templates → templates}/nginx/nginx.conf.erb +0 -0
  126. data/lib/deprec/{cap/templates → templates}/nginx/nginx.logrotate.d +0 -0
  127. data/lib/deprec/{cap/templates → templates}/nginx/nothing.conf +0 -0
  128. data/lib/deprec/{cap/templates → templates}/nginx/rails_nginx_vhost.conf.erb +0 -0
  129. data/lib/deprec/{cap/templates → templates}/ntp/ntp.conf.erb +0 -0
  130. data/lib/deprec/{cap/templates → templates}/passenger/apache_vhost.erb +0 -0
  131. data/lib/deprec/{cap/templates → templates}/passenger/logrotate.conf.erb +0 -0
  132. data/lib/deprec/{cap/templates → templates}/passenger/passenger.conf.erb +0 -0
  133. data/lib/deprec/{cap/templates → templates}/passenger/passenger.load.erb +0 -0
  134. data/lib/deprec/{cap/templates → templates}/postfix/aliases.erb +0 -0
  135. data/lib/deprec/{cap/templates → templates}/postfix/dynamicmaps.cf.erb +0 -0
  136. data/lib/deprec/{cap/templates → templates}/postfix/main.cf.erb +0 -0
  137. data/lib/deprec/{cap/templates → templates}/postfix/master.cf.erb +0 -0
  138. data/lib/deprec/{cap/templates → templates}/ssh/ssh_config.erb +0 -0
  139. data/lib/deprec/{cap/templates → templates}/ssh/sshd_config.erb +0 -0
  140. data/lib/deprec/{cap/templates → templates}/ssl/make-ssl-cert +0 -0
  141. data/lib/deprec/{cap/templates → templates}/ssl/ssl-cert-snakeoil.key +0 -0
  142. data/lib/deprec/{cap/templates → templates}/ssl/ssl-cert-snakeoil.pem +0 -0
  143. data/lib/deprec/{cap/templates → templates}/stunnel/stunnel.conf-client +0 -0
  144. data/lib/deprec/{cap/templates → templates}/stunnel/stunnel.conf-orig +0 -0
  145. data/lib/deprec/{cap/templates → templates}/stunnel/stunnel.conf-server +0 -0
  146. data/lib/deprec/{cap/templates → templates}/stunnel/stunnel4 +0 -0
  147. data/lib/deprec/{cap/templates → templates}/stunnel/syslog-server.pem +0 -0
  148. data/lib/deprec/{cap/templates → templates}/syslog/syslog.conf.erb +0 -0
  149. data/lib/deprec/{cap/templates → templates}/syslog/syslogd.erb +0 -0
  150. data/lib/deprec/{cap/templates → templates}/syslog_ng/apache_syslog +0 -0
  151. data/lib/deprec/{cap/templates → templates}/syslog_ng/syslog-ng.conf-client +0 -0
  152. data/lib/deprec/{cap/templates → templates}/syslog_ng/syslog-ng.conf-orig +0 -0
  153. data/lib/deprec/{cap/templates → templates}/syslog_ng/syslog-ng.conf-server +0 -0
  154. data/lib/deprec/{cap/templates → templates}/xen/network-bridge-wrapper +0 -0
  155. data/lib/deprec/{cap/templates → templates}/xen/xend-config.sxp.erb +0 -0
  156. data/lib/deprec/{cap/templates → templates}/xen/xend-init.erb +0 -0
  157. data/lib/deprec/{cap/templates → templates}/xen/xendomains.erb +0 -0
  158. data/lib/deprec/{cap/templates → templates}/xentools/15-disable-hwclock +0 -0
  159. data/lib/deprec/{cap/templates → templates}/xentools/40-setup-networking +0 -0
  160. data/lib/deprec/{cap/templates → templates}/xentools/xen-tools.conf.erb +0 -0
  161. data/lib/deprec/{cap/templates → templates}/xentools/xm.tmpl.erb +0 -0
  162. data/lib/deprec/version.rb +1 -1
  163. metadata +161 -162
  164. data/lib/deprec/cap/recipes/deprec.rb +0 -191
  165. data/lib/deprec/rake.rb +0 -12
  166. data/lib/deprec/rake/environments.rake +0 -9
data/lib/deprec/rake.rb DELETED
@@ -1,12 +0,0 @@
1
- $VERBOSE = nil
2
-
3
- # Load deprec rakefile extensions
4
- if defined?(Rake)
5
- %w(
6
- db
7
- environments
8
- ).each do |task|
9
- load File.join(File.dirname(__FILE__), 'rake', "#{task}.rake")
10
- end
11
- end
12
-
@@ -1,9 +0,0 @@
1
- # This coolness is from Chris Wanstrath
2
- # http://errtheblog.com/posts/31-rake-around-the-rosie
3
-
4
- %w(development production staging testing).each do |env|
5
- desc "Runs the following task in the #{env} environment"
6
- task env.to_sym do
7
- RAILS_ENV = ENV['RAILS_ENV'] = env
8
- end
9
- end