auser-poolparty 1.0.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (368) hide show
  1. data/License.txt +1 -1
  2. data/PostInstall.txt +1 -1
  3. data/README.txt +1 -1
  4. data/Rakefile +13 -37
  5. data/VERSION.yml +4 -0
  6. data/bin/cloud +3 -2
  7. data/bin/cloud-bootstrap +21 -0
  8. data/bin/cloud-configure +21 -10
  9. data/bin/{pool-console → cloud-console} +0 -0
  10. data/bin/cloud-list +9 -12
  11. data/bin/cloud-osxcopy +5 -4
  12. data/bin/cloud-provision +17 -21
  13. data/bin/cloud-setup-dev +11 -11
  14. data/bin/cloud-spec +2 -1
  15. data/bin/cloud-ssh +12 -3
  16. data/bin/cloud-start +19 -23
  17. data/bin/cloud-terminate +1 -1
  18. data/bin/ec2-list-active +24 -0
  19. data/bin/server-become-master +1 -1
  20. data/bin/server-butterfly +25 -0
  21. data/bin/server-clean-cert-for +1 -1
  22. data/bin/server-cloud-elections +26 -0
  23. data/bin/server-ensure-provisioning +1 -2
  24. data/bin/server-get-load +9 -12
  25. data/bin/server-list-active +21 -13
  26. data/bin/server-list-instances +15 -0
  27. data/bin/server-manage-election +67 -0
  28. data/bin/server-monitor.ru +25 -0
  29. data/bin/server-query-agent +1 -1
  30. data/bin/server-rerun +1 -1
  31. data/bin/server-update-hosts +1 -1
  32. data/bin/server-write-new-nodes +1 -1
  33. data/config/jeweler.rb +43 -0
  34. data/config/requirements.rb +1 -9
  35. data/examples/basic.rb +9 -6
  36. data/examples/fairchild.rb +32 -0
  37. data/examples/fairchild_chef.rb +19 -0
  38. data/examples/paparazzi.conf.erb +21 -0
  39. data/generators/poolspec/poolspec_generator.rb +1 -9
  40. data/lib/erlang/messenger/Rakefile +1 -1
  41. data/lib/erlang/messenger/src/pm_node.erl +1 -1
  42. data/lib/erlang/messenger/src/utils.erl +0 -1
  43. data/lib/poolparty/aska/aska.rb +18 -16
  44. data/lib/poolparty/base_packages/bind.rb +11 -0
  45. data/lib/poolparty/base_packages/haproxy.rb +36 -34
  46. data/lib/poolparty/base_packages/heartbeat.rb +47 -61
  47. data/lib/poolparty/base_packages/poolparty.rb +5 -83
  48. data/lib/poolparty/base_packages/ruby.rb +4 -4
  49. data/lib/poolparty/base_packages/runit.rb +1 -1
  50. data/lib/poolparty/capistrano.rb +2 -1
  51. data/lib/poolparty/core/array.rb +9 -3
  52. data/lib/poolparty/core/hash.rb +36 -11
  53. data/lib/poolparty/core/kernel.rb +12 -8
  54. data/lib/poolparty/core/object.rb +20 -21
  55. data/lib/poolparty/core/ordered_hash.rb +99 -0
  56. data/lib/poolparty/core/string.rb +58 -15
  57. data/lib/poolparty/dependencies.rb +49 -0
  58. data/lib/poolparty/dependency_resolver/chef_resolver.rb +209 -0
  59. data/lib/poolparty/dependency_resolver/dependency_resolver.rb +42 -0
  60. data/lib/poolparty/dependency_resolver/dependency_resolver_cloud_extensions.rb +28 -0
  61. data/lib/poolparty/{dependency_resolutions → dependency_resolver}/puppet.rb +29 -28
  62. data/lib/poolparty/dependency_resolver/puppet_resolver.rb +173 -0
  63. data/lib/poolparty/exceptions/RemoteException.rb +1 -1
  64. data/lib/poolparty/exceptions/dependency_resolver_exception.rb +5 -0
  65. data/lib/poolparty/exceptions/package_exception.rb +7 -0
  66. data/lib/poolparty/extra/deployments.rb +7 -7
  67. data/lib/poolparty/helpers/binary.rb +9 -9
  68. data/lib/poolparty/helpers/display.rb +1 -5
  69. data/lib/poolparty/helpers/hash_printer.rb +44 -0
  70. data/lib/poolparty/helpers/optioner.rb +27 -20
  71. data/lib/poolparty/lite.rb +20 -0
  72. data/lib/poolparty/modules/cloud_dsl.rb +6 -0
  73. data/lib/poolparty/modules/cloud_resourcer.rb +48 -111
  74. data/lib/poolparty/modules/daemonizable.rb +141 -140
  75. data/lib/poolparty/modules/definable_resource.rb +7 -10
  76. data/lib/poolparty/modules/file_writer.rb +19 -15
  77. data/lib/poolparty/modules/pretty_printer.rb +1 -1
  78. data/lib/poolparty/modules/resourcing_dsl.rb +46 -41
  79. data/lib/poolparty/monitors/base_monitor.rb +2 -10
  80. data/lib/poolparty/monitors/monitor_rack.rb +125 -0
  81. data/lib/poolparty/monitors/monitors/load_monitor.rb +15 -0
  82. data/lib/poolparty/monitors/monitors/memory_monitor.rb +50 -50
  83. data/lib/poolparty/monitors/monitors/server_monitor.rb +7 -0
  84. data/lib/poolparty/monitors/monitors/web_monitor.rb +18 -18
  85. data/lib/poolparty/monitors/neighborhood_monitor.rb +25 -0
  86. data/lib/poolparty/monitors/stats_monitor.rb +183 -0
  87. data/lib/poolparty/monitors.rb +6 -0
  88. data/lib/poolparty/net/init.rb +11 -0
  89. data/lib/poolparty/net/messenger.rb +1 -18
  90. data/lib/poolparty/net/remote_bases.rb +21 -0
  91. data/lib/poolparty/net/remote_instance.rb +36 -27
  92. data/lib/poolparty/net/remoter/cloud_control.rb +251 -0
  93. data/lib/poolparty/net/remoter/connections.rb +180 -0
  94. data/lib/poolparty/net/remoter/interactive.rb +121 -0
  95. data/lib/poolparty/net/remoter/lists.rb +12 -0
  96. data/lib/poolparty/net/remoter_base.rb +46 -124
  97. data/lib/poolparty/net/{remote_bases → remoter_bases/ec2}/ec2.rb +78 -52
  98. data/lib/poolparty/net/remoter_bases/ec2/ec2_remote_instance.rb +53 -0
  99. data/lib/poolparty/net/{remote_bases → remoter_bases}/ec2/ec2_response_object.rb +2 -4
  100. data/lib/poolparty/plugins/chef.rb +168 -0
  101. data/lib/poolparty/plugins/deploydirectory.rb +22 -46
  102. data/lib/poolparty/plugins/git.rb +27 -18
  103. data/lib/poolparty/plugins/line_in_file.rb +13 -0
  104. data/lib/poolparty/plugins/rsyncmirror.rb +2 -3
  105. data/lib/poolparty/poolparty/cloud.rb +172 -110
  106. data/lib/poolparty/poolparty/custom_resource.rb +2 -2
  107. data/lib/poolparty/poolparty/{base.rb → default.rb} +56 -20
  108. data/lib/poolparty/poolparty/key.rb +75 -0
  109. data/lib/poolparty/poolparty/loggable.rb +28 -27
  110. data/lib/poolparty/poolparty/neighborhoods.rb +69 -0
  111. data/lib/poolparty/poolparty/plugin.rb +52 -19
  112. data/lib/poolparty/poolparty/plugin_model.rb +18 -21
  113. data/lib/poolparty/poolparty/pool.rb +23 -24
  114. data/lib/poolparty/poolparty/poolparty_base_class.rb +181 -0
  115. data/lib/poolparty/poolparty/resource.rb +74 -176
  116. data/lib/poolparty/poolparty/script.rb +32 -20
  117. data/lib/poolparty/poolparty/service.rb +34 -0
  118. data/lib/poolparty/poolparty/template.rb +18 -0
  119. data/lib/poolparty/provision/boot_strapper.rb +140 -0
  120. data/lib/poolparty/provision/configurations/chef.rb +22 -0
  121. data/lib/poolparty/provision/configurations/puppet.rb +28 -0
  122. data/lib/poolparty/provision/dr_configure.rb +85 -0
  123. data/lib/poolparty/provisioners/capistrano/capistrano.rb +21 -19
  124. data/lib/poolparty/provisioners/capistrano/capistrano_configurer.rb +19 -13
  125. data/lib/poolparty/provisioners/capistrano/recipes/aws.rb +21 -0
  126. data/lib/poolparty/provisioners/capistrano/{recipies → recipes}/base.rb +76 -56
  127. data/lib/poolparty/provisioners/capistrano/recipes/master.rb +66 -0
  128. data/lib/poolparty/provisioners/capistrano/recipes/puppet.rb +101 -0
  129. data/lib/poolparty/provisioners/capistrano/{recipies → recipes}/slave.rb +5 -9
  130. data/lib/poolparty/provisioners/provisioner_base.rb +50 -43
  131. data/lib/poolparty/{poolparty/resources → resources}/cron.rb +0 -0
  132. data/lib/poolparty/{poolparty/resources → resources}/custom_service.rb +1 -1
  133. data/lib/poolparty/resources/directory.rb +13 -0
  134. data/lib/poolparty/resources/exec.rb +25 -0
  135. data/lib/poolparty/resources/file.rb +29 -0
  136. data/lib/poolparty/{poolparty/resources → resources}/host.rb +4 -2
  137. data/lib/poolparty/{poolparty/resources → resources}/mount.rb +5 -6
  138. data/lib/poolparty/resources/package.rb +12 -0
  139. data/lib/poolparty/resources/remote_file.rb +20 -0
  140. data/lib/poolparty/{poolparty/resources → resources}/service.rb +1 -2
  141. data/lib/poolparty/resources/sshkey.rb +27 -0
  142. data/lib/poolparty/resources/symlink.rb +21 -0
  143. data/lib/poolparty/{poolparty/resources/remote_user.rb → resources/user.rb} +1 -5
  144. data/lib/poolparty/resources/variable.rb +9 -0
  145. data/lib/poolparty/schema.rb +64 -0
  146. data/lib/poolparty/services/conditional.rb +46 -0
  147. data/lib/poolparty/{poolparty/resources → services}/gem_package.rb +12 -10
  148. data/lib/poolparty/spec.rb +2 -5
  149. data/lib/poolparty/templates/erlang_cookie_maker +6 -0
  150. data/lib/poolparty/templates/gemrc +11 -0
  151. data/lib/poolparty/templates/ha.cf +1 -1
  152. data/lib/poolparty/templates/haproxy.conf +7 -7
  153. data/lib/poolparty/templates/haresources +2 -2
  154. data/lib/poolparty/templates/monitor.ru +16 -0
  155. data/lib/poolparty/templates/puppet/add_puppet_to_hosts +6 -0
  156. data/lib/poolparty/templates/puppet/puppet.conf +2 -0
  157. data/lib/poolparty/templates/puppet/puppetrunner +14 -0
  158. data/lib/poolparty/templates/puppet/site.pp +4 -0
  159. data/lib/poolparty/templates/puppetrunner +11 -5
  160. data/lib/poolparty.rb +67 -14
  161. data/script/destroy +1 -1
  162. data/script/generate +1 -1
  163. data/spec/bin/bin_spec_helper.rb +7 -0
  164. data/spec/bin/fixtures/bin_cloud_for_test.rb +19 -0
  165. data/spec/bin/server-list-active_spec.rb +22 -0
  166. data/spec/poolparty/aska/aska_spec.rb +5 -5
  167. data/spec/poolparty/base_packages/haproxy_spec.rb +2 -8
  168. data/spec/poolparty/base_packages/heartbeat_spec.rb +3 -26
  169. data/spec/poolparty/bin/console_spec.rb +5 -28
  170. data/spec/poolparty/core/array_spec.rb +18 -3
  171. data/spec/poolparty/core/hash_spec.rb +24 -30
  172. data/spec/poolparty/core/object_spec.rb +2 -3
  173. data/spec/poolparty/core/ordered_hash_spec.rb +48 -0
  174. data/spec/poolparty/core/string_spec.rb +1 -27
  175. data/spec/poolparty/dependencies_spec.rb +11 -0
  176. data/spec/poolparty/dependency_resolver/chef_resolver_spec.rb +119 -0
  177. data/spec/poolparty/dependency_resolver/dependency_resolver_cloud_extensions_spec.rb +128 -0
  178. data/spec/poolparty/dependency_resolver/dependency_resolver_spec.rb +16 -0
  179. data/spec/poolparty/dependency_resolver/puppet_resolver_spec.rb +124 -0
  180. data/spec/poolparty/extra/deployments_spec.rb +9 -5
  181. data/spec/poolparty/fixtures/clouds.json +128 -0
  182. data/spec/poolparty/fixtures/test_template.erb +1 -0
  183. data/spec/poolparty/helpers/binary_spec.rb +1 -14
  184. data/spec/poolparty/helpers/hash_printer_spec.rb +34 -0
  185. data/spec/poolparty/helpers/optioner_spec.rb +1 -1
  186. data/spec/poolparty/id_rsa +27 -0
  187. data/spec/poolparty/modules/cloud_resourcer_spec.rb +26 -111
  188. data/spec/poolparty/modules/definable_resource.rb +1 -1
  189. data/spec/poolparty/modules/file_writer_spec.rb +5 -5
  190. data/spec/poolparty/monitors/base_monitor_spec.rb +112 -111
  191. data/spec/poolparty/monitors/monitors/cpu_monitor_spec.rb +18 -16
  192. data/spec/poolparty/monitors/monitors/memory_monitor_spec.rb +48 -47
  193. data/spec/poolparty/net/remote_instance_spec.rb +9 -73
  194. data/spec/poolparty/net/remote_spec.rb +78 -101
  195. data/spec/poolparty/net/remoter_base_spec.rb +3 -59
  196. data/spec/poolparty/net/remoter_bases/ec2_mocks_and_stubs.rb +24 -0
  197. data/spec/poolparty/net/remoter_bases/ec2_remote_instance_spec.rb +125 -0
  198. data/spec/poolparty/net/{remote_bases → remoter_bases}/ec2_spec.rb +32 -49
  199. data/spec/poolparty/net/remoter_spec.rb +51 -44
  200. data/spec/poolparty/plugins/chef_spec.rb +7 -0
  201. data/spec/poolparty/plugins/deploydirectory_spec.rb +51 -52
  202. data/spec/poolparty/plugins/git_spec.rb +14 -19
  203. data/spec/poolparty/plugins/line_spec.rb +14 -8
  204. data/spec/poolparty/poolparty/cloud_spec.rb +87 -128
  205. data/spec/poolparty/poolparty/configurers/files/ruby_basic.rb +3 -4
  206. data/spec/poolparty/poolparty/configurers/ruby_spec.rb +7 -23
  207. data/spec/poolparty/poolparty/custom_resource_spec.rb +2 -43
  208. data/spec/poolparty/poolparty/{base_spec.rb → default_spec.rb} +44 -41
  209. data/spec/poolparty/poolparty/example_spec.rb +43 -11
  210. data/spec/poolparty/poolparty/key_spec.rb +42 -0
  211. data/spec/poolparty/poolparty/neighborhoods_spec.rb +66 -0
  212. data/spec/poolparty/poolparty/plugin_model_spec.rb +14 -24
  213. data/spec/poolparty/poolparty/plugin_spec.rb +25 -96
  214. data/spec/poolparty/poolparty/pool_spec.rb +3 -1
  215. data/spec/poolparty/poolparty/resource_spec.rb +69 -268
  216. data/spec/poolparty/poolparty/script_spec.rb +30 -53
  217. data/spec/poolparty/poolparty/service_spec.rb +5 -0
  218. data/spec/poolparty/poolparty/template_spec.rb +26 -0
  219. data/spec/poolparty/poolparty/test_plugins/webserver.rb +8 -25
  220. data/spec/poolparty/poolparty_base_class_spec.rb +80 -0
  221. data/spec/poolparty/poolparty_spec.rb +4 -4
  222. data/spec/poolparty/provisioners/capistrano/capistrano_spec.rb +31 -23
  223. data/spec/poolparty/provisioners/provisioner_base_spec.rb +128 -122
  224. data/spec/poolparty/resources/cron_spec.rb +44 -0
  225. data/spec/poolparty/resources/directory_spec.rb +40 -0
  226. data/spec/poolparty/resources/exec_spec.rb +37 -0
  227. data/spec/poolparty/resources/file_spec.rb +62 -0
  228. data/spec/poolparty/resources/gem_spec.rb +7 -0
  229. data/spec/poolparty/resources/host_spec.rb +35 -0
  230. data/spec/poolparty/resources/package_spec.rb +29 -0
  231. data/spec/poolparty/resources/service_spec.rb +29 -0
  232. data/spec/poolparty/resources/sshkey_spec.rb +40 -0
  233. data/spec/poolparty/resources/symlink_spec.rb +29 -0
  234. data/spec/poolparty/resources/user_spec.rb +48 -0
  235. data/spec/poolparty/resources/variable_spec.rb +26 -0
  236. data/spec/poolparty/schema_spec.rb +53 -0
  237. data/spec/poolparty/services/conditional_spec.rb +52 -0
  238. data/spec/poolparty/spec_helper.rb +104 -23
  239. data/spec/poolparty/test_spec_helper.rb +13 -0
  240. data/tasks/development.rake +76 -69
  241. data/tasks/poolparty.rake +54 -0
  242. data/tasks/server.rake +41 -39
  243. data/test/poolparty/core/hash_test.rb +23 -0
  244. data/test/test_helper.rb +3 -2
  245. data/vendor/gems/butterfly/History.txt +4 -0
  246. data/vendor/gems/butterfly/PostInstall.txt +2 -0
  247. data/vendor/gems/butterfly/README.rdoc +48 -0
  248. data/vendor/gems/butterfly/Rakefile +62 -0
  249. data/vendor/gems/butterfly/VERSION.yml +4 -0
  250. data/vendor/gems/butterfly/bin/flutter +4 -0
  251. data/vendor/gems/butterfly/butterfly.gemspec +37 -0
  252. data/vendor/gems/butterfly/examples/config.ru +15 -0
  253. data/vendor/gems/butterfly/examples/my_app.rb +12 -0
  254. data/vendor/gems/butterfly/lib/butterfly.rb +14 -0
  255. data/vendor/gems/butterfly/lib/handler.rb +48 -0
  256. data/vendor/gems/butterfly/lib/request.rb +29 -0
  257. data/vendor/gems/butterfly/lib/response.rb +49 -0
  258. data/vendor/gems/butterfly/script/console +10 -0
  259. data/vendor/gems/butterfly/script/destroy +14 -0
  260. data/vendor/gems/butterfly/script/generate +14 -0
  261. data/vendor/gems/butterfly/test/test_adapter_base.rb +23 -0
  262. data/vendor/gems/butterfly/test/test_butterfly_request.rb +46 -0
  263. data/vendor/gems/butterfly/test/test_butterfly_response.rb +43 -0
  264. data/vendor/gems/butterfly/test/test_butterfly_server.rb +16 -0
  265. data/vendor/gems/butterfly/test/test_default.rb +12 -0
  266. data/vendor/gems/butterfly/test/test_helper.rb +6 -0
  267. data/vendor/gems/dslify/History.txt +4 -0
  268. data/vendor/gems/dslify/Manifest.txt +25 -0
  269. data/vendor/gems/dslify/PostInstall.txt +5 -0
  270. data/vendor/gems/dslify/README.txt +60 -0
  271. data/vendor/gems/dslify/Rakefile +56 -0
  272. data/{config → vendor/gems/dslify/config}/hoe.rb +12 -55
  273. data/vendor/gems/dslify/config/requirements.rb +15 -0
  274. data/vendor/gems/dslify/dslify.gemspec +40 -0
  275. data/vendor/gems/dslify/lib/dslify/dslify.rb +69 -0
  276. data/vendor/gems/dslify/lib/dslify/version.rb +10 -0
  277. data/vendor/gems/dslify/lib/dslify.rb +7 -0
  278. data/vendor/gems/dslify/script/console +10 -0
  279. data/vendor/gems/dslify/script/destroy +14 -0
  280. data/vendor/gems/dslify/script/generate +14 -0
  281. data/{script → vendor/gems/dslify/script}/txt2html +4 -4
  282. data/{setup.rb → vendor/gems/dslify/setup.rb} +3 -3
  283. data/{tasks → vendor/gems/dslify/tasks}/deployment.rake +4 -18
  284. data/vendor/gems/dslify/tasks/environment.rake +7 -0
  285. data/{tasks → vendor/gems/dslify/tasks}/website.rake +0 -0
  286. data/vendor/gems/dslify/test/test_dslify.rb +114 -0
  287. data/vendor/gems/dslify/website/index.html +86 -0
  288. data/vendor/gems/dslify/website/index.txt +83 -0
  289. data/{website → vendor/gems/dslify/website}/javascripts/rounded_corners_lite.inc.js +0 -0
  290. data/{website → vendor/gems/dslify/website}/stylesheets/screen.css +18 -27
  291. data/{website → vendor/gems/dslify/website}/template.html.erb +1 -2
  292. data/vendor/gems/parenting/History.txt +4 -0
  293. data/vendor/gems/parenting/Manifest.txt +13 -0
  294. data/vendor/gems/parenting/PostInstall.txt +2 -0
  295. data/vendor/gems/parenting/README.rdoc +47 -0
  296. data/vendor/gems/parenting/Rakefile +28 -0
  297. data/vendor/gems/parenting/lib/parenting/base.rb +65 -0
  298. data/vendor/gems/parenting/lib/parenting.rb +10 -0
  299. data/vendor/gems/parenting/parenting.gemspec +39 -0
  300. data/vendor/gems/parenting/script/console +10 -0
  301. data/vendor/gems/parenting/script/destroy +14 -0
  302. data/vendor/gems/parenting/script/generate +14 -0
  303. data/vendor/gems/parenting/test/file_to_eval.rb +9 -0
  304. data/vendor/gems/parenting/test/test_helper.rb +5 -0
  305. data/vendor/gems/parenting/test/test_parenting.rb +89 -0
  306. data/vendor/gems/suitcase/LICENSE +20 -0
  307. data/vendor/gems/suitcase/README.rdoc +31 -0
  308. data/vendor/gems/suitcase/Rakefile +57 -0
  309. data/vendor/gems/suitcase/VERSION.yml +4 -0
  310. data/vendor/gems/suitcase/lib/suitcase/unzipper.rb +15 -0
  311. data/vendor/gems/suitcase/lib/suitcase/zipper.rb +103 -0
  312. data/vendor/gems/suitcase/lib/suitcase.rb +5 -0
  313. data/vendor/gems/suitcase/suitcase.gemspec +52 -0
  314. data/vendor/gems/suitcase/test/suitcase_test.rb +89 -0
  315. data/vendor/gems/suitcase/test/test_dir/box.rb +1 -0
  316. data/vendor/gems/suitcase/test/test_dir/test.txt +1 -0
  317. data/vendor/gems/suitcase/test/test_helper.rb +12 -0
  318. metadata +428 -184
  319. data/Capfile +0 -1
  320. data/Manifest.txt +0 -404
  321. data/bin/cloud-add-access +0 -29
  322. data/bin/cloud-add-keypair +0 -28
  323. data/bin/cloud-maintain +0 -30
  324. data/bin/cloud-refresh +0 -17
  325. data/bin/server-list-responding +0 -24
  326. data/lib/poolparty/dependency_resolutions/base.rb +0 -12
  327. data/lib/poolparty/modules/configurable.rb +0 -36
  328. data/lib/poolparty/modules/method_missing_sugar.rb +0 -58
  329. data/lib/poolparty/monitors/monitors/cpu_monitor.rb +0 -15
  330. data/lib/poolparty/net/remote.rb +0 -38
  331. data/lib/poolparty/net/remoter.rb +0 -313
  332. data/lib/poolparty/plugins/line.rb +0 -77
  333. data/lib/poolparty/poolparty/resources/class_package.rb +0 -112
  334. data/lib/poolparty/poolparty/resources/conditional.rb +0 -67
  335. data/lib/poolparty/poolparty/resources/directory.rb +0 -26
  336. data/lib/poolparty/poolparty/resources/exec.rb +0 -28
  337. data/lib/poolparty/poolparty/resources/file.rb +0 -23
  338. data/lib/poolparty/poolparty/resources/package.rb +0 -24
  339. data/lib/poolparty/poolparty/resources/remote_file.rb +0 -26
  340. data/lib/poolparty/poolparty/resources/sshkey.rb +0 -23
  341. data/lib/poolparty/poolparty/resources/symlink.rb +0 -31
  342. data/lib/poolparty/poolparty/resources/variable.rb +0 -32
  343. data/lib/poolparty/provisioners/capistrano/recipies/master.rb +0 -112
  344. data/lib/poolparty/server/agent.rb +0 -59
  345. data/lib/poolparty/templates/puppet.conf +0 -28
  346. data/lib/poolparty/templates/puppetcleaner +0 -12
  347. data/lib/poolparty/templates/puppetrerun +0 -22
  348. data/poolparty.gemspec +0 -64
  349. data/spec/poolparty/dependency_resolutions/base_spec.rb +0 -11
  350. data/spec/poolparty/modules/configurable_spec.rb +0 -29
  351. data/spec/poolparty/poolparty/resources/class_package_spec.rb +0 -120
  352. data/spec/poolparty/poolparty/resources/conditional_spec.rb +0 -77
  353. data/spec/poolparty/poolparty/resources/cron_spec.rb +0 -50
  354. data/spec/poolparty/poolparty/resources/directory_spec.rb +0 -40
  355. data/spec/poolparty/poolparty/resources/exec_spec.rb +0 -37
  356. data/spec/poolparty/poolparty/resources/file_spec.rb +0 -40
  357. data/spec/poolparty/poolparty/resources/gem_spec.rb +0 -46
  358. data/spec/poolparty/poolparty/resources/host_spec.rb +0 -28
  359. data/spec/poolparty/poolparty/resources/package_spec.rb +0 -44
  360. data/spec/poolparty/poolparty/resources/remote_file_spec.rb +0 -40
  361. data/spec/poolparty/poolparty/resources/service_spec.rb +0 -45
  362. data/spec/poolparty/poolparty/resources/sshkey_spec.rb +0 -48
  363. data/spec/poolparty/poolparty/resources/symlink_spec.rb +0 -22
  364. data/spec/poolparty/poolparty/resources/user_spec.rb +0 -39
  365. data/spec/poolparty/poolparty/resources/variable_spec.rb +0 -24
  366. data/website/index.html +0 -107
  367. data/website/index.txt +0 -95
  368. data/website/stylesheets/code.css +0 -29
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auser-poolparty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner
@@ -9,11 +9,12 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-28 00:00:00 -08:00
12
+ date: 2009-04-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
17
+ type: :runtime
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements:
@@ -23,6 +24,27 @@ dependencies:
23
24
  version:
24
25
  - !ruby/object:Gem::Dependency
25
26
  name: logging
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: auser-dslify
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "0"
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: auser-parenting
47
+ type: :runtime
26
48
  version_requirement:
27
49
  version_requirements: !ruby/object:Gem::Requirement
28
50
  requirements:
@@ -32,6 +54,17 @@ dependencies:
32
54
  version:
33
55
  - !ruby/object:Gem::Dependency
34
56
  name: ruby2ruby
57
+ type: :runtime
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: "0"
64
+ version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: grempe-amazon-ec2
67
+ type: :runtime
35
68
  version_requirement:
36
69
  version_requirements: !ruby/object:Gem::Requirement
37
70
  requirements:
@@ -40,30 +73,28 @@ dependencies:
40
73
  version: "0"
41
74
  version:
42
75
  - !ruby/object:Gem::Dependency
43
- name: hoe
76
+ name: rubigen
77
+ type: :runtime
44
78
  version_requirement:
45
79
  version_requirements: !ruby/object:Gem::Requirement
46
80
  requirements:
47
81
  - - ">="
48
82
  - !ruby/object:Gem::Version
49
- version: 1.8.0
83
+ version: 1.5.2
50
84
  version:
51
85
  description: Self-healing, auto-scaling system administration, provisioning and maintaining tool that makes cloud computing fun and easy
52
- email:
53
- - ari.lerner@citrusbyte.com
86
+ email: ari.lerner@citrusbyte.com
54
87
  executables:
55
88
  - cloud
56
- - cloud-add-access
57
- - cloud-add-keypair
89
+ - cloud-bootstrap
58
90
  - cloud-configure
91
+ - cloud-console
59
92
  - cloud-contract
60
93
  - cloud-expand
61
94
  - cloud-handle-load
62
95
  - cloud-list
63
- - cloud-maintain
64
96
  - cloud-osxcopy
65
97
  - cloud-provision
66
- - cloud-refresh
67
98
  - cloud-rsync
68
99
  - cloud-run
69
100
  - cloud-setup-dev
@@ -72,9 +103,9 @@ executables:
72
103
  - cloud-start
73
104
  - cloud-stats
74
105
  - cloud-terminate
106
+ - ec2-list-active
75
107
  - messenger-get-current-nodes
76
108
  - pool
77
- - pool-console
78
109
  - pool-describe
79
110
  - pool-generate
80
111
  - pool-init
@@ -82,12 +113,16 @@ executables:
82
113
  - pool-start
83
114
  - server-become-master
84
115
  - server-build-messenger
116
+ - server-butterfly
85
117
  - server-clean-cert-for
118
+ - server-cloud-elections
86
119
  - server-ensure-provisioning
87
120
  - server-fire-cmd
88
121
  - server-get-load
89
122
  - server-list-active
90
- - server-list-responding
123
+ - server-list-instances
124
+ - server-manage-election
125
+ - server-monitor.ru
91
126
  - server-provision
92
127
  - server-query-agent
93
128
  - server-rerun
@@ -105,86 +140,29 @@ executables:
105
140
  extensions: []
106
141
 
107
142
  extra_rdoc_files:
108
- - History.txt
109
- - License.txt
110
- - Manifest.txt
111
- - PostInstall.txt
112
143
  - README.txt
113
- - lib/erlang/messenger/lib/eunit/examples/tests.txt
114
- - lib/poolparty/config/postlaunchmessage.txt
115
- - website/index.txt
144
+ - License.txt
145
+ - History.txt
116
146
  files:
117
- - Capfile
147
+ - Rakefile
118
148
  - History.txt
119
- - License.txt
120
- - Manifest.txt
121
- - PostInstall.txt
122
149
  - README.txt
123
- - Rakefile
124
- - bin/cloud
125
- - bin/cloud-add-access
126
- - bin/cloud-add-keypair
127
- - bin/cloud-configure
128
- - bin/cloud-contract
129
- - bin/cloud-expand
130
- - bin/cloud-handle-load
131
- - bin/cloud-list
132
- - bin/cloud-maintain
133
- - bin/cloud-osxcopy
134
- - bin/cloud-provision
135
- - bin/cloud-refresh
136
- - bin/cloud-rsync
137
- - bin/cloud-run
138
- - bin/cloud-setup-dev
139
- - bin/cloud-spec
140
- - bin/cloud-ssh
141
- - bin/cloud-start
142
- - bin/cloud-stats
143
- - bin/cloud-terminate
144
- - bin/messenger-get-current-nodes
145
- - bin/pool
146
- - bin/pool-console
147
- - bin/pool-describe
148
- - bin/pool-generate
149
- - bin/pool-init
150
- - bin/pool-list
151
- - bin/pool-start
152
- - bin/server-become-master
153
- - bin/server-build-messenger
154
- - bin/server-clean-cert-for
155
- - bin/server-ensure-provisioning
156
- - bin/server-fire-cmd
157
- - bin/server-get-load
158
- - bin/server-list-active
159
- - bin/server-list-responding
160
- - bin/server-provision
161
- - bin/server-query-agent
162
- - bin/server-rerun
163
- - bin/server-send-command
164
- - bin/server-show-stats
165
- - bin/server-start-agent
166
- - bin/server-start-client
167
- - bin/server-start-master
168
- - bin/server-start-node
169
- - bin/server-stop-client
170
- - bin/server-stop-master
171
- - bin/server-stop-node
172
- - bin/server-update-hosts
173
- - bin/server-write-new-nodes
174
- - config/hoe.rb
150
+ - PostInstall.txt
151
+ - License.txt
152
+ - VERSION.yml
153
+ - config/jeweler.rb
175
154
  - config/requirements.rb
176
155
  - examples/basic.rb
177
156
  - examples/deploy.rb
157
+ - examples/fairchild.rb
158
+ - examples/fairchild_chef.rb
159
+ - examples/paparazzi.conf.erb
178
160
  - examples/plugin_without_plugin_directory.rb
179
161
  - examples/poolparty.rb
180
- - generators/poolspec/USAGE
181
- - generators/poolspec/poolspec_generator.rb
182
- - generators/poolspec/templates/pool_spec_template.erb
183
- - lib/erlang/messenger/Emakefile
184
- - lib/erlang/messenger/Makefile
185
- - lib/erlang/messenger/README
186
- - lib/erlang/messenger/Rakefile
162
+ - lib/erlang
163
+ - lib/erlang/messenger
187
164
  - lib/erlang/messenger/control
165
+ - lib/erlang/messenger/ebin
188
166
  - lib/erlang/messenger/ebin/client.app
189
167
  - lib/erlang/messenger/ebin/master.app
190
168
  - lib/erlang/messenger/ebin/node.app
@@ -192,13 +170,15 @@ files:
192
170
  - lib/erlang/messenger/ebin/pm_client_rel-0.1.rel
193
171
  - lib/erlang/messenger/ebin/pm_master_rel-0.1.rel
194
172
  - lib/erlang/messenger/ebin/pm_node_rel-0.1.rel
173
+ - lib/erlang/messenger/Emakefile
174
+ - lib/erlang/messenger/include
195
175
  - lib/erlang/messenger/include/defines.hrl
176
+ - lib/erlang/messenger/lib
177
+ - lib/erlang/messenger/lib/eunit
196
178
  - lib/erlang/messenger/lib/eunit/AUTHORS
197
179
  - lib/erlang/messenger/lib/eunit/CHANGELOG
198
180
  - lib/erlang/messenger/lib/eunit/COPYING
199
- - lib/erlang/messenger/lib/eunit/Makefile
200
- - lib/erlang/messenger/lib/eunit/NOTES
201
- - lib/erlang/messenger/lib/eunit/README
181
+ - lib/erlang/messenger/lib/eunit/doc
202
182
  - lib/erlang/messenger/lib/eunit/doc/edoc-info
203
183
  - lib/erlang/messenger/lib/eunit/doc/erlang.png
204
184
  - lib/erlang/messenger/lib/eunit/doc/eunit.html
@@ -208,6 +188,7 @@ files:
208
188
  - lib/erlang/messenger/lib/eunit/doc/overview.edoc
209
189
  - lib/erlang/messenger/lib/eunit/doc/packages-frame.html
210
190
  - lib/erlang/messenger/lib/eunit/doc/stylesheet.css
191
+ - lib/erlang/messenger/lib/eunit/ebin
211
192
  - lib/erlang/messenger/lib/eunit/ebin/autoload.beam
212
193
  - lib/erlang/messenger/lib/eunit/ebin/code_monitor.beam
213
194
  - lib/erlang/messenger/lib/eunit/ebin/eunit.app
@@ -224,11 +205,16 @@ files:
224
205
  - lib/erlang/messenger/lib/eunit/ebin/eunit_tests.beam
225
206
  - lib/erlang/messenger/lib/eunit/ebin/eunit_tty.beam
226
207
  - lib/erlang/messenger/lib/eunit/ebin/file_monitor.beam
208
+ - lib/erlang/messenger/lib/eunit/examples
227
209
  - lib/erlang/messenger/lib/eunit/examples/eunit_examples.erl
228
210
  - lib/erlang/messenger/lib/eunit/examples/fib.erl
229
211
  - lib/erlang/messenger/lib/eunit/examples/tests.txt
212
+ - lib/erlang/messenger/lib/eunit/include
230
213
  - lib/erlang/messenger/lib/eunit/include/eunit.hrl
231
- - lib/erlang/messenger/lib/eunit/src/Makefile
214
+ - lib/erlang/messenger/lib/eunit/Makefile
215
+ - lib/erlang/messenger/lib/eunit/NOTES
216
+ - lib/erlang/messenger/lib/eunit/README
217
+ - lib/erlang/messenger/lib/eunit/src
232
218
  - lib/erlang/messenger/lib/eunit/src/autoload.erl
233
219
  - lib/erlang/messenger/lib/eunit/src/code_monitor.erl
234
220
  - lib/erlang/messenger/lib/eunit/src/eunit.app.src
@@ -246,14 +232,19 @@ files:
246
232
  - lib/erlang/messenger/lib/eunit/src/eunit_tests.erl
247
233
  - lib/erlang/messenger/lib/eunit/src/eunit_tty.erl
248
234
  - lib/erlang/messenger/lib/eunit/src/file_monitor.erl
235
+ - lib/erlang/messenger/lib/eunit/src/Makefile
249
236
  - lib/erlang/messenger/lib/eunit/sys.config
250
237
  - lib/erlang/messenger/lib/eunit/vsn.mk
238
+ - lib/erlang/messenger/Makefile
251
239
  - lib/erlang/messenger/pm_client_rel-0.1.boot
252
240
  - lib/erlang/messenger/pm_client_rel-0.1.script
253
241
  - lib/erlang/messenger/pm_master_rel-0.1.boot
254
242
  - lib/erlang/messenger/pm_master_rel-0.1.script
255
243
  - lib/erlang/messenger/pm_node_rel-0.1.boot
256
244
  - lib/erlang/messenger/pm_node_rel-0.1.script
245
+ - lib/erlang/messenger/Rakefile
246
+ - lib/erlang/messenger/README
247
+ - lib/erlang/messenger/src
257
248
  - lib/erlang/messenger/src/client_app.erl
258
249
  - lib/erlang/messenger/src/client_server.erl
259
250
  - lib/erlang/messenger/src/master_app.erl
@@ -272,16 +263,22 @@ files:
272
263
  - lib/erlang/messenger/src/pm_strings.erl
273
264
  - lib/erlang/messenger/src/utils.erl
274
265
  - lib/erlang/messenger/useful_snippets
275
- - lib/poolparty.rb
266
+ - lib/poolparty
267
+ - lib/poolparty/aska
276
268
  - lib/poolparty/aska/aska.rb
269
+ - lib/poolparty/base_packages
270
+ - lib/poolparty/base_packages/bind.rb
277
271
  - lib/poolparty/base_packages/haproxy.rb
278
272
  - lib/poolparty/base_packages/heartbeat.rb
279
273
  - lib/poolparty/base_packages/poolparty.rb
280
274
  - lib/poolparty/base_packages/ruby.rb
281
275
  - lib/poolparty/base_packages/runit.rb
282
- - lib/poolparty/capistrano.rb
276
+ - lib/poolparty/capistrano
283
277
  - lib/poolparty/capistrano/cloud_tasks.rb
278
+ - lib/poolparty/capistrano.rb
279
+ - lib/poolparty/config
284
280
  - lib/poolparty/config/postlaunchmessage.txt
281
+ - lib/poolparty/core
285
282
  - lib/poolparty/core/array.rb
286
283
  - lib/poolparty/core/class.rb
287
284
  - lib/poolparty/core/exception.rb
@@ -292,15 +289,24 @@ files:
292
289
  - lib/poolparty/core/module.rb
293
290
  - lib/poolparty/core/my_open_struct.rb
294
291
  - lib/poolparty/core/object.rb
292
+ - lib/poolparty/core/ordered_hash.rb
295
293
  - lib/poolparty/core/proc.rb
296
294
  - lib/poolparty/core/string.rb
297
295
  - lib/poolparty/core/symbol.rb
298
296
  - lib/poolparty/core/time.rb
299
- - lib/poolparty/dependency_resolutions/base.rb
300
- - lib/poolparty/dependency_resolutions/puppet.rb
297
+ - lib/poolparty/dependencies.rb
298
+ - lib/poolparty/dependency_resolver
299
+ - lib/poolparty/dependency_resolver/chef_resolver.rb
300
+ - lib/poolparty/dependency_resolver/dependency_resolver.rb
301
+ - lib/poolparty/dependency_resolver/dependency_resolver_cloud_extensions.rb
302
+ - lib/poolparty/dependency_resolver/puppet.rb
303
+ - lib/poolparty/dependency_resolver/puppet_resolver.rb
304
+ - lib/poolparty/exceptions
301
305
  - lib/poolparty/exceptions/CloudNotFoundException.rb
306
+ - lib/poolparty/exceptions/dependency_resolver_exception.rb
302
307
  - lib/poolparty/exceptions/LoadRulesException.rb
303
308
  - lib/poolparty/exceptions/MasterException.rb
309
+ - lib/poolparty/exceptions/package_exception.rb
304
310
  - lib/poolparty/exceptions/ProvisionerException.rb
305
311
  - lib/poolparty/exceptions/RemoteException.rb
306
312
  - lib/poolparty/exceptions/ResourceException.rb
@@ -308,79 +314,120 @@ files:
308
314
  - lib/poolparty/exceptions/SpecException.rb
309
315
  - lib/poolparty/exceptions/TemplateNotFound.rb
310
316
  - lib/poolparty/exceptions/UnacceptableCommand.rb
317
+ - lib/poolparty/extra
311
318
  - lib/poolparty/extra/deployments.rb
319
+ - lib/poolparty/helpers
312
320
  - lib/poolparty/helpers/binary.rb
313
321
  - lib/poolparty/helpers/console.rb
314
322
  - lib/poolparty/helpers/display.rb
323
+ - lib/poolparty/helpers/hash_printer.rb
315
324
  - lib/poolparty/helpers/loading.rb
316
325
  - lib/poolparty/helpers/nice_printer.rb
317
326
  - lib/poolparty/helpers/optioner.rb
318
327
  - lib/poolparty/helpers/ruberl.rb
328
+ - lib/poolparty/lite.rb
329
+ - lib/poolparty/modules
319
330
  - lib/poolparty/modules/cloud_dsl.rb
320
331
  - lib/poolparty/modules/cloud_resourcer.rb
321
- - lib/poolparty/modules/configurable.rb
322
332
  - lib/poolparty/modules/daemonizable.rb
323
333
  - lib/poolparty/modules/definable_resource.rb
324
334
  - lib/poolparty/modules/file_writer.rb
325
- - lib/poolparty/modules/method_missing_sugar.rb
326
335
  - lib/poolparty/modules/output.rb
327
336
  - lib/poolparty/modules/pretty_printer.rb
328
337
  - lib/poolparty/modules/resourcing_dsl.rb
329
338
  - lib/poolparty/modules/s3_string.rb
330
339
  - lib/poolparty/modules/safe_instance.rb
331
340
  - lib/poolparty/modules/thread_pool.rb
341
+ - lib/poolparty/monitors
332
342
  - lib/poolparty/monitors/base_monitor.rb
333
- - lib/poolparty/monitors/monitors/cpu_monitor.rb
343
+ - lib/poolparty/monitors/monitor_rack.rb
344
+ - lib/poolparty/monitors/monitors
345
+ - lib/poolparty/monitors/monitors/load_monitor.rb
334
346
  - lib/poolparty/monitors/monitors/memory_monitor.rb
347
+ - lib/poolparty/monitors/monitors/server_monitor.rb
335
348
  - lib/poolparty/monitors/monitors/web_monitor.rb
349
+ - lib/poolparty/monitors/neighborhood_monitor.rb
350
+ - lib/poolparty/monitors/stats_monitor.rb
351
+ - lib/poolparty/monitors.rb
352
+ - lib/poolparty/net
353
+ - lib/poolparty/net/init.rb
336
354
  - lib/poolparty/net/messenger.rb
337
- - lib/poolparty/net/remote.rb
338
- - lib/poolparty/net/remote_bases/ec2.rb
339
- - lib/poolparty/net/remote_bases/ec2/ec2_response_object.rb
355
+ - lib/poolparty/net/remote_bases.rb
340
356
  - lib/poolparty/net/remote_instance.rb
341
- - lib/poolparty/net/remoter.rb
357
+ - lib/poolparty/net/remoter
358
+ - lib/poolparty/net/remoter/cloud_control.rb
359
+ - lib/poolparty/net/remoter/connections.rb
360
+ - lib/poolparty/net/remoter/interactive.rb
361
+ - lib/poolparty/net/remoter/lists.rb
342
362
  - lib/poolparty/net/remoter_base.rb
363
+ - lib/poolparty/net/remoter_bases
364
+ - lib/poolparty/net/remoter_bases/ec2
365
+ - lib/poolparty/net/remoter_bases/ec2/ec2.rb
366
+ - lib/poolparty/net/remoter_bases/ec2/ec2_remote_instance.rb
367
+ - lib/poolparty/net/remoter_bases/ec2/ec2_response_object.rb
368
+ - lib/poolparty/plugins
369
+ - lib/poolparty/plugins/chef.rb
343
370
  - lib/poolparty/plugins/deploydirectory.rb
344
371
  - lib/poolparty/plugins/git.rb
345
- - lib/poolparty/plugins/line.rb
372
+ - lib/poolparty/plugins/line_in_file.rb
346
373
  - lib/poolparty/plugins/rsyncmirror.rb
347
374
  - lib/poolparty/plugins/runit.rb
348
375
  - lib/poolparty/plugins/svn.rb
349
- - lib/poolparty/poolparty/base.rb
376
+ - lib/poolparty/poolparty
350
377
  - lib/poolparty/poolparty/cloud.rb
351
378
  - lib/poolparty/poolparty/custom_resource.rb
379
+ - lib/poolparty/poolparty/default.rb
380
+ - lib/poolparty/poolparty/key.rb
352
381
  - lib/poolparty/poolparty/loggable.rb
382
+ - lib/poolparty/poolparty/neighborhoods.rb
353
383
  - lib/poolparty/poolparty/plugin.rb
354
384
  - lib/poolparty/poolparty/plugin_model.rb
355
385
  - lib/poolparty/poolparty/pool.rb
386
+ - lib/poolparty/poolparty/poolparty_base_class.rb
356
387
  - lib/poolparty/poolparty/resource.rb
357
- - lib/poolparty/poolparty/resources/class_package.rb
358
- - lib/poolparty/poolparty/resources/conditional.rb
359
- - lib/poolparty/poolparty/resources/cron.rb
360
- - lib/poolparty/poolparty/resources/custom_service.rb
361
- - lib/poolparty/poolparty/resources/directory.rb
362
- - lib/poolparty/poolparty/resources/exec.rb
363
- - lib/poolparty/poolparty/resources/file.rb
364
- - lib/poolparty/poolparty/resources/gem_package.rb
365
- - lib/poolparty/poolparty/resources/host.rb
366
- - lib/poolparty/poolparty/resources/mount.rb
367
- - lib/poolparty/poolparty/resources/package.rb
368
- - lib/poolparty/poolparty/resources/remote_file.rb
369
- - lib/poolparty/poolparty/resources/remote_user.rb
370
- - lib/poolparty/poolparty/resources/service.rb
371
- - lib/poolparty/poolparty/resources/sshkey.rb
372
- - lib/poolparty/poolparty/resources/symlink.rb
373
- - lib/poolparty/poolparty/resources/variable.rb
374
388
  - lib/poolparty/poolparty/script.rb
389
+ - lib/poolparty/poolparty/service.rb
390
+ - lib/poolparty/poolparty/template.rb
391
+ - lib/poolparty/provision
392
+ - lib/poolparty/provision/boot_strapper.rb
393
+ - lib/poolparty/provision/configurations
394
+ - lib/poolparty/provision/configurations/chef.rb
395
+ - lib/poolparty/provision/configurations/puppet.rb
396
+ - lib/poolparty/provision/dr_configure.rb
397
+ - lib/poolparty/provisioners
398
+ - lib/poolparty/provisioners/capistrano
375
399
  - lib/poolparty/provisioners/capistrano/capistrano.rb
376
400
  - lib/poolparty/provisioners/capistrano/capistrano_configurer.rb
377
- - lib/poolparty/provisioners/capistrano/recipies/base.rb
378
- - lib/poolparty/provisioners/capistrano/recipies/master.rb
379
- - lib/poolparty/provisioners/capistrano/recipies/slave.rb
401
+ - lib/poolparty/provisioners/capistrano/recipes
402
+ - lib/poolparty/provisioners/capistrano/recipes/aws.rb
403
+ - lib/poolparty/provisioners/capistrano/recipes/base.rb
404
+ - lib/poolparty/provisioners/capistrano/recipes/master.rb
405
+ - lib/poolparty/provisioners/capistrano/recipes/puppet.rb
406
+ - lib/poolparty/provisioners/capistrano/recipes/slave.rb
380
407
  - lib/poolparty/provisioners/provisioner_base.rb
381
- - lib/poolparty/server/agent.rb
382
- - lib/poolparty/spec.rb
408
+ - lib/poolparty/resources
409
+ - lib/poolparty/resources/cron.rb
410
+ - lib/poolparty/resources/custom_service.rb
411
+ - lib/poolparty/resources/directory.rb
412
+ - lib/poolparty/resources/exec.rb
413
+ - lib/poolparty/resources/file.rb
414
+ - lib/poolparty/resources/host.rb
415
+ - lib/poolparty/resources/mount.rb
416
+ - lib/poolparty/resources/package.rb
417
+ - lib/poolparty/resources/remote_file.rb
418
+ - lib/poolparty/resources/service.rb
419
+ - lib/poolparty/resources/sshkey.rb
420
+ - lib/poolparty/resources/symlink.rb
421
+ - lib/poolparty/resources/user.rb
422
+ - lib/poolparty/resources/variable.rb
423
+ - lib/poolparty/schema.rb
424
+ - lib/poolparty/services
425
+ - lib/poolparty/services/conditional.rb
426
+ - lib/poolparty/services/gem_package.rb
427
+ - lib/poolparty/spec
428
+ - lib/poolparty/spec/core
383
429
  - lib/poolparty/spec/core/string.rb
430
+ - lib/poolparty/spec/matchers
384
431
  - lib/poolparty/spec/matchers/a_spec_extensions_base.rb
385
432
  - lib/poolparty/spec/matchers/have_cron.rb
386
433
  - lib/poolparty/spec/matchers/have_deploydirectory.rb
@@ -398,151 +445,348 @@ files:
398
445
  - lib/poolparty/spec/matchers/have_sshkey.rb
399
446
  - lib/poolparty/spec/matchers/have_symlink.rb
400
447
  - lib/poolparty/spec/matchers/have_variable.rb
448
+ - lib/poolparty/spec/spec
401
449
  - lib/poolparty/spec/spec/dynamic_matchers.rb
402
450
  - lib/poolparty/spec/spec/ensure_matchers_exist.rb
451
+ - lib/poolparty/spec/templates
403
452
  - lib/poolparty/spec/templates/have_base.rb
453
+ - lib/poolparty/spec.rb
454
+ - lib/poolparty/templates
404
455
  - lib/poolparty/templates/authkeys
456
+ - lib/poolparty/templates/chef
405
457
  - lib/poolparty/templates/cib.xml
458
+ - lib/poolparty/templates/erlang_cookie_maker
406
459
  - lib/poolparty/templates/gem
460
+ - lib/poolparty/templates/gemrc
407
461
  - lib/poolparty/templates/ha.cf
408
462
  - lib/poolparty/templates/haproxy.conf
409
463
  - lib/poolparty/templates/haresources
410
464
  - lib/poolparty/templates/logd.cf
465
+ - lib/poolparty/templates/messenger
466
+ - lib/poolparty/templates/messenger/client
411
467
  - lib/poolparty/templates/messenger/client/log-run.erb
412
468
  - lib/poolparty/templates/messenger/client/run.erb
469
+ - lib/poolparty/templates/messenger/master
413
470
  - lib/poolparty/templates/messenger/master/log-run.erb
414
471
  - lib/poolparty/templates/messenger/master/run.erb
472
+ - lib/poolparty/templates/messenger/node
415
473
  - lib/poolparty/templates/messenger/node/log-run.erb
416
474
  - lib/poolparty/templates/messenger/node/run.erb
475
+ - lib/poolparty/templates/monitor.ru
417
476
  - lib/poolparty/templates/namespaceauth.conf
418
477
  - lib/poolparty/templates/poolparty.monitor
419
- - lib/poolparty/templates/puppet.conf
420
- - lib/poolparty/templates/puppetcleaner
421
- - lib/poolparty/templates/puppetrerun
478
+ - lib/poolparty/templates/puppet
479
+ - lib/poolparty/templates/puppet/add_puppet_to_hosts
480
+ - lib/poolparty/templates/puppet/puppet.conf
481
+ - lib/poolparty/templates/puppet/puppetrunner
482
+ - lib/poolparty/templates/puppet/site.pp
422
483
  - lib/poolparty/templates/puppetrunner
423
484
  - lib/poolparty/templates/yaws.conf
424
485
  - lib/poolparty/version.rb
486
+ - lib/poolparty.rb
425
487
  - lib/poolpartycl.rb
426
- - log/pool.log
427
- - poolparty.gemspec
428
- - script/destroy
429
- - script/generate
430
- - script/txt2html
431
- - setup.rb
488
+ - spec/bin
489
+ - spec/bin/bin_spec_helper.rb
490
+ - spec/bin/fixtures
491
+ - spec/bin/fixtures/bin_cloud_for_test.rb
492
+ - spec/bin/server-list-active_spec.rb
493
+ - spec/poolparty
494
+ - spec/poolparty/aska
432
495
  - spec/poolparty/aska/aska_spec.rb
496
+ - spec/poolparty/base_packages
433
497
  - spec/poolparty/base_packages/haproxy_spec.rb
434
498
  - spec/poolparty/base_packages/heartbeat_spec.rb
499
+ - spec/poolparty/bin
435
500
  - spec/poolparty/bin/console_spec.rb
501
+ - spec/poolparty/core
436
502
  - spec/poolparty/core/array_spec.rb
437
503
  - spec/poolparty/core/float.rb
438
504
  - spec/poolparty/core/hash_spec.rb
439
505
  - spec/poolparty/core/kernel_spec.rb
440
506
  - spec/poolparty/core/module_spec.rb
441
507
  - spec/poolparty/core/object_spec.rb
508
+ - spec/poolparty/core/ordered_hash_spec.rb
442
509
  - spec/poolparty/core/string_spec.rb
443
510
  - spec/poolparty/core/time_spec.rb
444
- - spec/poolparty/dependency_resolutions/base_spec.rb
511
+ - spec/poolparty/dependencies_spec.rb
512
+ - spec/poolparty/dependency_resolver
513
+ - spec/poolparty/dependency_resolver/chef_resolver_spec.rb
514
+ - spec/poolparty/dependency_resolver/dependency_resolver_cloud_extensions_spec.rb
515
+ - spec/poolparty/dependency_resolver/dependency_resolver_spec.rb
516
+ - spec/poolparty/dependency_resolver/puppet_resolver_spec.rb
517
+ - spec/poolparty/extra
445
518
  - spec/poolparty/extra/deployments_spec.rb
519
+ - spec/poolparty/fixtures
520
+ - spec/poolparty/fixtures/clouds.json
521
+ - spec/poolparty/fixtures/test_template.erb
522
+ - spec/poolparty/helpers
446
523
  - spec/poolparty/helpers/binary_spec.rb
447
524
  - spec/poolparty/helpers/display_spec.rb
525
+ - spec/poolparty/helpers/hash_printer_spec.rb
448
526
  - spec/poolparty/helpers/optioner_spec.rb
527
+ - spec/poolparty/id_rsa
528
+ - spec/poolparty/modules
449
529
  - spec/poolparty/modules/cloud_resourcer_spec.rb
450
- - spec/poolparty/modules/configurable_spec.rb
451
530
  - spec/poolparty/modules/definable_resource.rb
452
531
  - spec/poolparty/modules/file_writer_spec.rb
453
532
  - spec/poolparty/modules/s3_string_spec.rb
533
+ - spec/poolparty/monitors
454
534
  - spec/poolparty/monitors/base_monitor_spec.rb
535
+ - spec/poolparty/monitors/monitors
455
536
  - spec/poolparty/monitors/monitors/cpu_monitor_spec.rb
456
537
  - spec/poolparty/monitors/monitors/memory_monitor_spec.rb
538
+ - spec/poolparty/net
457
539
  - spec/poolparty/net/messenger_spec.rb
458
- - spec/poolparty/net/remote_bases/ec2_spec.rb
459
540
  - spec/poolparty/net/remote_instance_spec.rb
460
541
  - spec/poolparty/net/remote_spec.rb
461
542
  - spec/poolparty/net/remoter_base_spec.rb
543
+ - spec/poolparty/net/remoter_bases
544
+ - spec/poolparty/net/remoter_bases/ec2_mocks_and_stubs.rb
545
+ - spec/poolparty/net/remoter_bases/ec2_remote_instance_spec.rb
546
+ - spec/poolparty/net/remoter_bases/ec2_spec.rb
462
547
  - spec/poolparty/net/remoter_spec.rb
548
+ - spec/poolparty/plugins
549
+ - spec/poolparty/plugins/chef_spec.rb
463
550
  - spec/poolparty/plugins/deploydirectory_spec.rb
464
551
  - spec/poolparty/plugins/git_spec.rb
465
552
  - spec/poolparty/plugins/line_spec.rb
466
553
  - spec/poolparty/plugins/svn_spec.rb
467
- - spec/poolparty/poolparty/base_spec.rb
554
+ - spec/poolparty/poolparty
468
555
  - spec/poolparty/poolparty/cloud_spec.rb
556
+ - spec/poolparty/poolparty/configurers
557
+ - spec/poolparty/poolparty/configurers/files
469
558
  - spec/poolparty/poolparty/configurers/files/ruby_basic.rb
470
559
  - spec/poolparty/poolparty/configurers/files/ruby_plugins.rb
471
560
  - spec/poolparty/poolparty/configurers/ruby_spec.rb
472
561
  - spec/poolparty/poolparty/custom_resource_spec.rb
562
+ - spec/poolparty/poolparty/default_spec.rb
473
563
  - spec/poolparty/poolparty/example_spec.rb
564
+ - spec/poolparty/poolparty/key_spec.rb
565
+ - spec/poolparty/poolparty/neighborhoods_spec.rb
474
566
  - spec/poolparty/poolparty/plugin_model_spec.rb
475
567
  - spec/poolparty/poolparty/plugin_spec.rb
476
568
  - spec/poolparty/poolparty/pool_spec.rb
477
569
  - spec/poolparty/poolparty/resource_spec.rb
478
- - spec/poolparty/poolparty/resources/class_package_spec.rb
479
- - spec/poolparty/poolparty/resources/conditional_spec.rb
480
- - spec/poolparty/poolparty/resources/cron_spec.rb
481
- - spec/poolparty/poolparty/resources/directory_spec.rb
482
- - spec/poolparty/poolparty/resources/exec_spec.rb
483
- - spec/poolparty/poolparty/resources/file_spec.rb
484
- - spec/poolparty/poolparty/resources/gem_spec.rb
485
- - spec/poolparty/poolparty/resources/host_spec.rb
486
- - spec/poolparty/poolparty/resources/package_spec.rb
487
- - spec/poolparty/poolparty/resources/remote_file_spec.rb
488
- - spec/poolparty/poolparty/resources/service_spec.rb
489
- - spec/poolparty/poolparty/resources/sshkey_spec.rb
490
- - spec/poolparty/poolparty/resources/symlink_spec.rb
491
- - spec/poolparty/poolparty/resources/user_spec.rb
492
- - spec/poolparty/poolparty/resources/variable_spec.rb
493
570
  - spec/poolparty/poolparty/script_spec.rb
571
+ - spec/poolparty/poolparty/service_spec.rb
572
+ - spec/poolparty/poolparty/template_spec.rb
573
+ - spec/poolparty/poolparty/test_plugins
494
574
  - spec/poolparty/poolparty/test_plugins/sshkey_test
495
575
  - spec/poolparty/poolparty/test_plugins/virtual_host_template.erb
496
576
  - spec/poolparty/poolparty/test_plugins/webserver.rb
577
+ - spec/poolparty/poolparty_base_class_spec.rb
497
578
  - spec/poolparty/poolparty_spec.rb
579
+ - spec/poolparty/provisioners
580
+ - spec/poolparty/provisioners/capistrano
498
581
  - spec/poolparty/provisioners/capistrano/capistrano_spec.rb
499
582
  - spec/poolparty/provisioners/provisioner_base_spec.rb
583
+ - spec/poolparty/resources
584
+ - spec/poolparty/resources/cron_spec.rb
585
+ - spec/poolparty/resources/directory_spec.rb
586
+ - spec/poolparty/resources/exec_spec.rb
587
+ - spec/poolparty/resources/file_spec.rb
588
+ - spec/poolparty/resources/gem_spec.rb
589
+ - spec/poolparty/resources/host_spec.rb
590
+ - spec/poolparty/resources/package_spec.rb
591
+ - spec/poolparty/resources/service_spec.rb
592
+ - spec/poolparty/resources/sshkey_spec.rb
593
+ - spec/poolparty/resources/symlink_spec.rb
594
+ - spec/poolparty/resources/user_spec.rb
595
+ - spec/poolparty/resources/variable_spec.rb
596
+ - spec/poolparty/schema_spec.rb
597
+ - spec/poolparty/services
598
+ - spec/poolparty/services/conditional_spec.rb
599
+ - spec/poolparty/spec
600
+ - spec/poolparty/spec/core
500
601
  - spec/poolparty/spec/core/string_spec.rb
501
602
  - spec/poolparty/spec_helper.rb
603
+ - spec/poolparty/test_spec_helper.rb
604
+ - test/poolparty
605
+ - test/poolparty/core
606
+ - test/poolparty/core/hash_test.rb
607
+ - test/test_generator_helper.rb
608
+ - test/test_helper.rb
609
+ - test/test_pool_spec_generator.rb
610
+ - test/test_poolparty.rb
502
611
  - tasks/cloud.rake
503
- - tasks/deployment.rake
504
612
  - tasks/development.rake
505
613
  - tasks/ec2.rake
506
614
  - tasks/environment.rake
507
615
  - tasks/instance.rake
616
+ - tasks/poolparty.rake
508
617
  - tasks/server.rake
509
618
  - tasks/spec.rake
510
- - tasks/website.rake
511
- - test/test_generator_helper.rb
512
- - test/test_helper.rb
513
- - test/test_pool_spec_generator.rb
514
- - test/test_poolparty.rb
515
- - website/index.html
516
- - website/index.txt
517
- - website/javascripts/rounded_corners_lite.inc.js
518
- - website/stylesheets/code.css
519
- - website/stylesheets/screen.css
520
- - website/template.html.erb
619
+ - script/destroy
620
+ - script/generate
621
+ - generators/poolspec
622
+ - generators/poolspec/poolspec_generator.rb
623
+ - generators/poolspec/templates
624
+ - generators/poolspec/templates/pool_spec_template.erb
625
+ - generators/poolspec/USAGE
626
+ - bin/cloud
627
+ - bin/cloud-bootstrap
628
+ - bin/cloud-configure
629
+ - bin/cloud-console
630
+ - bin/cloud-contract
631
+ - bin/cloud-expand
632
+ - bin/cloud-handle-load
633
+ - bin/cloud-list
634
+ - bin/cloud-osxcopy
635
+ - bin/cloud-provision
636
+ - bin/cloud-rsync
637
+ - bin/cloud-run
638
+ - bin/cloud-setup-dev
639
+ - bin/cloud-spec
640
+ - bin/cloud-ssh
641
+ - bin/cloud-start
642
+ - bin/cloud-stats
643
+ - bin/cloud-terminate
644
+ - bin/ec2-list-active
645
+ - bin/messenger-get-current-nodes
646
+ - bin/pool
647
+ - bin/pool-describe
648
+ - bin/pool-generate
649
+ - bin/pool-init
650
+ - bin/pool-list
651
+ - bin/pool-start
652
+ - bin/server-become-master
653
+ - bin/server-build-messenger
654
+ - bin/server-butterfly
655
+ - bin/server-clean-cert-for
656
+ - bin/server-cloud-elections
657
+ - bin/server-ensure-provisioning
658
+ - bin/server-fire-cmd
659
+ - bin/server-get-load
660
+ - bin/server-list-active
661
+ - bin/server-list-instances
662
+ - bin/server-manage-election
663
+ - bin/server-monitor.ru
664
+ - bin/server-provision
665
+ - bin/server-query-agent
666
+ - bin/server-rerun
667
+ - bin/server-send-command
668
+ - bin/server-show-stats
669
+ - bin/server-start-agent
670
+ - bin/server-start-client
671
+ - bin/server-start-master
672
+ - bin/server-start-node
673
+ - bin/server-stop-client
674
+ - bin/server-stop-master
675
+ - bin/server-stop-node
676
+ - bin/server-update-hosts
677
+ - bin/server-write-new-nodes
678
+ - vendor/gems
679
+ - vendor/gems/butterfly
680
+ - vendor/gems/butterfly/bin
681
+ - vendor/gems/butterfly/bin/flutter
682
+ - vendor/gems/butterfly/butterfly.gemspec
683
+ - vendor/gems/butterfly/examples
684
+ - vendor/gems/butterfly/examples/config.ru
685
+ - vendor/gems/butterfly/examples/my_app.rb
686
+ - vendor/gems/butterfly/History.txt
687
+ - vendor/gems/butterfly/lib
688
+ - vendor/gems/butterfly/lib/butterfly.rb
689
+ - vendor/gems/butterfly/lib/handler.rb
690
+ - vendor/gems/butterfly/lib/request.rb
691
+ - vendor/gems/butterfly/lib/response.rb
692
+ - vendor/gems/butterfly/PostInstall.txt
693
+ - vendor/gems/butterfly/Rakefile
694
+ - vendor/gems/butterfly/README.rdoc
695
+ - vendor/gems/butterfly/script
696
+ - vendor/gems/butterfly/script/console
697
+ - vendor/gems/butterfly/script/destroy
698
+ - vendor/gems/butterfly/script/generate
699
+ - vendor/gems/butterfly/test
700
+ - vendor/gems/butterfly/test/test_adapter_base.rb
701
+ - vendor/gems/butterfly/test/test_butterfly_request.rb
702
+ - vendor/gems/butterfly/test/test_butterfly_response.rb
703
+ - vendor/gems/butterfly/test/test_butterfly_server.rb
704
+ - vendor/gems/butterfly/test/test_default.rb
705
+ - vendor/gems/butterfly/test/test_helper.rb
706
+ - vendor/gems/butterfly/VERSION.yml
707
+ - vendor/gems/dslify
708
+ - vendor/gems/dslify/config
709
+ - vendor/gems/dslify/config/hoe.rb
710
+ - vendor/gems/dslify/config/requirements.rb
711
+ - vendor/gems/dslify/dslify.gemspec
712
+ - vendor/gems/dslify/History.txt
713
+ - vendor/gems/dslify/lib
714
+ - vendor/gems/dslify/lib/dslify
715
+ - vendor/gems/dslify/lib/dslify/dslify.rb
716
+ - vendor/gems/dslify/lib/dslify/version.rb
717
+ - vendor/gems/dslify/lib/dslify.rb
718
+ - vendor/gems/dslify/Manifest.txt
719
+ - vendor/gems/dslify/PostInstall.txt
720
+ - vendor/gems/dslify/Rakefile
721
+ - vendor/gems/dslify/README.txt
722
+ - vendor/gems/dslify/script
723
+ - vendor/gems/dslify/script/console
724
+ - vendor/gems/dslify/script/destroy
725
+ - vendor/gems/dslify/script/generate
726
+ - vendor/gems/dslify/script/txt2html
727
+ - vendor/gems/dslify/setup.rb
728
+ - vendor/gems/dslify/tasks
729
+ - vendor/gems/dslify/tasks/deployment.rake
730
+ - vendor/gems/dslify/tasks/environment.rake
731
+ - vendor/gems/dslify/tasks/website.rake
732
+ - vendor/gems/dslify/test
733
+ - vendor/gems/dslify/test/test_dslify.rb
734
+ - vendor/gems/dslify/website
735
+ - vendor/gems/dslify/website/index.html
736
+ - vendor/gems/dslify/website/index.txt
737
+ - vendor/gems/dslify/website/javascripts
738
+ - vendor/gems/dslify/website/javascripts/rounded_corners_lite.inc.js
739
+ - vendor/gems/dslify/website/stylesheets
740
+ - vendor/gems/dslify/website/stylesheets/screen.css
741
+ - vendor/gems/dslify/website/template.html.erb
742
+ - vendor/gems/parenting
743
+ - vendor/gems/parenting/History.txt
744
+ - vendor/gems/parenting/lib
745
+ - vendor/gems/parenting/lib/parenting
746
+ - vendor/gems/parenting/lib/parenting/base.rb
747
+ - vendor/gems/parenting/lib/parenting.rb
748
+ - vendor/gems/parenting/Manifest.txt
749
+ - vendor/gems/parenting/parenting.gemspec
750
+ - vendor/gems/parenting/PostInstall.txt
751
+ - vendor/gems/parenting/Rakefile
752
+ - vendor/gems/parenting/README.rdoc
753
+ - vendor/gems/parenting/script
754
+ - vendor/gems/parenting/script/console
755
+ - vendor/gems/parenting/script/destroy
756
+ - vendor/gems/parenting/script/generate
757
+ - vendor/gems/parenting/test
758
+ - vendor/gems/parenting/test/file_to_eval.rb
759
+ - vendor/gems/parenting/test/test_helper.rb
760
+ - vendor/gems/parenting/test/test_parenting.rb
761
+ - vendor/gems/suitcase
762
+ - vendor/gems/suitcase/lib
763
+ - vendor/gems/suitcase/lib/suitcase
764
+ - vendor/gems/suitcase/lib/suitcase/unzipper.rb
765
+ - vendor/gems/suitcase/lib/suitcase/zipper.rb
766
+ - vendor/gems/suitcase/lib/suitcase.rb
767
+ - vendor/gems/suitcase/LICENSE
768
+ - vendor/gems/suitcase/Rakefile
769
+ - vendor/gems/suitcase/README.rdoc
770
+ - vendor/gems/suitcase/suitcase.gemspec
771
+ - vendor/gems/suitcase/test
772
+ - vendor/gems/suitcase/test/suitcase_test.rb
773
+ - vendor/gems/suitcase/test/test_dir
774
+ - vendor/gems/suitcase/test/test_dir/box.rb
775
+ - vendor/gems/suitcase/test/test_dir/test.txt
776
+ - vendor/gems/suitcase/test/test_helper.rb
777
+ - vendor/gems/suitcase/VERSION.yml
521
778
  has_rdoc: true
522
- homepage: http://poolparty.rubyforge.org
523
- post_install_message: |-
524
- Get ready to jump in the pool, you just installed PoolParty! (Updated at 11:21 01/28/09)
525
-
526
- To get started, run the generator:
527
-
528
- pool spec <name>
529
-
530
- Please check out the documentation for any questions or check out the google groups at
531
- http://groups.google.com/group/poolpartyrb
532
-
533
- More tutorials can be found at
534
- http://poolpartyrb.com
535
-
536
- Don't forget to check out the plugin tutorial @ http://poolpartyrb.com to extend PoolParty for your needs!
537
-
538
- For more information, check http://PoolPartyrb.com or visit us on IRC at:
539
- irc.freenode.net
540
- #poolpartyrb
541
-
542
- *** Ari Lerner @ <arilerner@mac.com> ***
779
+ homepage: http://poolpartyrb.com
780
+ post_install_message:
543
781
  rdoc_options:
782
+ - --quiet
783
+ - --title
784
+ - PoolParty documentation
785
+ - --line-numbers
544
786
  - --main
545
- - README.txt
787
+ - README
788
+ - --inline-source
789
+ - --charset=UTF-8
546
790
  require_paths:
547
791
  - lib
548
792
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -559,7 +803,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
559
803
  version:
560
804
  requirements: []
561
805
 
562
- rubyforge_project: poolparty
806
+ rubyforge_project:
563
807
  rubygems_version: 1.2.0
564
808
  signing_key:
565
809
  specification_version: 2