rubber 1.3.2 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (277) hide show
  1. data/CHANGELOG +7 -0
  2. data/VERSION +1 -1
  3. data/bin/vulcanize +16 -32
  4. data/generators/vulcanize/templates/apache/config/rubber/deploy-apache.rb +6 -6
  5. data/generators/vulcanize/templates/apache/config/rubber/role/apache/monit-apache.conf +2 -2
  6. data/generators/vulcanize/templates/apache/config/rubber/role/apache/ports.conf +3 -0
  7. data/generators/vulcanize/templates/apache/config/rubber/role/web_tools/tools-apache-vhost.conf +29 -16
  8. data/generators/vulcanize/templates/apache/config/rubber/role/web_tools/tools-index.html +1 -1
  9. data/generators/vulcanize/templates/base/Rakefile +21 -0
  10. data/generators/vulcanize/templates/base/config/rubber/common/crontab +6 -1
  11. data/generators/vulcanize/templates/base/config/rubber/common/monit-postfix.conf +2 -2
  12. data/generators/vulcanize/templates/base/config/rubber/common/rubber.profile +3 -4
  13. data/generators/vulcanize/templates/base/config/rubber/deploy-setup.rb +27 -48
  14. data/generators/vulcanize/templates/base/config/rubber/deploy-util.rb +97 -0
  15. data/generators/vulcanize/templates/base/config/rubber/rubber-rvm.yml +25 -0
  16. data/generators/vulcanize/templates/base/config/rubber/rubber.yml +7 -12
  17. data/generators/vulcanize/templates/base/script/cron-runner +1 -1
  18. data/generators/vulcanize/templates/base/templates.rb +9 -0
  19. data/generators/vulcanize/templates/base/templates.yml +5 -0
  20. data/generators/vulcanize/templates/cassandra/config/rubber/deploy-cassandra.rb +88 -0
  21. data/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/cassandra.in.sh +58 -0
  22. data/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/cassandra.yaml +210 -0
  23. data/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/log4j-server.properties +45 -0
  24. data/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/monit-cassandra.conf +8 -0
  25. data/generators/vulcanize/templates/cassandra/config/rubber/rubber-cassandra.yml +18 -0
  26. data/generators/vulcanize/templates/cassandra/templates.yml +1 -0
  27. data/generators/vulcanize/templates/{complete_passenger_mysql → complete_passenger}/config/rubber/role/haproxy/haproxy-passenger.conf +1 -1
  28. data/generators/vulcanize/templates/{complete_passenger_mysql → complete_passenger}/config/rubber/rubber-complete.yml +0 -0
  29. data/generators/vulcanize/templates/complete_passenger/templates.rb +9 -0
  30. data/generators/vulcanize/templates/complete_passenger/templates.yml +9 -0
  31. data/generators/vulcanize/templates/complete_passenger_mysql/templates.yml +1 -7
  32. data/generators/vulcanize/templates/complete_passenger_postgresql/templates.yml +4 -0
  33. data/generators/vulcanize/templates/cruise/config/rubber/deploy-cruise.rb +3 -3
  34. data/generators/vulcanize/templates/cruise/config/rubber/role/cruise/my.cnf +1 -1
  35. data/generators/vulcanize/templates/haproxy/config/rubber/deploy-haproxy.rb +5 -5
  36. data/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/monit-haproxy.conf +2 -2
  37. data/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/syslog-haproxy.conf +1 -1
  38. data/generators/vulcanize/templates/jetty/config/rubber/deploy-jetty.rb +4 -4
  39. data/generators/vulcanize/templates/memcached/config/rubber/role/memcached/memcached.conf +1 -1
  40. data/generators/vulcanize/templates/mongrel/config/rubber/deploy-mongrel.rb +4 -4
  41. data/generators/vulcanize/templates/monit/config/rubber/common/monit.conf +2 -0
  42. data/generators/vulcanize/templates/monit/config/rubber/deploy-monit.rb +3 -3
  43. data/generators/vulcanize/templates/munin/config/rubber/common/monit-munin.conf +2 -2
  44. data/generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf +1 -1
  45. data/generators/vulcanize/templates/munin/config/rubber/common/munin-plugins.conf +4 -2
  46. data/generators/vulcanize/templates/munin/config/rubber/deploy-munin.rb +4 -4
  47. data/generators/vulcanize/templates/munin/config/rubber/role/web_tools/munin-plugins.conf +2 -2
  48. data/generators/vulcanize/templates/munin/config/rubber/role/web_tools/munin.conf +1 -0
  49. data/generators/vulcanize/templates/munin/config/rubber/rubber-munin.yml +1 -1
  50. data/generators/vulcanize/templates/munin/script/munin/example_mysql_query.rb +6 -8
  51. data/generators/vulcanize/templates/mysql/config/rubber/common/database.yml +1 -0
  52. data/generators/vulcanize/templates/mysql/config/rubber/deploy-mysql.rb +24 -109
  53. data/generators/vulcanize/templates/mysql/config/rubber/role/db/apparmor-mysql.conf +1 -1
  54. data/generators/vulcanize/templates/mysql/config/rubber/role/db/monit-mysql.cnf +2 -2
  55. data/generators/vulcanize/templates/mysql/config/rubber/rubber-mysql.yml +1 -1
  56. data/generators/vulcanize/templates/mysql_cluster/config/rubber/deploy-mysql_cluster.rb +19 -15
  57. data/generators/vulcanize/templates/mysql_cluster/config/rubber/role/mysql_sql/monit-mysql_cluster_sql.cnf +2 -2
  58. data/generators/vulcanize/templates/mysql_proxy/config/rubber/common/monit-mysql_proxy.cnf +2 -2
  59. data/generators/vulcanize/templates/mysql_proxy/config/rubber/deploy-mysql_proxy.rb +3 -3
  60. data/generators/vulcanize/templates/nginx/config/rubber/deploy-nginx.rb +5 -5
  61. data/generators/vulcanize/templates/nginx/config/rubber/role/nginx/monit-nginx.conf +2 -2
  62. data/generators/vulcanize/templates/passenger/config/rubber/deploy-passenger.rb +10 -1
  63. data/generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-memory.conf +1 -1
  64. data/generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-sudoers.conf +2 -2
  65. data/generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger.conf +1 -1
  66. data/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf +3 -3
  67. data/generators/vulcanize/templates/passenger/config/rubber/rubber-passenger.yml +2 -2
  68. data/generators/vulcanize/templates/postgresql/config/rubber/common/database.yml +12 -0
  69. data/generators/vulcanize/templates/postgresql/config/rubber/deploy-postgresql.rb +131 -0
  70. data/generators/vulcanize/templates/postgresql/config/rubber/role/db/crontab +14 -0
  71. data/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf +10 -0
  72. data/generators/vulcanize/templates/postgresql/config/rubber/role/db/pg_hba.conf +89 -0
  73. data/generators/vulcanize/templates/postgresql/config/rubber/role/db/postgresql-sysctl.conf +6 -0
  74. data/generators/vulcanize/templates/postgresql/config/rubber/role/db/postgresql.conf +504 -0
  75. data/generators/vulcanize/templates/postgresql/config/rubber/rubber-postgresql.yml +45 -0
  76. data/generators/vulcanize/templates/postgresql/templates.yml +1 -0
  77. data/generators/vulcanize/templates/redis/config/rubber/deploy-redis.rb +8 -7
  78. data/generators/vulcanize/templates/resque/config/initializers/resque.rb +15 -0
  79. data/generators/vulcanize/templates/resque/config/rubber/common/resque.yml +5 -0
  80. data/generators/vulcanize/templates/resque/config/rubber/deploy-resque.rb +46 -27
  81. data/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf +14 -0
  82. data/generators/vulcanize/templates/resque/config/rubber/role/resque_worker/monit-resque_worker.conf +19 -0
  83. data/generators/vulcanize/templates/resque/config/rubber/rubber-resque.yml +14 -6
  84. data/generators/vulcanize/templates/resque/script/resque_worker_management.rb +112 -0
  85. data/generators/vulcanize/templates/resque/templates.rb +1 -0
  86. data/generators/vulcanize/templates/sphinx/config/rubber/deploy-sphinx.rb +7 -8
  87. data/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf +7 -4
  88. data/generators/vulcanize/vulcanize_generator.rb +154 -49
  89. data/lib/generators/vulcanize/USAGE +6 -0
  90. data/lib/generators/vulcanize/templates/apache/config/rubber/deploy-apache.rb +51 -0
  91. data/lib/generators/vulcanize/templates/apache/config/rubber/role/apache/deflate.conf +10 -0
  92. data/lib/generators/vulcanize/templates/apache/config/rubber/role/apache/expires.conf +9 -0
  93. data/lib/generators/vulcanize/templates/apache/config/rubber/role/apache/headers.conf +6 -0
  94. data/lib/generators/vulcanize/templates/apache/config/rubber/role/apache/monit-apache.conf +8 -0
  95. data/lib/generators/vulcanize/templates/apache/config/rubber/role/apache/ports.conf +8 -0
  96. data/lib/generators/vulcanize/templates/apache/config/rubber/role/apache/setenvif.conf +52 -0
  97. data/lib/generators/vulcanize/templates/apache/config/rubber/role/web_tools/tools-apache-vhost.conf +79 -0
  98. data/lib/generators/vulcanize/templates/apache/config/rubber/role/web_tools/tools-apache.auth +7 -0
  99. data/lib/generators/vulcanize/templates/apache/config/rubber/role/web_tools/tools-index.html +34 -0
  100. data/lib/generators/vulcanize/templates/apache/config/rubber/rubber-apache.yml +6 -0
  101. data/lib/generators/vulcanize/templates/apache/templates.yml +1 -0
  102. data/lib/generators/vulcanize/templates/base/Capfile +14 -0
  103. data/lib/generators/vulcanize/templates/base/Rakefile +21 -0
  104. data/lib/generators/vulcanize/templates/base/config/deploy.rb +55 -0
  105. data/lib/generators/vulcanize/templates/base/config/rubber/common/crontab +22 -0
  106. data/lib/generators/vulcanize/templates/base/config/rubber/common/monit-postfix.conf +8 -0
  107. data/lib/generators/vulcanize/templates/base/config/rubber/common/rubber.profile +13 -0
  108. data/lib/generators/vulcanize/templates/base/config/rubber/deploy-setup.rb +63 -0
  109. data/lib/generators/vulcanize/templates/base/config/rubber/deploy-util.rb +97 -0
  110. data/lib/generators/vulcanize/templates/base/config/rubber/rubber-dns.yml +78 -0
  111. data/lib/generators/vulcanize/templates/base/config/rubber/rubber-rvm.yml +25 -0
  112. data/lib/generators/vulcanize/templates/base/config/rubber/rubber.yml +235 -0
  113. data/lib/generators/vulcanize/templates/base/lib/tasks/rubber.rake +15 -0
  114. data/lib/generators/vulcanize/templates/base/script/cron-rake +18 -0
  115. data/lib/generators/vulcanize/templates/base/script/cron-runner +18 -0
  116. data/lib/generators/vulcanize/templates/base/script/cron-sh +67 -0
  117. data/lib/generators/vulcanize/templates/base/templates.rb +9 -0
  118. data/lib/generators/vulcanize/templates/base/templates.yml +6 -0
  119. data/lib/generators/vulcanize/templates/cassandra/config/rubber/deploy-cassandra.rb +88 -0
  120. data/lib/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/cassandra.in.sh +58 -0
  121. data/lib/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/cassandra.yaml +210 -0
  122. data/lib/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/log4j-server.properties +45 -0
  123. data/lib/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/monit-cassandra.conf +8 -0
  124. data/lib/generators/vulcanize/templates/cassandra/config/rubber/rubber-cassandra.yml +18 -0
  125. data/lib/generators/vulcanize/templates/cassandra/templates.yml +1 -0
  126. data/lib/generators/vulcanize/templates/complete_mongrel_mysql/config/rubber/role/haproxy/haproxy-mongrel.conf +23 -0
  127. data/lib/generators/vulcanize/templates/complete_mongrel_mysql/config/rubber/role/nginx/nginx-mongrel.conf +113 -0
  128. data/lib/generators/vulcanize/templates/complete_mongrel_mysql/config/rubber/rubber-complete.yml +41 -0
  129. data/lib/generators/vulcanize/templates/complete_mongrel_mysql/templates.yml +6 -0
  130. data/lib/generators/vulcanize/templates/complete_passenger/config/rubber/role/haproxy/haproxy-passenger.conf +21 -0
  131. data/lib/generators/vulcanize/templates/complete_passenger/config/rubber/rubber-complete.yml +40 -0
  132. data/lib/generators/vulcanize/templates/complete_passenger/templates.rb +9 -0
  133. data/lib/generators/vulcanize/templates/complete_passenger/templates.yml +9 -0
  134. data/lib/generators/vulcanize/templates/complete_passenger_mysql/templates.yml +4 -0
  135. data/lib/generators/vulcanize/templates/complete_passenger_postgresql/templates.yml +4 -0
  136. data/lib/generators/vulcanize/templates/cruise/config/rubber/deploy-cruise.rb +72 -0
  137. data/lib/generators/vulcanize/templates/cruise/config/rubber/role/cruise/cruise +40 -0
  138. data/lib/generators/vulcanize/templates/cruise/config/rubber/role/cruise/my.cnf +165 -0
  139. data/lib/generators/vulcanize/templates/cruise/config/rubber/role/cruise/production.rb +8 -0
  140. data/lib/generators/vulcanize/templates/cruise/config/rubber/role/cruise/site_config.rb +76 -0
  141. data/lib/generators/vulcanize/templates/cruise/config/rubber/role/web_tools/cruise-nginx.conf +11 -0
  142. data/lib/generators/vulcanize/templates/cruise/config/rubber/rubber-cruise.yml +18 -0
  143. data/lib/generators/vulcanize/templates/cruise/templates.yml +1 -0
  144. data/lib/generators/vulcanize/templates/haproxy/config/rubber/deploy-haproxy.rb +45 -0
  145. data/lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/haproxy-base.conf +26 -0
  146. data/lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/haproxy-default.conf +8 -0
  147. data/lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/monit-haproxy.conf +9 -0
  148. data/lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/syslog-haproxy.conf +11 -0
  149. data/lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/syslogd-default.conf +21 -0
  150. data/lib/generators/vulcanize/templates/haproxy/config/rubber/role/web_tools/haproxy-nginx.conf +10 -0
  151. data/lib/generators/vulcanize/templates/haproxy/config/rubber/rubber-haproxy.yml +7 -0
  152. data/lib/generators/vulcanize/templates/haproxy/templates.yml +1 -0
  153. data/lib/generators/vulcanize/templates/jetty/config/rubber/deploy-jetty.rb +59 -0
  154. data/lib/generators/vulcanize/templates/jetty/config/rubber/role/jetty/jetty.sh +589 -0
  155. data/lib/generators/vulcanize/templates/jetty/config/rubber/role/jetty/jetty.xml +199 -0
  156. data/lib/generators/vulcanize/templates/jetty/config/rubber/role/jetty/monit-jetty.conf +9 -0
  157. data/lib/generators/vulcanize/templates/jetty/config/rubber/rubber-jetty.yml +10 -0
  158. data/lib/generators/vulcanize/templates/jetty/templates.yml +1 -0
  159. data/lib/generators/vulcanize/templates/memcached/config/memcached.yml +28 -0
  160. data/lib/generators/vulcanize/templates/memcached/config/rubber/common/memcached.yml +14 -0
  161. data/lib/generators/vulcanize/templates/memcached/config/rubber/role/memcached/memcached.conf +52 -0
  162. data/lib/generators/vulcanize/templates/memcached/config/rubber/role/memcached/memcached_munin_plugin +249 -0
  163. data/lib/generators/vulcanize/templates/memcached/config/rubber/rubber-memcached.yml +7 -0
  164. data/lib/generators/vulcanize/templates/memcached/templates.yml +1 -0
  165. data/lib/generators/vulcanize/templates/minimal_mysql/templates.yml +7 -0
  166. data/lib/generators/vulcanize/templates/minimal_nodb/templates.yml +6 -0
  167. data/lib/generators/vulcanize/templates/mongrel/config/rubber/deploy-mongrel.rb +75 -0
  168. data/lib/generators/vulcanize/templates/mongrel/config/rubber/role/mongrel/mongrel_cluster.yml +12 -0
  169. data/lib/generators/vulcanize/templates/mongrel/config/rubber/role/mongrel/monit-mongrel.conf +20 -0
  170. data/lib/generators/vulcanize/templates/mongrel/config/rubber/rubber-mongrel.yml +9 -0
  171. data/lib/generators/vulcanize/templates/mongrel/templates.yml +1 -0
  172. data/lib/generators/vulcanize/templates/monit/config/rubber/common/monit-default.conf +15 -0
  173. data/lib/generators/vulcanize/templates/monit/config/rubber/common/monit.conf +252 -0
  174. data/lib/generators/vulcanize/templates/monit/config/rubber/deploy-monit.rb +33 -0
  175. data/lib/generators/vulcanize/templates/monit/config/rubber/role/web_tools/monit-admin-nginx.conf +10 -0
  176. data/lib/generators/vulcanize/templates/monit/config/rubber/rubber-monit.yml +6 -0
  177. data/lib/generators/vulcanize/templates/monit/templates.yml +1 -0
  178. data/lib/generators/vulcanize/templates/munin/config/rubber/common/monit-munin.conf +8 -0
  179. data/lib/generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf +48 -0
  180. data/lib/generators/vulcanize/templates/munin/config/rubber/common/munin-plugins.conf +11 -0
  181. data/lib/generators/vulcanize/templates/munin/config/rubber/deploy-munin.rb +46 -0
  182. data/lib/generators/vulcanize/templates/munin/config/rubber/role/web_tools/munin-nginx.conf +8 -0
  183. data/lib/generators/vulcanize/templates/munin/config/rubber/role/web_tools/munin-plugins.conf +31 -0
  184. data/lib/generators/vulcanize/templates/munin/config/rubber/role/web_tools/munin.conf +81 -0
  185. data/lib/generators/vulcanize/templates/munin/config/rubber/rubber-munin.yml +8 -0
  186. data/lib/generators/vulcanize/templates/munin/script/munin/example_mysql_query.rb +55 -0
  187. data/lib/generators/vulcanize/templates/munin/script/munin/example_simple.rb +24 -0
  188. data/lib/generators/vulcanize/templates/munin/templates.yml +1 -0
  189. data/lib/generators/vulcanize/templates/mysql/config/rubber/common/database.yml +12 -0
  190. data/lib/generators/vulcanize/templates/mysql/config/rubber/deploy-mysql.rb +169 -0
  191. data/lib/generators/vulcanize/templates/mysql/config/rubber/role/db/apparmor-mysql.conf +46 -0
  192. data/lib/generators/vulcanize/templates/mysql/config/rubber/role/db/crontab +14 -0
  193. data/lib/generators/vulcanize/templates/mysql/config/rubber/role/db/monit-mysql.cnf +10 -0
  194. data/lib/generators/vulcanize/templates/mysql/config/rubber/role/db/my.cnf +163 -0
  195. data/lib/generators/vulcanize/templates/mysql/config/rubber/role/mysql_slave/mysql_slave_munin_plugin +51 -0
  196. data/lib/generators/vulcanize/templates/mysql/config/rubber/rubber-mysql.yml +47 -0
  197. data/lib/generators/vulcanize/templates/mysql/templates.yml +1 -0
  198. data/lib/generators/vulcanize/templates/mysql_cluster/config/rubber/common/mysql_cluster_migrations.rb +13 -0
  199. data/lib/generators/vulcanize/templates/mysql_cluster/config/rubber/deploy-mysql_cluster.rb +177 -0
  200. data/lib/generators/vulcanize/templates/mysql_cluster/config/rubber/role/mysql_data/my.cnf +15 -0
  201. data/lib/generators/vulcanize/templates/mysql_cluster/config/rubber/role/mysql_mgm/ndb_mgmd.cnf +39 -0
  202. data/lib/generators/vulcanize/templates/mysql_cluster/config/rubber/role/mysql_sql/monit-mysql_cluster_sql.cnf +10 -0
  203. data/lib/generators/vulcanize/templates/mysql_cluster/config/rubber/role/mysql_sql/my.cnf +23 -0
  204. data/lib/generators/vulcanize/templates/mysql_cluster/config/rubber/rubber-mysql_cluster.yml +32 -0
  205. data/lib/generators/vulcanize/templates/mysql_cluster/templates.yml +1 -0
  206. data/lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/database.yml +16 -0
  207. data/lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/monit-mysql_proxy.cnf +10 -0
  208. data/lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/mysql-proxy +153 -0
  209. data/lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/mysql-proxy.conf +10 -0
  210. data/lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/mysql-proxy.lua +5 -0
  211. data/lib/generators/vulcanize/templates/mysql_proxy/config/rubber/deploy-mysql_proxy.rb +52 -0
  212. data/lib/generators/vulcanize/templates/mysql_proxy/config/rubber/rubber-mysql_proxy.yml +11 -0
  213. data/lib/generators/vulcanize/templates/mysql_proxy/templates.yml +1 -0
  214. data/lib/generators/vulcanize/templates/nginx/config/rubber/deploy-nginx.rb +45 -0
  215. data/lib/generators/vulcanize/templates/nginx/config/rubber/role/nginx/crontab +9 -0
  216. data/lib/generators/vulcanize/templates/nginx/config/rubber/role/nginx/monit-nginx.conf +8 -0
  217. data/lib/generators/vulcanize/templates/nginx/config/rubber/role/nginx/nginx.conf +42 -0
  218. data/lib/generators/vulcanize/templates/nginx/config/rubber/role/web_tools/nginx-tools.conf +55 -0
  219. data/lib/generators/vulcanize/templates/nginx/config/rubber/role/web_tools/tools-index.html +30 -0
  220. data/lib/generators/vulcanize/templates/nginx/config/rubber/role/web_tools/tools-nginx.auth +7 -0
  221. data/lib/generators/vulcanize/templates/nginx/config/rubber/rubber-nginx.yml +10 -0
  222. data/lib/generators/vulcanize/templates/nginx/templates.yml +1 -0
  223. data/lib/generators/vulcanize/templates/passenger/config/rubber/deploy-passenger.rb +46 -0
  224. data/lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-memory.conf +34 -0
  225. data/lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-sudoers.conf +7 -0
  226. data/lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger.conf +47 -0
  227. data/lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger-apache-vhost.conf +46 -0
  228. data/lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf +35 -0
  229. data/lib/generators/vulcanize/templates/passenger/config/rubber/rubber-passenger.yml +15 -0
  230. data/lib/generators/vulcanize/templates/passenger/templates.yml +3 -0
  231. data/lib/generators/vulcanize/templates/postgresql/config/rubber/common/database.yml +12 -0
  232. data/lib/generators/vulcanize/templates/postgresql/config/rubber/deploy-postgresql.rb +131 -0
  233. data/lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/crontab +14 -0
  234. data/lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf +10 -0
  235. data/lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/pg_hba.conf +89 -0
  236. data/lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/postgresql-sysctl.conf +6 -0
  237. data/lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/postgresql.conf +504 -0
  238. data/lib/generators/vulcanize/templates/postgresql/config/rubber/rubber-postgresql.yml +45 -0
  239. data/lib/generators/vulcanize/templates/postgresql/templates.yml +1 -0
  240. data/lib/generators/vulcanize/templates/redis/config/rubber/deploy-redis.rb +37 -0
  241. data/lib/generators/vulcanize/templates/redis/config/rubber/role/redis/crontab +8 -0
  242. data/lib/generators/vulcanize/templates/redis/config/rubber/role/redis/monit-redis.conf +9 -0
  243. data/lib/generators/vulcanize/templates/redis/config/rubber/role/redis/redis.conf +141 -0
  244. data/lib/generators/vulcanize/templates/redis/config/rubber/rubber-redis.yml +4 -0
  245. data/lib/generators/vulcanize/templates/redis/templates.yml +1 -0
  246. data/lib/generators/vulcanize/templates/resque/config/initializers/resque.rb +15 -0
  247. data/lib/generators/vulcanize/templates/resque/config/rubber/common/resque.yml +5 -0
  248. data/lib/generators/vulcanize/templates/resque/config/rubber/deploy-resque.rb +58 -0
  249. data/lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf +14 -0
  250. data/lib/generators/vulcanize/templates/resque/config/rubber/role/resque_worker/monit-resque_worker.conf +19 -0
  251. data/lib/generators/vulcanize/templates/resque/config/rubber/rubber-resque.yml +18 -0
  252. data/lib/generators/vulcanize/templates/resque/script/resque_worker_management.rb +112 -0
  253. data/lib/generators/vulcanize/templates/resque/templates.rb +1 -0
  254. data/lib/generators/vulcanize/templates/resque/templates.yml +3 -0
  255. data/lib/generators/vulcanize/templates/sphinx/config/rubber/common/sphinx.yml +46 -0
  256. data/lib/generators/vulcanize/templates/sphinx/config/rubber/deploy-sphinx.rb +112 -0
  257. data/lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/crontab +11 -0
  258. data/lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf +13 -0
  259. data/lib/generators/vulcanize/templates/sphinx/config/rubber/rubber-sphinx.yml +6 -0
  260. data/lib/generators/vulcanize/templates/sphinx/templates.yml +1 -0
  261. data/lib/generators/vulcanize/vulcanize_generator.rb +172 -0
  262. data/lib/rubber.rb +42 -6
  263. data/lib/rubber/cloud/aws.rb +4 -0
  264. data/lib/rubber/dns/zerigo.rb +9 -3
  265. data/lib/rubber/environment.rb +1 -1
  266. data/lib/rubber/generator.rb +8 -8
  267. data/lib/rubber/instance.rb +1 -1
  268. data/lib/rubber/railtie.rb +14 -0
  269. data/lib/rubber/recipes/rubber.rb +6 -0
  270. data/lib/rubber/recipes/rubber/deploy.rb +3 -3
  271. data/lib/rubber/recipes/rubber/setup.rb +22 -17
  272. data/lib/rubber/recipes/rubber/utils.rb +37 -14
  273. data/lib/rubber/util.rb +36 -1
  274. data/rails/init.rb +1 -4
  275. metadata +244 -35
  276. data/generators/vulcanize/templates/resque/config/rubber/deploy-resque-worker-default.rb +0 -38
  277. data/generators/vulcanize/templates/resque/config/rubber/role/resque_worker_default/monit-resque_worker_default.conf +0 -19
@@ -224,7 +224,9 @@ module Rubber
224
224
  arch = case arch when /i\d86/ then "i386" else arch end
225
225
 
226
226
  capistrano.sudo_script "create_bundle", <<-CMD
227
+ rvm use system
227
228
  export RUBYLIB=/usr/lib/site_ruby/
229
+ unset RUBYOPT
228
230
  nohup ec2-bundle-vol --batch -d /mnt -k #{ec2_pk_dest} -c #{ec2_cert_dest} -u #{@aws_env.account} -p #{image_name} -r #{arch} &> /tmp/ec2-bundle-vol.log &
229
231
  echo "Creating image from instance volume..."
230
232
  while true; do
@@ -235,7 +237,9 @@ module Rubber
235
237
  CMD
236
238
 
237
239
  capistrano.sudo_script "register_bundle", <<-CMD
240
+ rvm use system
238
241
  export RUBYLIB=/usr/lib/site_ruby/
242
+ unset RUBYOPT
239
243
  echo "Uploading image to S3..."
240
244
  ec2-upload-bundle --batch -b #{@aws_env.image_bucket} -m /mnt/#{image_name}.manifest.xml -a #{@aws_env.access_key} -s #{@aws_env.secret_access_key}
241
245
  CMD
@@ -1,5 +1,11 @@
1
1
  require 'rubygems'
2
- require 'zerigo_dns'
2
+
3
+ begin
4
+ require 'zerigo_dns'
5
+ rescue LoadError
6
+ puts "Missing the zerigo_dns gem. Install with `sudo gem install zerigo_dns`."
7
+ exit(-1)
8
+ end
3
9
 
4
10
  module Rubber
5
11
  module Dns
@@ -92,14 +98,14 @@ module Rubber
92
98
 
93
99
  def update_host_record(old_opts={}, new_opts={})
94
100
  old_opts = setup_opts(old_opts, [:host, :domain])
95
- new_opts = setup_opts(new_opts.merge(:no_defaults =>true), [])
101
+ new_opts = setup_opts(new_opts, [:host, :domain, :type, :data])
96
102
  zone = ::Zerigo::DNS::Zone.find_or_create(old_opts[:domain])
97
103
 
98
104
  find_hosts(old_opts).each do |h|
99
105
  opts_to_host(new_opts).each do |k, v|
100
106
  h.send("#{k}=", v)
101
107
  end
102
- h.save || raise("Failed to update host #{h.hostname}")
108
+ h.save || raise("Failed to update host #{h.hostname}, #{h.errors.full_messages.join(', ')}")
103
109
  end
104
110
  end
105
111
 
@@ -22,7 +22,7 @@ module Rubber
22
22
  end
23
23
 
24
24
  def read_config(file)
25
- LOGGER.debug{"Reading rubber configuration from #{file}"}
25
+ Rubber.logger.debug{"Reading rubber configuration from #{file}"}
26
26
  if File.exist?(file)
27
27
  @items = Environment.combine(@items, YAML.load_file(file) || {})
28
28
  end
@@ -33,13 +33,13 @@ module Rubber
33
33
  Dir[dir].sort.each do |f|
34
34
  next if f =~ /\/(CVS|\.svn)\//
35
35
  if File.file?(f) && (! pat || pat.match(f))
36
- LOGGER.info{"Transforming #{f}"}
36
+ Rubber.logger.info{"Transforming #{f}"}
37
37
  begin
38
38
  transform(IO.read(f), @options)
39
39
  rescue Exception => e
40
40
  lines = e.backtrace.grep(/^\(erb\):([0-9]+)/) {|b| Regexp.last_match(1) }
41
- LOGGER.error{"Transformation failed for #{f}#{':' + lines.first if lines.first}"}
42
- LOGGER.error e.message
41
+ Rubber.logger.error{"Transformation failed for #{f}#{':' + lines.first if lines.first}"}
42
+ Rubber.logger.error e.message
43
43
  exit 1
44
44
  end
45
45
  end
@@ -131,22 +131,22 @@ module Rubber
131
131
  # Run post transform command if needed
132
132
  if config.post
133
133
  if fake_root
134
- LOGGER.info("Not running post command as a fake root was given: #{config.post}")
134
+ Rubber.logger.info("Not running post command as a fake root was given: #{config.post}")
135
135
  elsif no_post
136
- LOGGER.info("Not running post command as no post specified")
136
+ Rubber.logger.info("Not running post command as no post specified")
137
137
  else
138
138
  if orig != result || force
139
139
  # this lets us abort a script if a command in the middle of it errors out
140
140
  # stop_on_error_cmd = "function error_exit { exit 99; }; trap error_exit ERR"
141
141
  config.post = "#{stop_on_error_cmd}\n#{config.post}" if stop_on_error_cmd
142
142
 
143
- LOGGER.info{"Transformation executing post config command: #{config.post}"}
144
- LOGGER.info `#{config.post}`
143
+ Rubber.logger.info{"Transformation executing post config command: #{config.post}"}
144
+ Rubber.logger.info `#{config.post}`
145
145
  if $?.exitstatus != 0
146
146
  raise "Post command failed execution: #{config.post}"
147
147
  end
148
148
  else
149
- LOGGER.info("Nothing to do, not running post command")
149
+ Rubber.logger.info("Nothing to do, not running post command")
150
150
  end
151
151
  end
152
152
  end
@@ -10,7 +10,7 @@ module Rubber
10
10
  include Enumerable
11
11
 
12
12
  def initialize(file)
13
- LOGGER.debug{"Reading rubber instances from #{file}"}
13
+ Rubber.logger.debug{"Reading rubber instances from #{file}"}
14
14
  @file = file
15
15
  @items = {}
16
16
  @artifacts = {'volumes' => {}, 'static_ips' => {}}
@@ -0,0 +1,14 @@
1
+ require 'rubber'
2
+ require 'rails'
3
+
4
+ module Rubber
5
+
6
+ class Railtie < Rails::Railtie
7
+
8
+ initializer "rubber.configure_rails_initialization" do
9
+ Rubber::initialize(Rails.root, Rails.env)
10
+ end
11
+
12
+ end
13
+
14
+ end
@@ -50,6 +50,11 @@ namespace :rubber do
50
50
  set :rubber_env, rubber_cfg.environment.bind()
51
51
  set :rubber_instances, rubber_cfg.instance
52
52
 
53
+ # Disable connecting to any Windows instance.
54
+ # pass -l to bash in :shell to that run also gets full env
55
+ # use a pty so we don't get "stdin: is not a tty" error output
56
+ set :default_run_options, :pty => true, :shell => "/bin/bash -l", :except => { :platform => 'windows' }
57
+
53
58
  set :cloud, Rubber::Cloud::get_provider(rubber_env.cloud_provider || "aws", rubber_env, self)
54
59
 
55
60
  load_roles() unless rubber_env.disable_auto_roles
@@ -57,6 +62,7 @@ namespace :rubber do
57
62
  # the private key in the same folder, the public key should have the
58
63
  # extension ".pub".
59
64
  ssh_options[:keys] = rubber_env.cloud_providers[rubber_env.cloud_provider].key_file
65
+ ssh_options[:timeout] = fetch(:ssh_timeout, 5)
60
66
  end
61
67
 
62
68
 
@@ -59,8 +59,8 @@ namespace :rubber do
59
59
  Sets permissions of files in application directory to be owned by app_user.
60
60
  DESC
61
61
  task :setup_app_permissions do
62
- sudo "sh -c 'find #{shared_path} -name cached-copy -prune -o -print | xargs chown #{rubber_env.app_user}:#{rubber_env.app_user}'"
63
- sudo "chown -R #{rubber_env.app_user}:#{rubber_env.app_user} #{current_path}/tmp"
62
+ rsudo "find #{shared_path} -name cached-copy -prune -o -print | xargs chown #{rubber_env.app_user}:#{rubber_env.app_user}"
63
+ rsudo "chown -R #{rubber_env.app_user}:#{rubber_env.app_user} #{current_path}/tmp"
64
64
  end
65
65
 
66
66
  def run_config(options={})
@@ -84,7 +84,7 @@ namespace :rubber do
84
84
  put(File.read(secret), File.join(path, base, File.basename(secret)), :mode => "+r")
85
85
  end
86
86
 
87
- sudo "sh -c 'cd #{path} && #{extra_env} rake rubber:config'"
87
+ rsudo "cd #{path} && #{extra_env} rake rubber:config"
88
88
  end
89
89
 
90
90
  end
@@ -1,8 +1,5 @@
1
1
  namespace :rubber do
2
2
 
3
- # Disable connecting to any Windows instance.
4
- set :default_run_options, :except => { :platform => 'windows' }
5
-
6
3
  desc <<-DESC
7
4
  Bootstraps instances by setting timezone, installing packages and gems
8
5
  DESC
@@ -25,7 +22,7 @@ namespace :rubber do
25
22
  set :user, initial_ssh_user
26
23
 
27
24
  task :_allow_root_ssh, :hosts => ip do
28
- sudo "cp /home/#{initial_ssh_user}/.ssh/authorized_keys /root/.ssh/"
25
+ rsudo "cp /home/#{initial_ssh_user}/.ssh/authorized_keys /root/.ssh/"
29
26
  end
30
27
 
31
28
  begin
@@ -195,9 +192,9 @@ namespace :rubber do
195
192
  put filtered, hosts_file
196
193
 
197
194
  # Setup hostname on instance so shell, etcs have nice display
198
- sudo "sh -c 'echo $CAPISTRANO:HOST$ > /etc/hostname && hostname $CAPISTRANO:HOST$'"
195
+ rsudo "echo $CAPISTRANO:HOST$ > /etc/hostname && hostname $CAPISTRANO:HOST$"
199
196
  # Newer ubuntus ec2-init script always resets hostname, so prevent it
200
- sudo "sh -c 'mkdir -p /etc/ec2-init && echo compat=0 > /etc/ec2-init/is-compat-env'"
197
+ rsudo "mkdir -p /etc/ec2-init && echo compat=0 > /etc/ec2-init/is-compat-env"
201
198
  end
202
199
 
203
200
  # TODO
@@ -251,12 +248,20 @@ namespace :rubber do
251
248
  gem_helper(false)
252
249
  end
253
250
 
251
+ desc <<-DESC
252
+ Install ruby gems defined in Gemfile
253
+ DESC
254
+ after "deploy:update_code", "rubber:install_bundler_gems" if Rubber::Util.is_bundler?
255
+ task :install_bundler_gems do
256
+ rsudo "cd #{current_release} && RAILS_ENV=#{RUBBER_ENV} bundle install"
257
+ end
258
+
254
259
  desc <<-DESC
255
260
  Install ruby gems defined in the rails environment.rb
256
261
  DESC
257
- after "rubber:config", "rubber:install_rails_gems" if Rubber::Util.is_rails?
262
+ after "rubber:config", "rubber:install_rails_gems" if Rubber::Util::is_rails2?
258
263
  task :install_rails_gems do
259
- sudo "sh -c 'cd #{current_path} && RAILS_ENV=#{RUBBER_ENV} rake gems:install'"
264
+ sudo "sh -c 'cd #{current_release} && RAILS_ENV=#{RUBBER_ENV} rake gems:install'"
260
265
  end
261
266
 
262
267
  desc <<-DESC
@@ -314,7 +319,7 @@ namespace :rubber do
314
319
  task :setup_gem_sources do
315
320
  if rubber_env.gemsources
316
321
  script = prepare_script 'gem_sources_helper', gem_sources_helper_script, nil
317
- sudo "ruby #{script} #{rubber_env.gemsources.join(' ')}"
322
+ rsudo "ruby #{script} #{rubber_env.gemsources.join(' ')}"
318
323
  end
319
324
  end
320
325
 
@@ -323,7 +328,7 @@ namespace :rubber do
323
328
  You can override this task if you don't want this to happen
324
329
  DESC
325
330
  task :link_bash do
326
- sudo "ln -sf /bin/bash /bin/sh"
331
+ rsudo "ln -sf /bin/bash /bin/sh"
327
332
  end
328
333
 
329
334
  desc <<-DESC
@@ -337,14 +342,14 @@ namespace :rubber do
337
342
  DESC
338
343
  task :set_timezone do
339
344
  opts = get_host_options('timezone')
340
- sudo "sh -c 'echo $CAPISTRANO:VAR$ > /etc/timezone'", opts
341
- sudo "cp /usr/share/zoneinfo/$CAPISTRANO:VAR$ /etc/localtime", opts
345
+ rsudo "echo $CAPISTRANO:VAR$ > /etc/timezone", opts
346
+ rsudo "cp /usr/share/zoneinfo/$CAPISTRANO:VAR$ /etc/localtime", opts
342
347
  # restart syslog so that times match timezone
343
348
  sudo_script 'restart_syslog', <<-ENDSCRIPT
344
349
  if [[ -x /etc/init.d/sysklogd ]]; then
345
350
  /etc/init.d/sysklogd restart
346
351
  elif [[ -x /etc/init.d/rsyslog ]]; then
347
- /etc/init.d/rsyslog restart
352
+ service rsyslog restart
348
353
  fi
349
354
  ENDSCRIPT
350
355
  end
@@ -390,11 +395,11 @@ namespace :rubber do
390
395
  expanded_pkg_list.join(' ')
391
396
  end
392
397
 
393
- sudo "apt-get -q update"
398
+ rsudo "apt-get -q update"
394
399
  if upgrade
395
- sudo "/bin/sh -c 'export DEBIAN_FRONTEND=noninteractive; apt-get -q -y --force-yes dist-upgrade'"
400
+ rsudo "export DEBIAN_FRONTEND=noninteractive; apt-get -q -y --force-yes dist-upgrade"
396
401
  else
397
- sudo "/bin/sh -c 'export DEBIAN_FRONTEND=noninteractive; apt-get -q -y --force-yes install $CAPISTRANO:VAR$'", opts
402
+ rsudo "export DEBIAN_FRONTEND=noninteractive; apt-get -q -y --force-yes install $CAPISTRANO:VAR$", opts
398
403
  end
399
404
  end
400
405
 
@@ -492,7 +497,7 @@ namespace :rubber do
492
497
 
493
498
  if opts.size > 0
494
499
  script = prepare_script('gem_helper', gem_helper_script, nil)
495
- sudo "ruby #{script} #{cmd} $CAPISTRANO:VAR$", opts do |ch, str, data|
500
+ rsudo "ruby #{script} #{cmd} $CAPISTRANO:VAR$", opts do |ch, str, data|
496
501
  handle_gem_prompt(ch, data, str)
497
502
  end
498
503
  end
@@ -16,23 +16,26 @@ namespace :rubber do
16
16
  default_roles = rubber_env.staging_roles || "*"
17
17
  roles = ENV['ROLES'] = rubber.get_env("ROLES", "Roles to use for staging instance", true, default_roles)
18
18
 
19
- # some bootstraps update code (bootstrap_db) but if you don't have that role, need to do it here
20
- # Since release directory variable gets reused by cap, we have to just do the symlink here - doing
21
- # a update again will fail
22
- set :rubber_code_was_updated, false
23
- after "deploy:update_code" do
24
- set :rubber_code_was_updated, true
25
- end
26
-
27
19
  if rubber_instances[instance_alias]
28
20
  logger.info "Instance already exists, skipping to bootstrap"
29
21
  else
30
22
  rubber.create
31
23
  end
24
+
25
+ # stop everything before so monit doesn't start stuff during bootstrapping
26
+ # if its already installed due to a bundled instance
27
+ deploy.stop rescue nil
28
+
32
29
  rubber.bootstrap
33
- # stop everything in case we have a bundled instance with monit, etc starting at boot
30
+
31
+ # stop everything after in case package upgrades during bootstrap start up
32
+ # services - we should be able to safely do a deploy:start below
34
33
  deploy.stop rescue nil
35
- if ! rubber_code_was_updated
34
+
35
+ # some bootstraps update code (bootstrap_db) but if you don't have that role, need to do it here
36
+ # Since release directory variable gets reused by cap, we have to just do the symlink here - doing
37
+ # a update again will fail
38
+ if ! fetch(:rubber_code_was_updated, false)
36
39
  deploy.update_code
37
40
  end
38
41
  deploy.symlink
@@ -155,14 +158,22 @@ namespace :rubber do
155
158
  return script
156
159
  end
157
160
 
158
- def run_script(name, contents)
161
+ def run_script(name, contents, opts = {})
162
+ args = opts.delete(:script_args)
159
163
  script = prepare_script(name, contents)
160
- run "sh #{script}"
164
+ run "bash #{script} #{args}", opts
161
165
  end
162
166
 
163
- def sudo_script(name, contents)
167
+ def sudo_script(name, contents, opts = {})
168
+ args = opts.delete(:script_args)
164
169
  script = prepare_script(name, contents)
165
- sudo "sh #{script}"
170
+ run "#{sudo} bash -l #{script} #{args}", opts
171
+ end
172
+
173
+ def top.rsudo(command, opts = {}, &block)
174
+ user = opts.delete(:as)
175
+ args = "-H -u #{user}" if user
176
+ run "#{sudo opts} #{args} bash -l -c '#{command}'", opts, &block
166
177
  end
167
178
 
168
179
  def get_env(name, desc, required=false, default=nil)
@@ -200,4 +211,16 @@ namespace :rubber do
200
211
  return opts
201
212
  end
202
213
 
214
+ # some bootstraps update code (bootstrap_db), so keep track so we don't do it multiple times
215
+ after "deploy:update_code" do
216
+ set :rubber_code_was_updated, true
217
+ end
218
+
219
+ def update_code_for_bootstrap
220
+ unless (fetch(:rubber_code_was_updated, false))
221
+ deploy.setup
222
+ deploy.update_code
223
+ end
224
+ end
225
+
203
226
  end
@@ -30,8 +30,43 @@ module Rubber
30
30
  end
31
31
 
32
32
  def self.is_rails?
33
- File.exist?(File.join(RUBBER_ROOT, 'config', 'environment.rb'))
33
+ File.exist?(File.join(RUBBER_ROOT, 'config', 'boot.rb'))
34
34
  end
35
35
 
36
+ def self.is_rails2?
37
+ defined?(Rails) && defined?(Rails::VERSION) && Rails::VERSION::MAJOR == 2
38
+ end
39
+
40
+ def self.is_rails3?
41
+ defined?(Rails) && defined?(Rails::VERSION) && Rails::VERSION::MAJOR == 3
42
+ end
43
+
44
+ def self.is_bundler?
45
+ File.exist?(File.join(RUBBER_ROOT, 'Gemfile'))
46
+ end
47
+
48
+ def self.rubber_as_plugin?
49
+ File.exist?(File.join(RUBBER_ROOT, 'vendor/plugins/rubber'))
50
+ end
51
+
52
+ def self.prompt(name, desc, required=false, default=nil)
53
+ value = ENV.delete(name)
54
+ msg = "#{desc}"
55
+ msg << " [#{default}]" if default
56
+ msg << ": "
57
+ unless value
58
+ print msg
59
+ value = gets
60
+ end
61
+ value = value.size == 0 ? default : value
62
+ self.fatal "#{name} is required, pass using environment or enter at prompt" if required && ! value
63
+ return value
64
+ end
65
+
66
+ def self.fatal(msg, code=1)
67
+ puts msg
68
+ exit code
69
+ end
70
+
36
71
  end
37
72
  end
@@ -3,7 +3,4 @@
3
3
  #
4
4
 
5
5
  require "rubber"
6
- Rubber::initialize(RAILS_ROOT, RAILS_ENV)
7
-
8
- ::RUBBER_CONFIG = Rubber::Configuration.rubber_env
9
- ::RUBBER_INSTANCES = Rubber::Configuration.rubber_instances
6
+ Rubber::initialize(Rails.root, Rails.env)
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubber
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 3
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
- - 3
8
- - 2
9
- version: 1.3.2
8
+ - 5
9
+ - 0
10
+ version: 1.5.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - Matt Conway
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-20 00:00:00 -04:00
18
+ date: 2010-05-21 00:00:00 -04:00
18
19
  default_executable: vulcanize
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: capistrano
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 31
27
30
  segments:
28
31
  - 2
29
32
  - 4
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: amazon-ec2
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 59
41
46
  segments:
42
47
  - 0
43
48
  - 9
@@ -49,9 +54,11 @@ dependencies:
49
54
  name: aws-s3
50
55
  prerelease: false
51
56
  requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
52
58
  requirements:
53
59
  - - ">="
54
60
  - !ruby/object:Gem::Version
61
+ hash: 3
55
62
  segments:
56
63
  - 0
57
64
  version: "0"
@@ -61,39 +68,17 @@ dependencies:
61
68
  name: nettica
62
69
  prerelease: false
63
70
  requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
64
72
  requirements:
65
73
  - - ">="
66
74
  - !ruby/object:Gem::Version
75
+ hash: 3
67
76
  segments:
68
77
  - 0
69
78
  version: "0"
70
79
  type: :runtime
71
80
  version_requirements: *id004
72
- - !ruby/object:Gem::Dependency
73
- name: zerigo_dns
74
- prerelease: false
75
- requirement: &id005 !ruby/object:Gem::Requirement
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- segments:
80
- - 0
81
- version: "0"
82
- type: :runtime
83
- version_requirements: *id005
84
- - !ruby/object:Gem::Dependency
85
- name: rails
86
- prerelease: false
87
- requirement: &id006 !ruby/object:Gem::Requirement
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- segments:
92
- - 0
93
- version: "0"
94
- type: :runtime
95
- version_requirements: *id006
96
- description: The rubber plugin enables relatively complex multi-instance deployments of RubyOnRails applications to Amazon's Elastic Compute Cloud (EC2). Like capistrano, rubber is role based, so you can define a set of configuration files for a role and then assign that role to as many concrete instances as needed. One can also assign multiple roles to a single instance. This lets one start out with a single ec2 instance (belonging to all roles), and add new instances into the mix as needed to scale specific facets of your deployment, e.g. adding in instances that serve only as an 'app' role to handle increased app server load.
81
+ description: " The rubber plugin enables relatively complex multi-instance deployments of RubyOnRails applications to\n Amazon's Elastic Compute Cloud (EC2). Like capistrano, rubber is role based, so you can define a set\n of configuration files for a role and then assign that role to as many concrete instances as needed. One\n can also assign multiple roles to a single instance. This lets one start out with a single ec2 instance\n (belonging to all roles), and add new instances into the mix as needed to scale specific facets of your\n deployment, e.g. adding in instances that serve only as an 'app' role to handle increased app server load.\n"
97
82
  email: matt@conwaysplace.com
98
83
  executables:
99
84
  - vulcanize
@@ -123,25 +108,39 @@ files:
123
108
  - generators/vulcanize/templates/apache/config/rubber/rubber-apache.yml
124
109
  - generators/vulcanize/templates/apache/templates.yml
125
110
  - generators/vulcanize/templates/base/Capfile
111
+ - generators/vulcanize/templates/base/Rakefile
126
112
  - generators/vulcanize/templates/base/config/deploy.rb
127
113
  - generators/vulcanize/templates/base/config/rubber/common/crontab
128
114
  - generators/vulcanize/templates/base/config/rubber/common/monit-postfix.conf
129
115
  - generators/vulcanize/templates/base/config/rubber/common/rubber.profile
130
116
  - generators/vulcanize/templates/base/config/rubber/deploy-setup.rb
117
+ - generators/vulcanize/templates/base/config/rubber/deploy-util.rb
131
118
  - generators/vulcanize/templates/base/config/rubber/rubber-dns.yml
119
+ - generators/vulcanize/templates/base/config/rubber/rubber-rvm.yml
132
120
  - generators/vulcanize/templates/base/config/rubber/rubber.yml
133
121
  - generators/vulcanize/templates/base/lib/tasks/rubber.rake
134
122
  - generators/vulcanize/templates/base/script/cron-rake
135
123
  - generators/vulcanize/templates/base/script/cron-runner
136
124
  - generators/vulcanize/templates/base/script/cron-sh
125
+ - generators/vulcanize/templates/base/templates.rb
137
126
  - generators/vulcanize/templates/base/templates.yml
127
+ - generators/vulcanize/templates/cassandra/config/rubber/deploy-cassandra.rb
128
+ - generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/cassandra.in.sh
129
+ - generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/cassandra.yaml
130
+ - generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/log4j-server.properties
131
+ - generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/monit-cassandra.conf
132
+ - generators/vulcanize/templates/cassandra/config/rubber/rubber-cassandra.yml
133
+ - generators/vulcanize/templates/cassandra/templates.yml
138
134
  - generators/vulcanize/templates/complete_mongrel_mysql/config/rubber/role/haproxy/haproxy-mongrel.conf
139
135
  - generators/vulcanize/templates/complete_mongrel_mysql/config/rubber/role/nginx/nginx-mongrel.conf
140
136
  - generators/vulcanize/templates/complete_mongrel_mysql/config/rubber/rubber-complete.yml
141
137
  - generators/vulcanize/templates/complete_mongrel_mysql/templates.yml
142
- - generators/vulcanize/templates/complete_passenger_mysql/config/rubber/role/haproxy/haproxy-passenger.conf
143
- - generators/vulcanize/templates/complete_passenger_mysql/config/rubber/rubber-complete.yml
138
+ - generators/vulcanize/templates/complete_passenger/config/rubber/role/haproxy/haproxy-passenger.conf
139
+ - generators/vulcanize/templates/complete_passenger/config/rubber/rubber-complete.yml
140
+ - generators/vulcanize/templates/complete_passenger/templates.rb
141
+ - generators/vulcanize/templates/complete_passenger/templates.yml
144
142
  - generators/vulcanize/templates/complete_passenger_mysql/templates.yml
143
+ - generators/vulcanize/templates/complete_passenger_postgresql/templates.yml
145
144
  - generators/vulcanize/templates/cruise/config/rubber/deploy-cruise.rb
146
145
  - generators/vulcanize/templates/cruise/config/rubber/role/cruise/cruise
147
146
  - generators/vulcanize/templates/cruise/config/rubber/role/cruise/my.cnf
@@ -237,16 +236,29 @@ files:
237
236
  - generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
238
237
  - generators/vulcanize/templates/passenger/config/rubber/rubber-passenger.yml
239
238
  - generators/vulcanize/templates/passenger/templates.yml
239
+ - generators/vulcanize/templates/postgresql/config/rubber/common/database.yml
240
+ - generators/vulcanize/templates/postgresql/config/rubber/deploy-postgresql.rb
241
+ - generators/vulcanize/templates/postgresql/config/rubber/role/db/crontab
242
+ - generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
243
+ - generators/vulcanize/templates/postgresql/config/rubber/role/db/pg_hba.conf
244
+ - generators/vulcanize/templates/postgresql/config/rubber/role/db/postgresql-sysctl.conf
245
+ - generators/vulcanize/templates/postgresql/config/rubber/role/db/postgresql.conf
246
+ - generators/vulcanize/templates/postgresql/config/rubber/rubber-postgresql.yml
247
+ - generators/vulcanize/templates/postgresql/templates.yml
240
248
  - generators/vulcanize/templates/redis/config/rubber/deploy-redis.rb
241
249
  - generators/vulcanize/templates/redis/config/rubber/role/redis/crontab
242
250
  - generators/vulcanize/templates/redis/config/rubber/role/redis/monit-redis.conf
243
251
  - generators/vulcanize/templates/redis/config/rubber/role/redis/redis.conf
244
252
  - generators/vulcanize/templates/redis/config/rubber/rubber-redis.yml
245
253
  - generators/vulcanize/templates/redis/templates.yml
246
- - generators/vulcanize/templates/resque/config/rubber/deploy-resque-worker-default.rb
254
+ - generators/vulcanize/templates/resque/config/initializers/resque.rb
255
+ - generators/vulcanize/templates/resque/config/rubber/common/resque.yml
247
256
  - generators/vulcanize/templates/resque/config/rubber/deploy-resque.rb
248
- - generators/vulcanize/templates/resque/config/rubber/role/resque_worker_default/monit-resque_worker_default.conf
257
+ - generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
258
+ - generators/vulcanize/templates/resque/config/rubber/role/resque_worker/monit-resque_worker.conf
249
259
  - generators/vulcanize/templates/resque/config/rubber/rubber-resque.yml
260
+ - generators/vulcanize/templates/resque/script/resque_worker_management.rb
261
+ - generators/vulcanize/templates/resque/templates.rb
250
262
  - generators/vulcanize/templates/resque/templates.yml
251
263
  - generators/vulcanize/templates/sphinx/config/rubber/common/sphinx.yml
252
264
  - generators/vulcanize/templates/sphinx/config/rubber/deploy-sphinx.rb
@@ -256,6 +268,179 @@ files:
256
268
  - generators/vulcanize/templates/sphinx/templates.yml
257
269
  - generators/vulcanize/vulcanize_generator.rb
258
270
  - lib/capistrano/hostcmd.rb
271
+ - lib/generators/vulcanize/USAGE
272
+ - lib/generators/vulcanize/templates/apache/config/rubber/deploy-apache.rb
273
+ - lib/generators/vulcanize/templates/apache/config/rubber/role/apache/deflate.conf
274
+ - lib/generators/vulcanize/templates/apache/config/rubber/role/apache/expires.conf
275
+ - lib/generators/vulcanize/templates/apache/config/rubber/role/apache/headers.conf
276
+ - lib/generators/vulcanize/templates/apache/config/rubber/role/apache/monit-apache.conf
277
+ - lib/generators/vulcanize/templates/apache/config/rubber/role/apache/ports.conf
278
+ - lib/generators/vulcanize/templates/apache/config/rubber/role/apache/setenvif.conf
279
+ - lib/generators/vulcanize/templates/apache/config/rubber/role/web_tools/tools-apache-vhost.conf
280
+ - lib/generators/vulcanize/templates/apache/config/rubber/role/web_tools/tools-apache.auth
281
+ - lib/generators/vulcanize/templates/apache/config/rubber/role/web_tools/tools-index.html
282
+ - lib/generators/vulcanize/templates/apache/config/rubber/rubber-apache.yml
283
+ - lib/generators/vulcanize/templates/apache/templates.yml
284
+ - lib/generators/vulcanize/templates/base/Capfile
285
+ - lib/generators/vulcanize/templates/base/Rakefile
286
+ - lib/generators/vulcanize/templates/base/config/deploy.rb
287
+ - lib/generators/vulcanize/templates/base/config/rubber/common/crontab
288
+ - lib/generators/vulcanize/templates/base/config/rubber/common/monit-postfix.conf
289
+ - lib/generators/vulcanize/templates/base/config/rubber/common/rubber.profile
290
+ - lib/generators/vulcanize/templates/base/config/rubber/deploy-setup.rb
291
+ - lib/generators/vulcanize/templates/base/config/rubber/deploy-util.rb
292
+ - lib/generators/vulcanize/templates/base/config/rubber/rubber-dns.yml
293
+ - lib/generators/vulcanize/templates/base/config/rubber/rubber-rvm.yml
294
+ - lib/generators/vulcanize/templates/base/config/rubber/rubber.yml
295
+ - lib/generators/vulcanize/templates/base/lib/tasks/rubber.rake
296
+ - lib/generators/vulcanize/templates/base/script/cron-rake
297
+ - lib/generators/vulcanize/templates/base/script/cron-runner
298
+ - lib/generators/vulcanize/templates/base/script/cron-sh
299
+ - lib/generators/vulcanize/templates/base/templates.rb
300
+ - lib/generators/vulcanize/templates/base/templates.yml
301
+ - lib/generators/vulcanize/templates/cassandra/config/rubber/deploy-cassandra.rb
302
+ - lib/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/cassandra.in.sh
303
+ - lib/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/cassandra.yaml
304
+ - lib/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/log4j-server.properties
305
+ - lib/generators/vulcanize/templates/cassandra/config/rubber/role/cassandra/monit-cassandra.conf
306
+ - lib/generators/vulcanize/templates/cassandra/config/rubber/rubber-cassandra.yml
307
+ - lib/generators/vulcanize/templates/cassandra/templates.yml
308
+ - lib/generators/vulcanize/templates/complete_mongrel_mysql/config/rubber/role/haproxy/haproxy-mongrel.conf
309
+ - lib/generators/vulcanize/templates/complete_mongrel_mysql/config/rubber/role/nginx/nginx-mongrel.conf
310
+ - lib/generators/vulcanize/templates/complete_mongrel_mysql/config/rubber/rubber-complete.yml
311
+ - lib/generators/vulcanize/templates/complete_mongrel_mysql/templates.yml
312
+ - lib/generators/vulcanize/templates/complete_passenger/config/rubber/role/haproxy/haproxy-passenger.conf
313
+ - lib/generators/vulcanize/templates/complete_passenger/config/rubber/rubber-complete.yml
314
+ - lib/generators/vulcanize/templates/complete_passenger/templates.rb
315
+ - lib/generators/vulcanize/templates/complete_passenger/templates.yml
316
+ - lib/generators/vulcanize/templates/complete_passenger_mysql/templates.yml
317
+ - lib/generators/vulcanize/templates/complete_passenger_postgresql/templates.yml
318
+ - lib/generators/vulcanize/templates/cruise/config/rubber/deploy-cruise.rb
319
+ - lib/generators/vulcanize/templates/cruise/config/rubber/role/cruise/cruise
320
+ - lib/generators/vulcanize/templates/cruise/config/rubber/role/cruise/my.cnf
321
+ - lib/generators/vulcanize/templates/cruise/config/rubber/role/cruise/production.rb
322
+ - lib/generators/vulcanize/templates/cruise/config/rubber/role/cruise/site_config.rb
323
+ - lib/generators/vulcanize/templates/cruise/config/rubber/role/web_tools/cruise-nginx.conf
324
+ - lib/generators/vulcanize/templates/cruise/config/rubber/rubber-cruise.yml
325
+ - lib/generators/vulcanize/templates/cruise/templates.yml
326
+ - lib/generators/vulcanize/templates/haproxy/config/rubber/deploy-haproxy.rb
327
+ - lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/haproxy-base.conf
328
+ - lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/haproxy-default.conf
329
+ - lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/monit-haproxy.conf
330
+ - lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/syslog-haproxy.conf
331
+ - lib/generators/vulcanize/templates/haproxy/config/rubber/role/haproxy/syslogd-default.conf
332
+ - lib/generators/vulcanize/templates/haproxy/config/rubber/role/web_tools/haproxy-nginx.conf
333
+ - lib/generators/vulcanize/templates/haproxy/config/rubber/rubber-haproxy.yml
334
+ - lib/generators/vulcanize/templates/haproxy/templates.yml
335
+ - lib/generators/vulcanize/templates/jetty/config/rubber/deploy-jetty.rb
336
+ - lib/generators/vulcanize/templates/jetty/config/rubber/role/jetty/jetty.sh
337
+ - lib/generators/vulcanize/templates/jetty/config/rubber/role/jetty/jetty.xml
338
+ - lib/generators/vulcanize/templates/jetty/config/rubber/role/jetty/monit-jetty.conf
339
+ - lib/generators/vulcanize/templates/jetty/config/rubber/rubber-jetty.yml
340
+ - lib/generators/vulcanize/templates/jetty/templates.yml
341
+ - lib/generators/vulcanize/templates/memcached/config/memcached.yml
342
+ - lib/generators/vulcanize/templates/memcached/config/rubber/common/memcached.yml
343
+ - lib/generators/vulcanize/templates/memcached/config/rubber/role/memcached/memcached.conf
344
+ - lib/generators/vulcanize/templates/memcached/config/rubber/role/memcached/memcached_munin_plugin
345
+ - lib/generators/vulcanize/templates/memcached/config/rubber/rubber-memcached.yml
346
+ - lib/generators/vulcanize/templates/memcached/templates.yml
347
+ - lib/generators/vulcanize/templates/minimal_mysql/templates.yml
348
+ - lib/generators/vulcanize/templates/minimal_nodb/templates.yml
349
+ - lib/generators/vulcanize/templates/mongrel/config/rubber/deploy-mongrel.rb
350
+ - lib/generators/vulcanize/templates/mongrel/config/rubber/role/mongrel/mongrel_cluster.yml
351
+ - lib/generators/vulcanize/templates/mongrel/config/rubber/role/mongrel/monit-mongrel.conf
352
+ - lib/generators/vulcanize/templates/mongrel/config/rubber/rubber-mongrel.yml
353
+ - lib/generators/vulcanize/templates/mongrel/templates.yml
354
+ - lib/generators/vulcanize/templates/monit/config/rubber/common/monit-default.conf
355
+ - lib/generators/vulcanize/templates/monit/config/rubber/common/monit.conf
356
+ - lib/generators/vulcanize/templates/monit/config/rubber/deploy-monit.rb
357
+ - lib/generators/vulcanize/templates/monit/config/rubber/role/web_tools/monit-admin-nginx.conf
358
+ - lib/generators/vulcanize/templates/monit/config/rubber/rubber-monit.yml
359
+ - lib/generators/vulcanize/templates/monit/templates.yml
360
+ - lib/generators/vulcanize/templates/munin/config/rubber/common/monit-munin.conf
361
+ - lib/generators/vulcanize/templates/munin/config/rubber/common/munin-node.conf
362
+ - lib/generators/vulcanize/templates/munin/config/rubber/common/munin-plugins.conf
363
+ - lib/generators/vulcanize/templates/munin/config/rubber/deploy-munin.rb
364
+ - lib/generators/vulcanize/templates/munin/config/rubber/role/web_tools/munin-nginx.conf
365
+ - lib/generators/vulcanize/templates/munin/config/rubber/role/web_tools/munin-plugins.conf
366
+ - lib/generators/vulcanize/templates/munin/config/rubber/role/web_tools/munin.conf
367
+ - lib/generators/vulcanize/templates/munin/config/rubber/rubber-munin.yml
368
+ - lib/generators/vulcanize/templates/munin/script/munin/example_mysql_query.rb
369
+ - lib/generators/vulcanize/templates/munin/script/munin/example_simple.rb
370
+ - lib/generators/vulcanize/templates/munin/templates.yml
371
+ - lib/generators/vulcanize/templates/mysql/config/rubber/common/database.yml
372
+ - lib/generators/vulcanize/templates/mysql/config/rubber/deploy-mysql.rb
373
+ - lib/generators/vulcanize/templates/mysql/config/rubber/role/db/apparmor-mysql.conf
374
+ - lib/generators/vulcanize/templates/mysql/config/rubber/role/db/crontab
375
+ - lib/generators/vulcanize/templates/mysql/config/rubber/role/db/monit-mysql.cnf
376
+ - lib/generators/vulcanize/templates/mysql/config/rubber/role/db/my.cnf
377
+ - lib/generators/vulcanize/templates/mysql/config/rubber/role/mysql_slave/mysql_slave_munin_plugin
378
+ - lib/generators/vulcanize/templates/mysql/config/rubber/rubber-mysql.yml
379
+ - lib/generators/vulcanize/templates/mysql/templates.yml
380
+ - lib/generators/vulcanize/templates/mysql_cluster/config/rubber/common/mysql_cluster_migrations.rb
381
+ - lib/generators/vulcanize/templates/mysql_cluster/config/rubber/deploy-mysql_cluster.rb
382
+ - lib/generators/vulcanize/templates/mysql_cluster/config/rubber/role/mysql_data/my.cnf
383
+ - lib/generators/vulcanize/templates/mysql_cluster/config/rubber/role/mysql_mgm/ndb_mgmd.cnf
384
+ - lib/generators/vulcanize/templates/mysql_cluster/config/rubber/role/mysql_sql/monit-mysql_cluster_sql.cnf
385
+ - lib/generators/vulcanize/templates/mysql_cluster/config/rubber/role/mysql_sql/my.cnf
386
+ - lib/generators/vulcanize/templates/mysql_cluster/config/rubber/rubber-mysql_cluster.yml
387
+ - lib/generators/vulcanize/templates/mysql_cluster/templates.yml
388
+ - lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/database.yml
389
+ - lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/monit-mysql_proxy.cnf
390
+ - lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/mysql-proxy
391
+ - lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/mysql-proxy.conf
392
+ - lib/generators/vulcanize/templates/mysql_proxy/config/rubber/common/mysql-proxy.lua
393
+ - lib/generators/vulcanize/templates/mysql_proxy/config/rubber/deploy-mysql_proxy.rb
394
+ - lib/generators/vulcanize/templates/mysql_proxy/config/rubber/rubber-mysql_proxy.yml
395
+ - lib/generators/vulcanize/templates/mysql_proxy/templates.yml
396
+ - lib/generators/vulcanize/templates/nginx/config/rubber/deploy-nginx.rb
397
+ - lib/generators/vulcanize/templates/nginx/config/rubber/role/nginx/crontab
398
+ - lib/generators/vulcanize/templates/nginx/config/rubber/role/nginx/monit-nginx.conf
399
+ - lib/generators/vulcanize/templates/nginx/config/rubber/role/nginx/nginx.conf
400
+ - lib/generators/vulcanize/templates/nginx/config/rubber/role/web_tools/nginx-tools.conf
401
+ - lib/generators/vulcanize/templates/nginx/config/rubber/role/web_tools/tools-index.html
402
+ - lib/generators/vulcanize/templates/nginx/config/rubber/role/web_tools/tools-nginx.auth
403
+ - lib/generators/vulcanize/templates/nginx/config/rubber/rubber-nginx.yml
404
+ - lib/generators/vulcanize/templates/nginx/templates.yml
405
+ - lib/generators/vulcanize/templates/passenger/config/rubber/deploy-passenger.rb
406
+ - lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-memory.conf
407
+ - lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger-sudoers.conf
408
+ - lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/munin-passenger.conf
409
+ - lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger-apache-vhost.conf
410
+ - lib/generators/vulcanize/templates/passenger/config/rubber/role/passenger/passenger.conf
411
+ - lib/generators/vulcanize/templates/passenger/config/rubber/rubber-passenger.yml
412
+ - lib/generators/vulcanize/templates/passenger/templates.yml
413
+ - lib/generators/vulcanize/templates/postgresql/config/rubber/common/database.yml
414
+ - lib/generators/vulcanize/templates/postgresql/config/rubber/deploy-postgresql.rb
415
+ - lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/crontab
416
+ - lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/monit-postgresql.conf
417
+ - lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/pg_hba.conf
418
+ - lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/postgresql-sysctl.conf
419
+ - lib/generators/vulcanize/templates/postgresql/config/rubber/role/db/postgresql.conf
420
+ - lib/generators/vulcanize/templates/postgresql/config/rubber/rubber-postgresql.yml
421
+ - lib/generators/vulcanize/templates/postgresql/templates.yml
422
+ - lib/generators/vulcanize/templates/redis/config/rubber/deploy-redis.rb
423
+ - lib/generators/vulcanize/templates/redis/config/rubber/role/redis/crontab
424
+ - lib/generators/vulcanize/templates/redis/config/rubber/role/redis/monit-redis.conf
425
+ - lib/generators/vulcanize/templates/redis/config/rubber/role/redis/redis.conf
426
+ - lib/generators/vulcanize/templates/redis/config/rubber/rubber-redis.yml
427
+ - lib/generators/vulcanize/templates/redis/templates.yml
428
+ - lib/generators/vulcanize/templates/resque/config/initializers/resque.rb
429
+ - lib/generators/vulcanize/templates/resque/config/rubber/common/resque.yml
430
+ - lib/generators/vulcanize/templates/resque/config/rubber/deploy-resque.rb
431
+ - lib/generators/vulcanize/templates/resque/config/rubber/role/resque_web/monit-resque_web.conf
432
+ - lib/generators/vulcanize/templates/resque/config/rubber/role/resque_worker/monit-resque_worker.conf
433
+ - lib/generators/vulcanize/templates/resque/config/rubber/rubber-resque.yml
434
+ - lib/generators/vulcanize/templates/resque/script/resque_worker_management.rb
435
+ - lib/generators/vulcanize/templates/resque/templates.rb
436
+ - lib/generators/vulcanize/templates/resque/templates.yml
437
+ - lib/generators/vulcanize/templates/sphinx/config/rubber/common/sphinx.yml
438
+ - lib/generators/vulcanize/templates/sphinx/config/rubber/deploy-sphinx.rb
439
+ - lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/crontab
440
+ - lib/generators/vulcanize/templates/sphinx/config/rubber/role/sphinx/monit-sphinx.conf
441
+ - lib/generators/vulcanize/templates/sphinx/config/rubber/rubber-sphinx.yml
442
+ - lib/generators/vulcanize/templates/sphinx/templates.yml
443
+ - lib/generators/vulcanize/vulcanize_generator.rb
259
444
  - lib/rubber.rb
260
445
  - lib/rubber/capistrano.rb
261
446
  - lib/rubber/cloud.rb
@@ -270,6 +455,7 @@ files:
270
455
  - lib/rubber/environment.rb
271
456
  - lib/rubber/generator.rb
272
457
  - lib/rubber/instance.rb
458
+ - lib/rubber/railtie.rb
273
459
  - lib/rubber/recipes/rubber.rb
274
460
  - lib/rubber/recipes/rubber/bundles.rb
275
461
  - lib/rubber/recipes/rubber/deploy.rb
@@ -284,33 +470,56 @@ files:
284
470
  - lib/rubber/tasks/rubber.rb
285
471
  - lib/rubber/util.rb
286
472
  - rails/init.rb
473
+ - test/environment_test.rb
474
+ - test/generator_test.rb
475
+ - test/instance_test.rb
476
+ - test/test_helper.rb
477
+ - test/util_test.rb
478
+ - test/zerigo_test.rb
287
479
  has_rdoc: true
288
480
  homepage: http://github.com/wr0ngway/rubber
289
481
  licenses: []
290
482
 
291
- post_install_message:
483
+ post_install_message: |+
484
+
485
+ ********************************************************************************
486
+
487
+ Thank you for installing rubber. Please note that this is a major upgrade
488
+ and we've moved towards using RVM for Ruby configuration on your EC2 instances.
489
+
490
+ If you're upgrading rubber, please make sure to read the upgrade notes and
491
+ make the necessary configuration changes:
492
+
493
+ http://wiki.github.com/wr0ngway/rubber/upgrading
494
+
495
+ ********************************************************************************
496
+
292
497
  rdoc_options:
293
498
  - --charset=UTF-8
294
499
  require_paths:
295
500
  - lib
296
501
  required_ruby_version: !ruby/object:Gem::Requirement
502
+ none: false
297
503
  requirements:
298
504
  - - ">="
299
505
  - !ruby/object:Gem::Version
506
+ hash: 3
300
507
  segments:
301
508
  - 0
302
509
  version: "0"
303
510
  required_rubygems_version: !ruby/object:Gem::Requirement
511
+ none: false
304
512
  requirements:
305
513
  - - ">="
306
514
  - !ruby/object:Gem::Version
515
+ hash: 3
307
516
  segments:
308
517
  - 0
309
518
  version: "0"
310
519
  requirements: []
311
520
 
312
521
  rubyforge_project: rubber
313
- rubygems_version: 1.3.6
522
+ rubygems_version: 1.3.7
314
523
  signing_key:
315
524
  specification_version: 3
316
525
  summary: A capistrano plugin for managing multi-instance deployments to the cloud (ec2)