boxcar 0.10005.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (453) hide show
  1. data/.gitignore +48 -0
  2. data/.gitsetup.yml +6 -0
  3. data/.yardopts +1 -0
  4. data/CHANGELOG.md +696 -0
  5. data/Gemfile +5 -0
  6. data/Gemfile.lock +40 -0
  7. data/LICENSE +21 -0
  8. data/README.md +91 -0
  9. data/Rakefile +18 -0
  10. data/VERSION +1 -0
  11. data/bin/_bump +126 -0
  12. data/bin/_jason +172 -0
  13. data/bin/_log4sh +3840 -0
  14. data/bin/_meat +172 -0
  15. data/bin/_prime +8 -0
  16. data/bin/_shflags +1012 -0
  17. data/bin/_shunit +1048 -0
  18. data/bin/_sub +37 -0
  19. data/bin/_treadstone +8 -0
  20. data/bin/_versions +174 -0
  21. data/bin/build +15 -0
  22. data/bin/bump +15 -0
  23. data/bin/edit +15 -0
  24. data/bin/publish +15 -0
  25. data/bin/stub +15 -0
  26. data/bin/vagrant +60 -0
  27. data/boxcar.gemspec +32 -0
  28. data/config/default.rb +30 -0
  29. data/contrib/README.md +12 -0
  30. data/contrib/emacs/vagrant.el +8 -0
  31. data/contrib/vim/vagrantfile.vim +9 -0
  32. data/keys/README.md +17 -0
  33. data/keys/vagrant +27 -0
  34. data/keys/vagrant.pub +1 -0
  35. data/lib/development.rb +25 -0
  36. data/lib/vagrant.rb +197 -0
  37. data/lib/vagrant/action.rb +63 -0
  38. data/lib/vagrant/action/box/destroy.rb +25 -0
  39. data/lib/vagrant/action/box/download.rb +84 -0
  40. data/lib/vagrant/action/box/package.rb +19 -0
  41. data/lib/vagrant/action/box/unpackage.rb +61 -0
  42. data/lib/vagrant/action/box/verify.rb +23 -0
  43. data/lib/vagrant/action/builder.rb +128 -0
  44. data/lib/vagrant/action/builtin.rb +171 -0
  45. data/lib/vagrant/action/env/set.rb +21 -0
  46. data/lib/vagrant/action/environment.rb +12 -0
  47. data/lib/vagrant/action/general/check_virtualbox.rb +28 -0
  48. data/lib/vagrant/action/general/package.rb +101 -0
  49. data/lib/vagrant/action/general/validate.rb +18 -0
  50. data/lib/vagrant/action/runner.rb +53 -0
  51. data/lib/vagrant/action/vm/boot.rb +53 -0
  52. data/lib/vagrant/action/vm/check_accessible.rb +23 -0
  53. data/lib/vagrant/action/vm/check_box.rb +33 -0
  54. data/lib/vagrant/action/vm/check_guest_additions.rb +38 -0
  55. data/lib/vagrant/action/vm/check_port_collisions.rb +89 -0
  56. data/lib/vagrant/action/vm/clean_machine_folder.rb +43 -0
  57. data/lib/vagrant/action/vm/clear_forwarded_ports.rb +18 -0
  58. data/lib/vagrant/action/vm/clear_network_interfaces.rb +31 -0
  59. data/lib/vagrant/action/vm/clear_shared_folders.rb +18 -0
  60. data/lib/vagrant/action/vm/customize.rb +36 -0
  61. data/lib/vagrant/action/vm/default_name.rb +22 -0
  62. data/lib/vagrant/action/vm/destroy.rb +19 -0
  63. data/lib/vagrant/action/vm/destroy_unused_network_interfaces.rb +20 -0
  64. data/lib/vagrant/action/vm/discard_state.rb +22 -0
  65. data/lib/vagrant/action/vm/export.rb +57 -0
  66. data/lib/vagrant/action/vm/forward_ports.rb +92 -0
  67. data/lib/vagrant/action/vm/halt.rb +32 -0
  68. data/lib/vagrant/action/vm/host_name.rb +21 -0
  69. data/lib/vagrant/action/vm/import.rb +48 -0
  70. data/lib/vagrant/action/vm/match_mac_address.rb +21 -0
  71. data/lib/vagrant/action/vm/network.rb +403 -0
  72. data/lib/vagrant/action/vm/nfs.rb +196 -0
  73. data/lib/vagrant/action/vm/package.rb +23 -0
  74. data/lib/vagrant/action/vm/package_vagrantfile.rb +36 -0
  75. data/lib/vagrant/action/vm/provision.rb +61 -0
  76. data/lib/vagrant/action/vm/provisioner_cleanup.rb +26 -0
  77. data/lib/vagrant/action/vm/prune_nfs_exports.rb +20 -0
  78. data/lib/vagrant/action/vm/resume.rb +20 -0
  79. data/lib/vagrant/action/vm/sane_defaults.rb +78 -0
  80. data/lib/vagrant/action/vm/setup_package_files.rb +54 -0
  81. data/lib/vagrant/action/vm/share_folders.rb +114 -0
  82. data/lib/vagrant/action/vm/suspend.rb +20 -0
  83. data/lib/vagrant/action/warden.rb +92 -0
  84. data/lib/vagrant/box.rb +44 -0
  85. data/lib/vagrant/box_collection.rb +58 -0
  86. data/lib/vagrant/cli.rb +76 -0
  87. data/lib/vagrant/command.rb +24 -0
  88. data/lib/vagrant/command/base.rb +167 -0
  89. data/lib/vagrant/command/box.rb +58 -0
  90. data/lib/vagrant/command/box_add.rb +37 -0
  91. data/lib/vagrant/command/box_list.rb +28 -0
  92. data/lib/vagrant/command/box_remove.rb +27 -0
  93. data/lib/vagrant/command/box_repackage.rb +27 -0
  94. data/lib/vagrant/command/destroy.rb +64 -0
  95. data/lib/vagrant/command/gem.rb +39 -0
  96. data/lib/vagrant/command/halt.rb +39 -0
  97. data/lib/vagrant/command/init.rb +40 -0
  98. data/lib/vagrant/command/package.rb +75 -0
  99. data/lib/vagrant/command/provision.rb +40 -0
  100. data/lib/vagrant/command/reload.rb +39 -0
  101. data/lib/vagrant/command/resume.rb +33 -0
  102. data/lib/vagrant/command/ssh.rb +90 -0
  103. data/lib/vagrant/command/ssh_config.rb +51 -0
  104. data/lib/vagrant/command/start_mixins.rb +26 -0
  105. data/lib/vagrant/command/status.rb +36 -0
  106. data/lib/vagrant/command/suspend.rb +33 -0
  107. data/lib/vagrant/command/up.rb +40 -0
  108. data/lib/vagrant/communication.rb +7 -0
  109. data/lib/vagrant/communication/base.rb +56 -0
  110. data/lib/vagrant/communication/ssh.rb +229 -0
  111. data/lib/vagrant/config.rb +49 -0
  112. data/lib/vagrant/config/base.rb +82 -0
  113. data/lib/vagrant/config/container.rb +37 -0
  114. data/lib/vagrant/config/error_recorder.rb +19 -0
  115. data/lib/vagrant/config/loader.rb +127 -0
  116. data/lib/vagrant/config/nfs.rb +8 -0
  117. data/lib/vagrant/config/package.rb +7 -0
  118. data/lib/vagrant/config/ssh.rb +27 -0
  119. data/lib/vagrant/config/top.rb +72 -0
  120. data/lib/vagrant/config/vagrant.rb +14 -0
  121. data/lib/vagrant/config/vm.rb +168 -0
  122. data/lib/vagrant/config/vm/provisioner.rb +52 -0
  123. data/lib/vagrant/config/vm/sub_vm.rb +17 -0
  124. data/lib/vagrant/data_store.rb +92 -0
  125. data/lib/vagrant/downloaders.rb +7 -0
  126. data/lib/vagrant/downloaders/base.rb +25 -0
  127. data/lib/vagrant/downloaders/file.rb +22 -0
  128. data/lib/vagrant/downloaders/http.rb +97 -0
  129. data/lib/vagrant/driver.rb +8 -0
  130. data/lib/vagrant/driver/virtualbox.rb +134 -0
  131. data/lib/vagrant/driver/virtualbox_4_0.rb +459 -0
  132. data/lib/vagrant/driver/virtualbox_4_1.rb +459 -0
  133. data/lib/vagrant/driver/virtualbox_4_2.rb +606 -0
  134. data/lib/vagrant/driver/virtualbox_base.rb +309 -0
  135. data/lib/vagrant/environment.rb +517 -0
  136. data/lib/vagrant/errors.rb +441 -0
  137. data/lib/vagrant/guest.rb +18 -0
  138. data/lib/vagrant/guest/arch.rb +56 -0
  139. data/lib/vagrant/guest/base.rb +99 -0
  140. data/lib/vagrant/guest/debian.rb +64 -0
  141. data/lib/vagrant/guest/fedora.rb +66 -0
  142. data/lib/vagrant/guest/freebsd.rb +86 -0
  143. data/lib/vagrant/guest/gentoo.rb +46 -0
  144. data/lib/vagrant/guest/linux.rb +118 -0
  145. data/lib/vagrant/guest/linux/config.rb +19 -0
  146. data/lib/vagrant/guest/linux/error.rb +9 -0
  147. data/lib/vagrant/guest/openbsd.rb +20 -0
  148. data/lib/vagrant/guest/redhat.rb +67 -0
  149. data/lib/vagrant/guest/solaris.rb +118 -0
  150. data/lib/vagrant/guest/suse.rb +9 -0
  151. data/lib/vagrant/guest/ubuntu.rb +23 -0
  152. data/lib/vagrant/hosts.rb +37 -0
  153. data/lib/vagrant/hosts/arch.rb +55 -0
  154. data/lib/vagrant/hosts/base.rb +66 -0
  155. data/lib/vagrant/hosts/bsd.rb +97 -0
  156. data/lib/vagrant/hosts/fedora.rb +47 -0
  157. data/lib/vagrant/hosts/freebsd.rb +41 -0
  158. data/lib/vagrant/hosts/gentoo.rb +20 -0
  159. data/lib/vagrant/hosts/linux.rb +94 -0
  160. data/lib/vagrant/hosts/opensuse.rb +30 -0
  161. data/lib/vagrant/hosts/windows.rb +16 -0
  162. data/lib/vagrant/plugin.rb +81 -0
  163. data/lib/vagrant/provisioners.rb +12 -0
  164. data/lib/vagrant/provisioners/base.rb +44 -0
  165. data/lib/vagrant/provisioners/chef.rb +168 -0
  166. data/lib/vagrant/provisioners/chef_client.rb +132 -0
  167. data/lib/vagrant/provisioners/chef_solo.rb +234 -0
  168. data/lib/vagrant/provisioners/puppet.rb +175 -0
  169. data/lib/vagrant/provisioners/puppet_server.rb +78 -0
  170. data/lib/vagrant/provisioners/shell.rb +96 -0
  171. data/lib/vagrant/registry.rb +52 -0
  172. data/lib/vagrant/ssh.rb +126 -0
  173. data/lib/vagrant/test_helpers.rb +154 -0
  174. data/lib/vagrant/ui.rb +168 -0
  175. data/lib/vagrant/util.rb +12 -0
  176. data/lib/vagrant/util/ansi_escape_code_remover.rb +34 -0
  177. data/lib/vagrant/util/busy.rb +59 -0
  178. data/lib/vagrant/util/counter.rb +24 -0
  179. data/lib/vagrant/util/file_checksum.rb +38 -0
  180. data/lib/vagrant/util/file_mode.rb +12 -0
  181. data/lib/vagrant/util/hash_with_indifferent_access.rb +63 -0
  182. data/lib/vagrant/util/is_port_open.rb +38 -0
  183. data/lib/vagrant/util/line_ending_helpers.rb +14 -0
  184. data/lib/vagrant/util/network_ip.rb +28 -0
  185. data/lib/vagrant/util/platform.rb +68 -0
  186. data/lib/vagrant/util/retryable.rb +25 -0
  187. data/lib/vagrant/util/safe_exec.rb +36 -0
  188. data/lib/vagrant/util/safe_puts.rb +31 -0
  189. data/lib/vagrant/util/stacked_proc_runner.rb +35 -0
  190. data/lib/vagrant/util/subprocess.rb +247 -0
  191. data/lib/vagrant/util/template_renderer.rb +83 -0
  192. data/lib/vagrant/version.rb +7 -0
  193. data/lib/vagrant/vm.rb +195 -0
  194. data/libexec/build +30 -0
  195. data/libexec/build-gem +30 -0
  196. data/libexec/bump +32 -0
  197. data/libexec/edit-gem +81 -0
  198. data/libexec/publish +58 -0
  199. data/libexec/publish-gem +58 -0
  200. data/libexec/stub-prepare +37 -0
  201. data/tasks/acceptance.rake +113 -0
  202. data/tasks/bundler.rake +3 -0
  203. data/tasks/test.rake +20 -0
  204. data/templates/commands/init/Vagrantfile.erb +99 -0
  205. data/templates/commands/ssh_config/config.erb +15 -0
  206. data/templates/config/validation_failed.erb +7 -0
  207. data/templates/guests/arch/network_dhcp.erb +7 -0
  208. data/templates/guests/arch/network_static.erb +7 -0
  209. data/templates/guests/debian/network_dhcp.erb +6 -0
  210. data/templates/guests/debian/network_static.erb +7 -0
  211. data/templates/guests/fedora/network_dhcp.erb +6 -0
  212. data/templates/guests/fedora/network_static.erb +13 -0
  213. data/templates/guests/freebsd/network_dhcp.erb +3 -0
  214. data/templates/guests/freebsd/network_static.erb +3 -0
  215. data/templates/guests/gentoo/network_dhcp.erb +4 -0
  216. data/templates/guests/gentoo/network_static.erb +4 -0
  217. data/templates/guests/redhat/network_dhcp.erb +6 -0
  218. data/templates/guests/redhat/network_static.erb +7 -0
  219. data/templates/locales/en.yml +747 -0
  220. data/templates/nfs/exports.erb +5 -0
  221. data/templates/nfs/exports_freebsd.erb +5 -0
  222. data/templates/nfs/exports_linux.erb +5 -0
  223. data/templates/package_Vagrantfile.erb +11 -0
  224. data/templates/provisioners/chef_client/client.erb +32 -0
  225. data/templates/provisioners/chef_solo/solo.erb +25 -0
  226. data/test/acceptance/base.rb +48 -0
  227. data/test/acceptance/box_test.rb +99 -0
  228. data/test/acceptance/destroy_test.rb +37 -0
  229. data/test/acceptance/halt_test.rb +72 -0
  230. data/test/acceptance/init_test.rb +33 -0
  231. data/test/acceptance/networking/host_only_test.rb +37 -0
  232. data/test/acceptance/networking/port_forward_test.rb +125 -0
  233. data/test/acceptance/package_test.rb +46 -0
  234. data/test/acceptance/provisioning/basic_test.rb +61 -0
  235. data/test/acceptance/provisioning/chef_solo_test.rb +37 -0
  236. data/test/acceptance/provisioning/shell_test.rb +53 -0
  237. data/test/acceptance/resume_test.rb +17 -0
  238. data/test/acceptance/shared_folders_test.rb +84 -0
  239. data/test/acceptance/skeletons/chef_solo_basic/README.md +3 -0
  240. data/test/acceptance/skeletons/chef_solo_basic/cookbooks/basic/recipes/default.rb +5 -0
  241. data/test/acceptance/skeletons/chef_solo_json/README.md +3 -0
  242. data/test/acceptance/skeletons/chef_solo_json/cookbooks/basic/recipes/default.rb +6 -0
  243. data/test/acceptance/skeletons/provisioner_multi/README.md +3 -0
  244. data/test/acceptance/skeletons/provisioner_multi/cookbooks/basic/recipes/default.rb +5 -0
  245. data/test/acceptance/ssh_test.rb +46 -0
  246. data/test/acceptance/support/config.rb +42 -0
  247. data/test/acceptance/support/isolated_environment.rb +117 -0
  248. data/test/acceptance/support/matchers/have_color.rb +9 -0
  249. data/test/acceptance/support/matchers/match_output.rb +14 -0
  250. data/test/acceptance/support/matchers/succeed.rb +14 -0
  251. data/test/acceptance/support/network_tests.rb +29 -0
  252. data/test/acceptance/support/output.rb +95 -0
  253. data/test/acceptance/support/shared/base_context.rb +72 -0
  254. data/test/acceptance/support/shared/command_examples.rb +33 -0
  255. data/test/acceptance/support/virtualbox.rb +36 -0
  256. data/test/acceptance/suspend_test.rb +56 -0
  257. data/test/acceptance/up_basic_test.rb +33 -0
  258. data/test/acceptance/up_with_box_url.rb +40 -0
  259. data/test/acceptance/vagrant_test.rb +47 -0
  260. data/test/acceptance/version_test.rb +15 -0
  261. data/test/buildbot/README.md +72 -0
  262. data/test/buildbot/buildbot_config/__init__.py +0 -0
  263. data/test/buildbot/buildbot_config/config/__init__.py +0 -0
  264. data/test/buildbot/buildbot_config/config/loader.py +24 -0
  265. data/test/buildbot/buildbot_config/config/master.py +24 -0
  266. data/test/buildbot/buildbot_config/config/slave.py +22 -0
  267. data/test/buildbot/buildbot_config/master/__init__.py +6 -0
  268. data/test/buildbot/buildbot_config/master/builders.py +78 -0
  269. data/test/buildbot/buildbot_config/master/buildsteps.py +100 -0
  270. data/test/buildbot/buildbot_config/master/change_sources.py +8 -0
  271. data/test/buildbot/buildbot_config/master/schedulers.py +32 -0
  272. data/test/buildbot/buildbot_config/master/slaves.py +60 -0
  273. data/test/buildbot/buildbot_config/master/status.py +52 -0
  274. data/test/buildbot/master/Makefile.sample +28 -0
  275. data/test/buildbot/master/buildbot.tac +36 -0
  276. data/test/buildbot/master/master.cfg +67 -0
  277. data/test/buildbot/master/public_html/bg_gradient.jpg +0 -0
  278. data/test/buildbot/master/public_html/default.css +545 -0
  279. data/test/buildbot/master/public_html/favicon.ico +0 -0
  280. data/test/buildbot/master/public_html/robots.txt +10 -0
  281. data/test/buildbot/master/public_html/static/css/bootstrap-1.4.0.min.css +356 -0
  282. data/test/buildbot/master/public_html/static/css/prettify.css +97 -0
  283. data/test/buildbot/master/public_html/static/css/syntax.css +60 -0
  284. data/test/buildbot/master/public_html/static/css/vagrant.base.css +205 -0
  285. data/test/buildbot/master/public_html/static/images/base_box_mac.jpg +0 -0
  286. data/test/buildbot/master/public_html/static/images/getting-started/success.jpg +0 -0
  287. data/test/buildbot/master/public_html/static/images/icons/error.png +0 -0
  288. data/test/buildbot/master/public_html/static/images/vagrant_chilling.png +0 -0
  289. data/test/buildbot/master/public_html/static/images/vagrant_holding.png +0 -0
  290. data/test/buildbot/master/public_html/static/images/vagrant_looking.png +0 -0
  291. data/test/buildbot/master/public_html/static/images/windows/alter_path.jpg +0 -0
  292. data/test/buildbot/master/public_html/static/images/windows/edit_path.jpg +0 -0
  293. data/test/buildbot/master/public_html/static/images/windows/environment_variables_button.jpg +0 -0
  294. data/test/buildbot/master/public_html/static/images/windows/port_and_ppk_path.jpg +0 -0
  295. data/test/buildbot/master/public_html/static/images/windows/ppk_selection.jpg +0 -0
  296. data/test/buildbot/master/public_html/static/images/windows/putty_first_screen.jpg +0 -0
  297. data/test/buildbot/master/public_html/static/images/windows/save_result.jpg +0 -0
  298. data/test/buildbot/master/public_html/static/images/windows/vbox_manage_default_location.jpg +0 -0
  299. data/test/buildbot/master/public_html/static/js/bootstrap-tabs.js +80 -0
  300. data/test/buildbot/master/public_html/static/js/jquery-1.7.min.js +4 -0
  301. data/test/buildbot/master/templates/authfail.html +9 -0
  302. data/test/buildbot/master/templates/build.html +205 -0
  303. data/test/buildbot/master/templates/builder.html +118 -0
  304. data/test/buildbot/master/templates/builders.html +33 -0
  305. data/test/buildbot/master/templates/buildslave.html +72 -0
  306. data/test/buildbot/master/templates/buildslaves.html +70 -0
  307. data/test/buildbot/master/templates/change.html +15 -0
  308. data/test/buildbot/master/templates/layouts/base.html +58 -0
  309. data/test/buildbot/master/templates/macros/box.html +37 -0
  310. data/test/buildbot/master/templates/macros/build_line.html +50 -0
  311. data/test/buildbot/master/templates/macros/change.html +81 -0
  312. data/test/buildbot/master/templates/macros/forms.html +300 -0
  313. data/test/buildbot/master/templates/root.html +42 -0
  314. data/test/buildbot/master/templates/waterfall.html +53 -0
  315. data/test/buildbot/requirements.txt +4 -0
  316. data/test/buildbot/scripts/deploy.sh +38 -0
  317. data/test/buildbot/scripts/setup.sh +107 -0
  318. data/test/buildbot/slave/buildbot.tac +43 -0
  319. data/test/buildbot/slave/info/admin +1 -0
  320. data/test/buildbot/slave/info/host +1 -0
  321. data/test/buildbot/tests/__init__.py +0 -0
  322. data/test/buildbot/tests/master/__init__.py +0 -0
  323. data/test/buildbot/tests/master/test_slaves.py +41 -0
  324. data/test/buildbot/vendor/choices-0.4.0.tar.gz +0 -0
  325. data/test/config/acceptance_boxes.yml +7 -0
  326. data/test/support/isolated_environment.rb +46 -0
  327. data/test/support/tempdir.rb +34 -0
  328. data/test/unit/base.rb +21 -0
  329. data/test/unit/support/isolated_environment.rb +47 -0
  330. data/test/unit/support/shared/base_context.rb +30 -0
  331. data/test/unit/vagrant/action/builder_test.rb +156 -0
  332. data/test/unit/vagrant/action/environment_test.rb +16 -0
  333. data/test/unit/vagrant/action/runner_test.rb +65 -0
  334. data/test/unit/vagrant/action/warden_test.rb +92 -0
  335. data/test/unit/vagrant/box_collection_test.rb +56 -0
  336. data/test/unit/vagrant/box_test.rb +34 -0
  337. data/test/unit/vagrant/command/base_test.rb +150 -0
  338. data/test/unit/vagrant/config/base_test.rb +48 -0
  339. data/test/unit/vagrant/config/loader_test.rb +79 -0
  340. data/test/unit/vagrant/config/ssh_test.rb +17 -0
  341. data/test/unit/vagrant/config/top_test.rb +69 -0
  342. data/test/unit/vagrant/config/vm_test.rb +71 -0
  343. data/test/unit/vagrant/config_test.rb +27 -0
  344. data/test/unit/vagrant/data_store_test.rb +79 -0
  345. data/test/unit/vagrant/downloaders/base_test.rb +18 -0
  346. data/test/unit/vagrant/downloaders/file_test.rb +75 -0
  347. data/test/unit/vagrant/downloaders/http_test.rb +19 -0
  348. data/test/unit/vagrant/environment_test.rb +212 -0
  349. data/test/unit/vagrant/hosts_test.rb +36 -0
  350. data/test/unit/vagrant/registry_test.rb +74 -0
  351. data/test/unit/vagrant/util/ansi_escape_code_remover_test.rb +16 -0
  352. data/test/unit/vagrant/util/file_checksum_test.rb +23 -0
  353. data/test/unit/vagrant/util/hash_with_indifferent_access_test.rb +38 -0
  354. data/test/unit/vagrant/util/is_port_open_test.rb +53 -0
  355. data/test/unit/vagrant/util/line_endings_helper_test.rb +16 -0
  356. data/test/unit/vagrant/util/network_ip_test.rb +17 -0
  357. data/test/unit/vagrant/util/retryable_test.rb +106 -0
  358. data/test/unit/vagrant_test.rb +27 -0
  359. data/test/unit_legacy/locales/en.yml +8 -0
  360. data/test/unit_legacy/test_helper.rb +32 -0
  361. data/test/unit_legacy/vagrant/action/box/destroy_test.rb +18 -0
  362. data/test/unit_legacy/vagrant/action/box/download_test.rb +125 -0
  363. data/test/unit_legacy/vagrant/action/box/package_test.rb +25 -0
  364. data/test/unit_legacy/vagrant/action/box/unpackage_test.rb +84 -0
  365. data/test/unit_legacy/vagrant/action/box/verify_test.rb +30 -0
  366. data/test/unit_legacy/vagrant/action/env/set_test.rb +24 -0
  367. data/test/unit_legacy/vagrant/action/general/package_test.rb +268 -0
  368. data/test/unit_legacy/vagrant/action/general/validate_test.rb +31 -0
  369. data/test/unit_legacy/vagrant/action/vm/boot_test.rb +66 -0
  370. data/test/unit_legacy/vagrant/action/vm/check_accessible_test.rb +61 -0
  371. data/test/unit_legacy/vagrant/action/vm/check_box_test.rb +61 -0
  372. data/test/unit_legacy/vagrant/action/vm/check_guest_additions_test.rb +9 -0
  373. data/test/unit_legacy/vagrant/action/vm/clean_machine_folder_test.rb +84 -0
  374. data/test/unit_legacy/vagrant/action/vm/clear_forwarded_ports_test.rb +52 -0
  375. data/test/unit_legacy/vagrant/action/vm/clear_nfs_exports_test.rb +22 -0
  376. data/test/unit_legacy/vagrant/action/vm/clear_shared_folders_test.rb +40 -0
  377. data/test/unit_legacy/vagrant/action/vm/customize_test.rb +37 -0
  378. data/test/unit_legacy/vagrant/action/vm/destroy_test.rb +25 -0
  379. data/test/unit_legacy/vagrant/action/vm/destroy_unused_network_interfaces_test.rb +49 -0
  380. data/test/unit_legacy/vagrant/action/vm/discard_state_test.rb +45 -0
  381. data/test/unit_legacy/vagrant/action/vm/export_test.rb +107 -0
  382. data/test/unit_legacy/vagrant/action/vm/forward_ports_helpers_test.rb +77 -0
  383. data/test/unit_legacy/vagrant/action/vm/forward_ports_test.rb +197 -0
  384. data/test/unit_legacy/vagrant/action/vm/halt_test.rb +79 -0
  385. data/test/unit_legacy/vagrant/action/vm/host_name_test.rb +36 -0
  386. data/test/unit_legacy/vagrant/action/vm/import_test.rb +66 -0
  387. data/test/unit_legacy/vagrant/action/vm/match_mac_address_test.rb +40 -0
  388. data/test/unit_legacy/vagrant/action/vm/modify_test.rb +38 -0
  389. data/test/unit_legacy/vagrant/action/vm/network_test.rb +286 -0
  390. data/test/unit_legacy/vagrant/action/vm/nfs_helpers_test.rb +26 -0
  391. data/test/unit_legacy/vagrant/action/vm/nfs_test.rb +260 -0
  392. data/test/unit_legacy/vagrant/action/vm/package_test.rb +25 -0
  393. data/test/unit_legacy/vagrant/action/vm/package_vagrantfile_test.rb +46 -0
  394. data/test/unit_legacy/vagrant/action/vm/provision_test.rb +65 -0
  395. data/test/unit_legacy/vagrant/action/vm/provisioner_cleanup_test.rb +56 -0
  396. data/test/unit_legacy/vagrant/action/vm/resume_test.rb +35 -0
  397. data/test/unit_legacy/vagrant/action/vm/share_folders_test.rb +144 -0
  398. data/test/unit_legacy/vagrant/action/vm/suspend_test.rb +35 -0
  399. data/test/unit_legacy/vagrant/action_test.rb +89 -0
  400. data/test/unit_legacy/vagrant/box_collection_test.rb +45 -0
  401. data/test/unit_legacy/vagrant/box_test.rb +74 -0
  402. data/test/unit_legacy/vagrant/cli_test.rb +35 -0
  403. data/test/unit_legacy/vagrant/command/base_test.rb +23 -0
  404. data/test/unit_legacy/vagrant/command/group_base_test.rb +15 -0
  405. data/test/unit_legacy/vagrant/command/helpers_test.rb +88 -0
  406. data/test/unit_legacy/vagrant/command/init_test.rb +10 -0
  407. data/test/unit_legacy/vagrant/command/package_test.rb +27 -0
  408. data/test/unit_legacy/vagrant/config/base_test.rb +52 -0
  409. data/test/unit_legacy/vagrant/config/error_recorder_test.rb +18 -0
  410. data/test/unit_legacy/vagrant/config/ssh_test.rb +12 -0
  411. data/test/unit_legacy/vagrant/config/vagrant_test.rb +35 -0
  412. data/test/unit_legacy/vagrant/config/vm/provisioner_test.rb +92 -0
  413. data/test/unit_legacy/vagrant/config/vm_test.rb +47 -0
  414. data/test/unit_legacy/vagrant/config_test.rb +148 -0
  415. data/test/unit_legacy/vagrant/downloaders/http_test.rb +93 -0
  416. data/test/unit_legacy/vagrant/environment_test.rb +539 -0
  417. data/test/unit_legacy/vagrant/errors_test.rb +42 -0
  418. data/test/unit_legacy/vagrant/hosts/base_test.rb +46 -0
  419. data/test/unit_legacy/vagrant/hosts/bsd_test.rb +53 -0
  420. data/test/unit_legacy/vagrant/hosts/linux_test.rb +54 -0
  421. data/test/unit_legacy/vagrant/plugin_test.rb +9 -0
  422. data/test/unit_legacy/vagrant/provisioners/base_test.rb +63 -0
  423. data/test/unit_legacy/vagrant/provisioners/chef_client_test.rb +190 -0
  424. data/test/unit_legacy/vagrant/provisioners/chef_solo_test.rb +115 -0
  425. data/test/unit_legacy/vagrant/provisioners/chef_test.rb +209 -0
  426. data/test/unit_legacy/vagrant/provisioners/puppet_server_test.rb +68 -0
  427. data/test/unit_legacy/vagrant/provisioners/puppet_test.rb +182 -0
  428. data/test/unit_legacy/vagrant/provisioners/shell_test.rb +79 -0
  429. data/test/unit_legacy/vagrant/ssh/session_test.rb +40 -0
  430. data/test/unit_legacy/vagrant/ssh_test.rb +304 -0
  431. data/test/unit_legacy/vagrant/systems/base_test.rb +18 -0
  432. data/test/unit_legacy/vagrant/systems/linux_test.rb +104 -0
  433. data/test/unit_legacy/vagrant/util/busy_test.rb +106 -0
  434. data/test/unit_legacy/vagrant/util/counter_test.rb +29 -0
  435. data/test/unit_legacy/vagrant/util/platform_test.rb +18 -0
  436. data/test/unit_legacy/vagrant/util/stacked_proc_runner_test.rb +43 -0
  437. data/test/unit_legacy/vagrant/util/template_renderer_test.rb +145 -0
  438. data/test/unit_legacy/vagrant/vm_test.rb +300 -0
  439. data/vagrant.gemspec +39 -0
  440. data/vendor/cache/contest-0.1.3.gem +0 -0
  441. data/vendor/cache/diff-lcs-1.1.3.gem +0 -0
  442. data/vendor/cache/erubis-2.7.0.gem +0 -0
  443. data/vendor/cache/i18n-0.6.1.gem +0 -0
  444. data/vendor/cache/json-1.5.4.gem +0 -0
  445. data/vendor/cache/log4r-1.1.10.gem +0 -0
  446. data/vendor/cache/metaclass-0.0.1.gem +0 -0
  447. data/vendor/cache/minitest-2.5.1.gem +0 -0
  448. data/vendor/cache/mocha-0.13.1.gem +0 -0
  449. data/vendor/cache/rake-10.0.2.gem +0 -0
  450. data/vendor/cache/rspec-core-2.8.0.gem +0 -0
  451. data/vendor/cache/rspec-expectations-2.8.0.gem +0 -0
  452. data/vendor/cache/rspec-mocks-2.8.0.gem +0 -0
  453. metadata +676 -0
@@ -0,0 +1,48 @@
1
+ # OS-specific
2
+ .DS_Store
3
+
4
+ # Vagrant stuff
5
+ acceptance_config.yml
6
+ boxes/*
7
+ test/buildbot/config.cfg
8
+ test/buildbot/env
9
+ test/buildbot/master/http.log
10
+ test/buildbot/master/master.cfg.sample
11
+ test/buildbot/master/twistd.log
12
+ test/buildbot/master/twistd.pid
13
+ test/buildbot/master/state.sqlite
14
+ test/buildbot/master/osx-*/
15
+ test/buildbot/master/linux-*/
16
+ test/buildbot/master/win-*/
17
+ test/buildbot/slave/twistd.hostname
18
+ test/buildbot/slave/twistd.log
19
+ test/buildbot/slave/twistd.pid
20
+ test/buildbot/slave/osx-*/
21
+ test/buildbot/slave/linux-*/
22
+ test/buildbot/slave/win-*/
23
+ Vagrantfile
24
+ .vagrant
25
+
26
+ # Bundler/Rubygems
27
+ .bundle
28
+ pkg/*
29
+ tags
30
+ test/tmp/
31
+ /vendor/bundle/
32
+ /*.gem
33
+
34
+ # Documentation
35
+ _site/*
36
+ .yardoc/
37
+ doc/
38
+
39
+ # Python
40
+ *.pyc
41
+
42
+ # Rubinius
43
+ *.rbc
44
+
45
+ # IDE junk
46
+ .idea/*
47
+ *.iml
48
+ *.orig
@@ -0,0 +1,6 @@
1
+ ---
2
+ remotes:
3
+ vendor: https://github.com/mitchellh/vagrant
4
+ primary: git@github.com:destructuring/badonkadonk
5
+ secondary: git@destructuring.org:destructuring/boxcar
6
+ rb: https://github.com/destructuring/rb-helper
@@ -0,0 +1 @@
1
+ -m markdown
@@ -0,0 +1,696 @@
1
+ ## 1.0.5 (September 18, 2012)
2
+
3
+ - Work around a critical bug in VirtualBox 4.2.0 on Windows that
4
+ causes Vagrant to not work. [GH-1130]
5
+ - Plugin loading works better on Windows by using the proper
6
+ file path separator.
7
+ - NFS works on Fedora 16+. [GH-1140]
8
+ - NFS works with newer versions of Arch hosts that use systemd. [GH-1142]
9
+
10
+ ## 1.0.4 (September 13, 2012)
11
+
12
+ - VirtualBox 4.2 driver. [GH-1120]
13
+ - Correct `ssh-config` help to use `--host`, not `-h`.
14
+ - Use "127.0.0.1" instead of "localhost" for port checking to fix problem
15
+ where "localhost" is not properly setup. [GH-1057]
16
+ - Disable read timeout on Net::HTTP to avoid `rbuf_fill` error. [GH-1072]
17
+ - Retry SSH on `EHOSTUNREACH` errors.
18
+ - Add missing translation for "saving" state. [GH-1110]
19
+
20
+ ## 1.0.3 (May 1, 2012)
21
+
22
+ - Don't enable NAT DNS proxy on machines where resolv.conf already points
23
+ to localhost. This allows Vagrant to work once again with Ubuntu
24
+ 12.04. [GH-909]
25
+
26
+ ## 1.0.2 (March 25, 2012)
27
+
28
+ - Provisioners will still mount folders and such if `--no-provision` is
29
+ used, so that `vagrant provision` works. [GH-803]
30
+ - Nicer error message if an unsupported SSH key type is used. [GH-805]
31
+ - Gentoo guests can now have their host names changed. [GH-796]
32
+ - Relative paths can be used for the `config.ssh.private_key_path`
33
+ setting. [GH-808]
34
+ - `vagrant ssh` now works on Solaris, where `IdentitiesOnly` was not
35
+ an available option. [GH-820]
36
+ - Output works properly in the face of broken pipes. [GH-819]
37
+ - Enable Host IO Cache on the SATA controller by default.
38
+ - Chef-solo provisioner now supports encrypted data bags. [GH-816]
39
+ - Enable the NAT DNS proxy by default, allowing your DNS to continue
40
+ working when you switch networks. [GH-834]
41
+ - Checking for port forwarding collisions also checks for other applications
42
+ that are potentially listening on that port as well. [GH-821]
43
+ - Multiple VM names can be specified for the various commands now. For
44
+ example: `vagrant up web db service`. [GH-795]
45
+ - More robust error handling if a VM fails to boot. The error message
46
+ is much clearer now. [GH-825]
47
+
48
+ ## 1.0.1 (March 11, 2012)
49
+
50
+ - Installers are now bundled with Ruby 1.9.3p125. Previously they were
51
+ bundled with 1.9.3p0. This actually fixes some IO issues with Windows.
52
+ - Windows installer now outputs a `vagrant` binary that will work in msys
53
+ or Cygwin environments.
54
+ - Fix crashing issue which manifested itself in multi-VM environments.
55
+ - Add missing `rubygems` require in `environment.rb` to avoid
56
+ possible load errors. [GH-781]
57
+ - `vagrant destroy` shows a nice error when called without a
58
+ TTY (and hence can't confirm). [GH-779]
59
+ - Fix an issue with the `:vagrantfile_name` option to `Vagrant::Environment`
60
+ not working properly. [GH-778]
61
+ - `VAGRANT_CWD` environmental variable can be used to set the CWD to
62
+ something other than the current directory.
63
+ - Downloading boxes from servers that don't send a content-length
64
+ now works properly. [GH-788]
65
+ - The `:facter` option now works for puppet server. [GH-790]
66
+ - The `--no-provision` and `--provision-with` flags are available to
67
+ `vagrant reload` now.
68
+ - `:openbsd` guest which supports only halting at the moment. [GH-773]
69
+ - `ssh-config -h` now shows help, instead of assuming a host is being
70
+ specified. For host, you can still use `--host`. [GH-793]
71
+
72
+ ## 1.0.0 (March 6, 2012)
73
+
74
+ - `vagrant gem` should now be used to install Vagrant plugins that are
75
+ gems. This installs the gems to a private gem folder that Vagrant adds
76
+ to its own load path. This isolates Vagrant-related gems from system
77
+ gems.
78
+ - Plugin loading no longer happens right when Vagrant is loaded, but when
79
+ a Vagrant environment is loaded. I don't anticipate this causing any
80
+ problems but it is a backwards incompatible change should a plugin
81
+ depend on this (but I don't see any reason why they would).
82
+ - `vagrant destroy` now asks for confirmation by default. This can be
83
+ overridden with the `--force` flag. [GH-699]
84
+ - Fix issue with Puppet config inheritance. [GH-722]
85
+ - Fix issue where starting a VM on some systems was incorrectly treated
86
+ as failing. [GH-720]
87
+ - It is now an error to specify the packaging `output` as a directory. [GH-730]
88
+ - Unix-style line endings are used properly for guest OS. [GH-727]
89
+ - Retry certain VirtualBox operations, since they intermittently fail.
90
+ [GH-726]
91
+ - Fix issue where Vagrant would sometimes "lose" a VM if an exception
92
+ occurred. [GH-725]
93
+ - `vagrant destroy` destroys virtual machines in reverse order. [GH-739]
94
+ - Add an `fsid` option to Linux NFS exports. [GH-736]
95
+ - Fix edge case where an exception could be raised in networking code. [GH-742]
96
+ - Add missing translation for the "guru meditation" state. [GH-745]
97
+ - Check that VirtualBox exists before certain commands. [GH-746]
98
+ - NIC type can be defined for host-only network adapters. [GH-750]
99
+ - Fix issue where re-running chef-client would sometimes cause
100
+ problems due to file permissions. [GH-748]
101
+ - FreeBSD guests can now have their hostnames changed. [GH-757]
102
+ - FreeBSD guests now support host only networking and bridged networking. [GH-762]
103
+ - `VM#run_action` is now public so plugin-devs can hook into it.
104
+ - Fix crashing bug when attempting to run commands on the "primary"
105
+ VM in a multi-VM environment. [GH-761]
106
+ - With puppet you can now specify `:facter` as a dictionary of facts to
107
+ override what is generated by Puppet. [GH-753]
108
+ - Automatically convert all arguments to `customize` to strings.
109
+ - openSUSE host system. [GH-766]
110
+ - Fix subprocess IO deadlock which would occur on Windows. [GH-765]
111
+ - Fedora 16 guest support. [GH-772]
112
+
113
+ ## 0.9.7 (February 9, 2012)
114
+
115
+ - Fix regression where all subprocess IO simply didn't work with
116
+ Windows. [GH-721]
117
+
118
+ ## 0.9.6 (February 7, 2012)
119
+
120
+ - Fix strange issue with inconsistent childprocess reads on JRuby. [GH-711]
121
+ - `vagrant ssh` does a direct `exec()` syscall now instead of going through
122
+ the shell. This makes it so things like shell expansion oddities no longer
123
+ cause problems. [GH-715]
124
+ - Fix crashing case if there are no ports to forward.
125
+ - Fix issue surrounding improper configuration of host only networks on
126
+ RedHat guests. [GH-719]
127
+ - NFS should work properly on Gentoo. [GH-706]
128
+
129
+ ## 0.9.5 (February 5, 2012)
130
+
131
+ - Fix crashing case when all network options are `:auto_config false`.
132
+ [GH-689]
133
+ - Type of network adapter can be specified with `:nic_type`. [GH-690]
134
+ - The NFS version can be specified with the `:nfs_version` option
135
+ on shared folders. [GH-557]
136
+ - Greatly improved FreeBSD guest and host support. [GH-695]
137
+ - Fix instability with RedHat guests and host only and bridged networks.
138
+ [GH-698]
139
+ - When using bridged networking, only list the network interfaces
140
+ that are up as choices. [GH-701]
141
+ - More intelligent handling of the `certname` option for puppet
142
+ server. [GH-702]
143
+ - You may now explicitly set the network to bridge to in the Vagrantfile
144
+ using the `:bridge` parameter. [GH-655]
145
+
146
+ ## 0.9.4 (January 28, 2012)
147
+
148
+ - Important internal changes to middlewares that make plugin developer's
149
+ lives much easier. [GH-684]
150
+ - Match VM names that have parens, brackets, etc.
151
+ - Detect when the VirtualBox kernel module is not loaded and error. [GH-677]
152
+ - Set `:auto_config` to false on any networking option to not automatically
153
+ configure it on the guest. [GH-663]
154
+ - NFS shared folder guest paths can now contain shell expansion characters
155
+ such as `~`.
156
+ - NFS shared folders with a `:create` flag will have their host folders
157
+ properly created if they don't exist. [GH-667]
158
+ - Fix the precedence for Arch, Ubuntu, and FreeBSD host classes so
159
+ they are properly detected. [GH-683]
160
+ - Fix issue where VM import sometimes made strange VirtualBox folder
161
+ layouts. [GH-669]
162
+ - Call proper `id` command on Solaris. [GH-679]
163
+ - More accurate VBoxManage error detection.
164
+ - Shared folders can now be marked as transient using the `:transient`
165
+ flag. [GH-688]
166
+
167
+ ## 0.9.3 (January 24, 2012)
168
+
169
+ - Proper error handling for not enough arguments to `box` commands.
170
+ - Fix issue causing crashes with bridged networking. [GH-673]
171
+ - Ignore host only network interfaces that are "down." [GH-675]
172
+ - Use "printf" instead of "echo" to determine shell expanded files paths
173
+ which is more generally POSIX compliant. [GH-676]
174
+
175
+ ## 0.9.2 (January 20, 2012)
176
+
177
+ - Support shell expansions in shared folder guest paths again. [GH-656]
178
+ - Fix issue where Chef solo always expected the host to have a
179
+ "cookbooks" folder in their directory. [GH-638]
180
+ - Fix `forward_agent` not working when outside of blocks. [GH-651]
181
+ - Fix issue causing custom guest implementations to not load properly.
182
+ - Filter clear screen character out of output on SSH.
183
+ - Log output now goes on `stderr`, since it is utility information.
184
+ - Get rid of case where a `NoMethodError` could be raised while
185
+ determining VirtualBox version. [GH-658]
186
+ - Debian/Ubuntu uses `ifdown` again, instead of `ifconfig xxx down`, since
187
+ the behavior seems different/wrong.
188
+ - Give a nice error if `:vagrant` is used as a JSON key, since Vagrant
189
+ uses this. [GH-661]
190
+ - If there is only one bridgable interface, use that without asking
191
+ the user. [GH-655]
192
+ - The shell will have color output if ANSICON is installed on Windows. [GH-666]
193
+
194
+ ## 0.9.1 (January 18, 2012)
195
+
196
+ - Use `ifconfig device down` instead of `ifdown`. [GH-649]
197
+ - Clearer invalid log level error. [GH-645]
198
+ - Fix exception raised with NFS `recover` method.
199
+ - Fix `ui` `NoMethodError` exception in puppet server.
200
+ - Fix `vagrant box help` on Ruby 1.8.7. [GH-647]
201
+
202
+ ## 0.9.0 (January 17, 2012)
203
+
204
+ - VirtualBox 4.0 support backported in addition to supporting VirtualBox 4.1.
205
+ - `config.vm.network` syntax changed so that the first argument is now the type
206
+ of argument. Previously where you had `config.vm.network "33.33.33.10"` you
207
+ should now put `config.vm.network :hostonly, "33.33.33.10"`. This is in order
208
+ to support bridged networking, as well.
209
+ - `config.vm.forward_port` no longer requires a name parameter.
210
+ - Bridged networking. `config.vm.network` with `:bridged` as the option will
211
+ setup a bridged network.
212
+ - Host only networks can be configured with DHCP now. Specify `:dhcp` as
213
+ the IP and it will be done.
214
+ - `config.vm.customize` now takes a command to send to `VBoxManage`, so any
215
+ arbitrary command can be sent. The older style of passing a block no longer
216
+ works and Vagrant will give a proper error message if it notices this old-style
217
+ being used.
218
+ - `config.ssh.forwarded_port_key` is gone. Vagrant no longer cares about
219
+ forwarded port names for any reason. Please use `config.ssh.guest_port`
220
+ (more below).
221
+ - `config.ssh.forwarded_port_destination` has been replaced by
222
+ `config.ssh.guest_port` which more accurately reflects what it is
223
+ used for. Vagrant will automatically scan forwarded ports that match the
224
+ guest port to find the SSH port.
225
+ - Logging. The entire Vagrant source has had logging sprinkled throughout
226
+ to make debugging issues easier. To enable logging, set the VAGRANT_LOG
227
+ environmental variable to the log level you wish to see. By default,
228
+ logging is silent.
229
+ - `system` renamed to `guest` throughout the source. Any `config.vm.system`
230
+ configurations must be changed to `config.vm.guest`
231
+ - Puppet provisioner no longer defaults manifest to "box.pp." Instead, it
232
+ is now "default.pp"
233
+ - All Vagrant commands that take a VM name in a Multi-VM environment
234
+ can now be given a regular expression. If the name starts and ends with a "/"
235
+ then it is assumed to be a regular expression. [GH-573]
236
+ - Added a "--plain" flag to `vagrant ssh` which will cause Vagrant to not
237
+ perform any authentication. It will simply `ssh` into the proper IP and
238
+ port of the virtual machine.
239
+ - If a shared folder now has a `:create` flag set to `true`, the path on the
240
+ host will be created if it doesn't exist.
241
+ - Added `--force` flag to `box add`, which will overwite any existing boxes
242
+ if they exist. [GH-631]
243
+ - Added `--provision-with` to `up` which configures what provisioners run,
244
+ by shortcut. [GH-367]
245
+ - Arbitrary mount options can be passed with `:extra` to any shared
246
+ folders. [GH-551]
247
+ - Options passed after a `--` to `vagrant ssh` are now passed directly to
248
+ `ssh`. [GH-554]
249
+ - Ubuntu guests will now emit a `vagrant-mounted` upstart event after shared
250
+ folders are mounted.
251
+ - `attempts` is a new option on chef client and chef solo provisioners. This
252
+ will run the provisioner multiple times until erroring about failing
253
+ convergence. [GH-282]
254
+ - Removed Thor as a dependency for the command line interfaces. This resulted
255
+ in general speed increases across all command line commands.
256
+ - Linux uses `shutdown -h` instead of `halt` to hopefully more consistently
257
+ power off the system. [GH-575]
258
+ - Tweaks to SSH to hopefully be more reliable in coming up.
259
+ - Helpful error message when SCP is unavailable in the guest. [GH-568]
260
+ - Error message for improperly packaged box files. [GH-198]
261
+ - Copy insecure private key to user-owned directory so even
262
+ `sudo` installed Vagrant installations work. [GH-580]
263
+ - Provisioner stdout/stderr is now color coded based on stdout/stderr.
264
+ stdout is green, stderr is red. [GH-595]
265
+ - Chef solo now prompts users to run a `reload` if shared folders
266
+ are not found on the VM. [GH-253]
267
+ - "--no-provision" once again works for certain commands. [GH-591]
268
+ - Resuming a VM from a saved state will show an error message if there
269
+ would be port collisions. [GH-602]
270
+ - `vagrant ssh -c` will now exit with the same exit code as the command
271
+ run. [GH-598]
272
+ - `vagrant ssh -c` will now send stderr to stderr and stdout to stdout
273
+ on the host machine, instead of all output to stdout.
274
+ - `vagrant box add` path now accepts unexpanded shell paths such as
275
+ `~/foo` and will properly expand them. [GH-633]
276
+ - Vagrant can now be interrupted during the "importing" step.
277
+ - NFS exports will no longer be cleared when an expected error occurs. [GH-577]
278
+
279
+ ## 0.8.10 (December 10, 2011)
280
+
281
+ - Revert the SSH tweaks made in 0.8.8. It affected stability
282
+
283
+ ## 0.8.8 (December 1, 2011)
284
+
285
+ - Mount shared folders shortest to longest to avoid mounting
286
+ subfolders first. [GH-525]
287
+ - Support for basic HTTP auth in the URL for boxes.
288
+ - Solaris support for host only networks. [GH-533]
289
+ - `vagrant init` respects `Vagrant::Environment` cwd. [GH-528]
290
+ - `vagrant` commands will not output color when stdout is
291
+ not a TTY.
292
+ - Fix issue where `box_url` set with multiple VMs could cause issues. [GH-564]
293
+ - Chef provisioners no longer depend on a "v-root" share being
294
+ available. [GH-556]
295
+ - NFS should work for FreeBSD hosts now. [GH-510]
296
+ - SSH executed methods respect `config.ssh.max_tries`. [GH-508]
297
+ - `vagrant box add` now respects the "no_proxy" environmental variable.
298
+ [GH-502]
299
+ - Tweaks that should make "Waiting for VM to boot" slightly more
300
+ reliable.
301
+ - Add comments to Vagrantfile to make it detected as Ruby file for
302
+ `vi` and `emacs`. [GH-515]
303
+ - More correct guest addition version checking. [GH-514]
304
+ - Chef solo support on Windows is improved. [GH-542]
305
+ - Put encrypted data bag secret into `/tmp` by default so that
306
+ permissions are almost certainly guaranteed. [GH-512]
307
+
308
+ ## 0.8.7 (September 13, 2011)
309
+
310
+ - Fix regression with remote paths from chef-solo. [GH-431]
311
+ - Fix issue where Vagrant crashes if `.vagrant` file becomes invalid. [GH-496]
312
+ - Issue a warning instead of an error for attempting to forward a port
313
+ <= 1024. [GH-487]
314
+
315
+ ## 0.8.6 (August 28, 2011)
316
+
317
+ - Fix issue with download progress not properly clearing the line. [GH-476]
318
+ - NFS should work properly on Fedora. [GH-450]
319
+ - Arguments can be specified to the `shell` provisioner via the `args` option. [GH-475]
320
+ - Vagrant behaves much better when there are "inaccessible" VMs. [GH-453]
321
+
322
+ ## 0.8.5 (August 15, 2011)
323
+
324
+ Note: 0.8.3 and 0.8.4 was yanked due to RubyGems encoding issue.
325
+
326
+ - Fix SSH `exec!` to inherit proper `$PATH`. [GH-426]
327
+ - Chef client now accepts an empty (`nil`) run list again. [GH-429]
328
+ - Fix incorrect error message when running `provision` on halted VM. [GH-447]
329
+ - Checking guest addition versions now ignores OSE. [GH-438]
330
+ - Chef solo from a remote URL fixed. [GH-431]
331
+ - Arch linux support: host only networks and changing the host name. [GH-439] [GH-448]
332
+ - Chef solo `roles_path` and `data_bags_path` can only be be single paths. [GH-446]
333
+ - Fix `virtualbox_not_detected` error message to require 4.1.x. [GH-458]
334
+ - Add shortname (`hostname -s`) for hostname setting on RHEL systems. [GH-456]
335
+ - `vagrant ssh -c` output no longer has a prefix and respects newlines
336
+ from the output. [GH-462]
337
+
338
+ ## 0.8.2 (July 22, 2011)
339
+
340
+ - Fix issue with SSH disconnects not reconnecting.
341
+ - Fix chef solo simply not working with roles/data bags. [GH-425]
342
+ - Multiple chef solo provisioners now work together.
343
+ - Update Puppet provisioner so no deprecation warning is shown. [GH-421]
344
+ - Removed error on "provisioner=" in config, as this has not existed
345
+ for some time now.
346
+ - Add better validation for networking.
347
+
348
+ ## 0.8.1 (July 20, 2011)
349
+
350
+ - Repush of 0.8.0 to fix a Ruby 1.9.2 RubyGems issue.
351
+
352
+ ## 0.8.0 (July 20, 2011)
353
+
354
+ - VirtualBox 4.1 support _only_. Previous versions of VirtualBox
355
+ are supported by earlier versions of Vagrant.
356
+ - Performance optimizations in `virtualbox` gem. Huge speed gains.
357
+ - `:chef_server` provisioner is now `:chef_client`. [GH-359]
358
+ - SSH connection is now cached after first access internally,
359
+ speeding up `vagrant up`, `reload`, etc. quite a bit.
360
+ - Actions which modify the VM now occur much more quickly,
361
+ greatly speeding up `vagrant up`, `reload`, etc.
362
+ - SUSE host only networking support. [GH-369]
363
+ - Show nice error message for invalid HTTP responses for HTTP
364
+ downloader. [GH-403]
365
+ - New `:inline` option for shell provisioner to provide inline
366
+ scripts as a string. [GH-395]
367
+ - Host only network now properly works on multiple adapters. [GH-365]
368
+ - Can now specify owner/group for regular shared folders. [GH-350]
369
+ - `ssh_config` host name will use VM name if given. [GH-332]
370
+ - `ssh` `-e` flag changed to `-c` to align with `ssh` standard
371
+ behavior. [GH-323]
372
+ - Forward agent and forward X11 settings properly appear in
373
+ `ssh_config` output. [GH-105]
374
+ - Chef JSON can now be set with `chef.json =` instead of the old
375
+ `merge` technique. [GH-314]
376
+ - Provisioner configuration is no longer cleared when the box
377
+ needs to be downloaded during an `up`. [GH-308]
378
+ - Multiple Chef provisioners no longer overwrite cookbook folders. [GH-407]
379
+ - `package` won't delete previously existing file. [GH-408]
380
+ - Vagrantfile can be lowercase now. [GH-399]
381
+ - Only one copy of Vagrant may be running at any given time. [GH-364]
382
+ - Default home directory for Vagrant moved to `~/.vagrant.d` [GH-333]
383
+ - Specify a `forwarded_port_destination` for SSH configuration and
384
+ SSH port searching will fall back to that if it can't find any
385
+ other port. [GH-375]
386
+
387
+ ## 0.7.8 (July 19, 2011)
388
+
389
+ - Make sure VirtualBox version check verifies that it is 4.0.x.
390
+
391
+ ## 0.7.7 (July 12, 2011)
392
+
393
+ - Fix crashing bug with Psych and Ruby 1.9.2. [GH-411]
394
+
395
+ ## 0.7.6 (July 2, 2011)
396
+
397
+ - Run Chef commands in a single command. [GH-390]
398
+ - Add `nfs` option for Chef to mount Chef folders via NFS. [GH-378]
399
+ - Add translation for `aborted` state in VM. [GH-371]
400
+ - Use full paths with the Chef provisioner so that restart cookbook will
401
+ work. [GH-374]
402
+ - Add "--no-color" as an argument and no colorized output will be used. [GH-379]
403
+ - Added DEVICE option to the RedHat host only networking entry, which allows
404
+ host only networking to work even if the VM has multiple NICs. [GH-382]
405
+ - Touch the network configuration file for RedHat so that the `sed` works
406
+ with host only networking. [GH-381]
407
+ - Load prerelease versions of plugins if available.
408
+ - Do not load a plugin if it depends on an invalid version of Vagrant.
409
+ - Encrypted data bag support in Chef server provisioner. [GH-398]
410
+ - Use the `-H` flag to set the proper home directory for `sudo`. [GH-370]
411
+
412
+ ## 0.7.5 (May 16, 2011)
413
+
414
+ - `config.ssh.port` can be specified and takes highest precedence if specified.
415
+ Otherwise, Vagrant will still attempt to auto-detect the port. [GH-363]
416
+ - Get rid of RubyGems deprecations introduced with RubyGems 1.8.x
417
+ - Search in pre-release gems for plugins as well as release gems.
418
+ - Support for Chef-solo `data_bags_path` [GH-362]
419
+ - Can specify path to Chef binary using `binary_path` [GH-342]
420
+ - Can specify additional environment data for Chef using `binary_env` [GH-342]
421
+
422
+ ## 0.7.4 (May 12, 2011)
423
+
424
+ - Chef environments support (for Chef 0.10) [GH-358]
425
+ - Suppress the "added to known hosts" message for SSH [GH-354]
426
+ - Ruby 1.8.6 support [GH-352]
427
+ - Chef proxy settings now work for chef server [GH-335]
428
+
429
+ ## 0.7.3 (April 19, 2011)
430
+
431
+ - Retry all SSH on Net::SSH::Disconnect in case SSH is just restarting. [GH-313]
432
+ - Add NFS shared folder support for Arch linux. [GH-346]
433
+ - Fix issue with unknown terminal type output for sudo commands.
434
+ - Forwarded port protocol can now be set as UDP. [GH-311]
435
+ - Chef server file cache path and file backup path can be configured. [GH-310]
436
+ - Setting hostname should work on Debian now. [GH-307]
437
+
438
+ ## 0.7.2 (February 8, 2011)
439
+
440
+ - Update JSON dependency to 1.5.1, which works with Ruby 1.9 on
441
+ Windows.
442
+ - Fix sudo issues on sudo < 1.7.0 (again).
443
+ - Fix race condition in SSH, which specifically manifested itself in
444
+ the chef server provisioner. [GH-295]
445
+ - Change sudo shell to use `bash` (configurable). [GH-301]
446
+ - Can now set mac address of host only network. [GH-294]
447
+ - NFS shared folders with spaces now work properly. [GH-293]
448
+ - Failed SSH commands now show output in error message. [GH-285]
449
+
450
+ ## 0.7.1 (January 28, 2011)
451
+
452
+ - Change error output with references to VirtualBox 3.2 to 4.0.
453
+ - Internal SSH through net-ssh now uses `IdentitiesOnly` thanks to
454
+ upstream net-ssh fix.
455
+ - Fix issue causing warnings to show with `forwardx11` enabled for SSH. [GH-279]
456
+ - FreeBSD support for host only networks, NFS, halting, etc. [GH-275]
457
+ - Make SSH commands which use sudo compatible with sudo < 1.7.0. [GH-278]
458
+ - Fix broken puppet server provisioner which called a nonexistent
459
+ method.
460
+ - Default SSH host changed from `localhost` to `127.0.0.1` since
461
+ `localhost` is not always loopback.
462
+ - New `shell` provisioner which simply uploads and executes a script as
463
+ root on the VM.
464
+ - Gentoo host only networking no longer fails if alrady setup. [GH-286]
465
+ - Set the host name of your guest OS with `config.vm.host_name` [GH-273]
466
+ - `vagrant ssh-config` now outputs the configured `config.ssh.host`
467
+
468
+ ## 0.7.0 (January 19, 2011)
469
+
470
+ - VirtualBox 4.0 support. Support for VirtualBox 3.2 is _dropped_, since
471
+ the API is so different. Stay with the 0.6.x series if you have VirtualBox
472
+ 3.2.x.
473
+ - Puppet server provisioner. [GH-262]
474
+ - Use numeric uid/gid in mounting shared folders to increase portability. [GH-252]
475
+ - HTTP downloading follows redirects. [GH-163]
476
+ - Downloaders have clearer output to note what they're doing.
477
+ - Shared folders with no guest path are not automounted. [GH-184]
478
+ - Boxes downloaded during `vagrant up` reload the Vagrantfile config, which
479
+ fixes a problem with box settings not being properly loaded. [GH-231]
480
+ - `config.ssh.forward_x11` to enable the ForwardX11 SSH option. [GH-255]
481
+ - Vagrant source now has a `contrib` directory where contributions of miscellaneous
482
+ addons for Vagrant will be added.
483
+ - Vagrantfiles are now loaded only once (instead of 4+ times) [GH-238]
484
+ - Ability to move home vagrant dir (~/.vagrant) by setting VAGRANT_HOME
485
+ environmental variable.
486
+ - Removed check and error for the "OSE" version of VirtualBox, since with
487
+ VirtualBox 4 this distinction no longer exists.
488
+ - Ability to specify proxy settings for chef. [GH-169]
489
+ - Helpful error message shown if NFS mounting fails. [GH-135]
490
+ - Gentoo guests now support host only networks. [GH-240]
491
+ - RedHat (CentOS included) guests now support host only networks. [GH-260]
492
+ - New Vagrantfile syntax for enabling and configuring provisioners. This
493
+ change is not backwards compatible. [GH-265]
494
+ - Provisioners are now RVM-friendly, meaning if you installed chef or puppet
495
+ with an RVM managed Ruby, Vagrant now finds then. [GH-254]
496
+ - Changed the unused host only network destroy mechanism to check for
497
+ uselessness after the VM is destroyed. This should result in more accurate
498
+ checks.
499
+ - Networks are no longer disabled upon halt/destroy. With the above
500
+ change, its unnecessary.
501
+ - Puppet supports `module_path` configuration to mount local modules directory
502
+ as a shared folder and configure puppet with it. [GH-270]
503
+ - `ssh-config` now outputs `127.0.0.1` as the host instead of `localhost`.
504
+
505
+ ## 0.6.9 (December 21, 2010)
506
+
507
+ - Puppet provisioner. [GH-223]
508
+ - Solaris system configurable to use `sudo`.
509
+ - Solaris system registered, so it can be set with `:solaris`.
510
+ - `vagrant package` include can be a directory name, which will cause the
511
+ contents to be recursively copied into the package. [GH-241]
512
+ - Arbitrary options to puppet binary can be set with `config.puppet.options`. [GH-242]
513
+ - BSD hosts use proper GNU sed syntax for clearing NFS shares. [GH-243]
514
+ - Enumerate VMs in a multi-VM environment in order they were defined. [GH-244]
515
+ - Check for VM boot changed to use `timeout` library, which works better with Windows.
516
+ - Show special error if VirtualBox not detected on 64-bit Windows.
517
+ - Show error to Windows users attempting to use host only networking since
518
+ it doesn't work yet.
519
+
520
+ ## 0.6.8 (November 30, 2010)
521
+
522
+ - Network interfaces are now up/down in distinct commands instead of just
523
+ restarting "networking." [GH-192]
524
+ - Add missing translation for chef binary missing. [GH-203]
525
+ - Fix default settings for Opscode platform and comments. [GH-213]
526
+ - Blank client name for chef server now uses FQDN by default, instead of "client" [GH-214]
527
+ - Run list can now be nil, which will cause it to sync with chef server (when
528
+ chef server is enabled). [GH-214]
529
+ - Multiple NFS folders now work on linux. [GH-215]
530
+ - Add translation for state "stuck" which is very rare. [GH-218]
531
+ - virtualbox gem dependency minimum raised to 0.7.6 to verify FFI < 1.0.0 is used.
532
+ - Fix issue where box downloading from `vagrant up` didn't reload the box collection. [GH-229]
533
+
534
+ ## 0.6.7 (November 3, 2010)
535
+
536
+ - Added validation to verify that a box is specified.
537
+ - Proper error message when box is not found for `config.vm.box`. [GH-195]
538
+ - Fix output of `vagrant status` with multi-vm to be correct. [GH-196]
539
+
540
+ ## 0.6.6 (October 14, 2010)
541
+
542
+ - `vagrant status NAME` works once again. [GH-191]
543
+ - Conditional validation of Vagrantfile so that some commands don't validate. [GH-188]
544
+ - Fix "junk" output for ssh-config. [GH-189]
545
+ - Fix port collision handling with greater than two VMs. [GH-185]
546
+ - Fix potential infinite loop with root path if bad CWD is given to environment.
547
+
548
+ ## 0.6.5 (October 8, 2010)
549
+
550
+ - Validations on base MAC address to avoid situation described in GH-166, GH-181
551
+ from ever happening again.
552
+ - Properly load sub-VM configuration on first-pass of config loading. Solves
553
+ a LOT of problems with multi-VM. [GH-166] [GH-181]
554
+ - Configuration now only validates on final Vagrantfile proc, so multi-VM
555
+ validates correctly.
556
+ - A nice error message is given if ".vagrant" is a directory and therefore
557
+ can't be accessed. [GH-172]
558
+ - Fix plugin loading in a Rails 2.3.x project. [GH-176]
559
+
560
+ ## 0.6.4 (October 4, 2010)
561
+
562
+ - Default VM name is now properly the parent folder of the working directory
563
+ of the environment.
564
+ - Added method to `TestHelpers` to assist with testing new downloaders.
565
+ - `up --no-provision` works again. This disables provisioning during the
566
+ boot process.
567
+ - Action warden doesn't do recovery process on `SystemExit` exceptions,
568
+ allowing the double ctrl-C to work properly again. [related to GH-166]
569
+ - Initial Vagrantfile is now heavily commented with various available
570
+ options. [GH-171]
571
+ - Box add checks if a box already exists before the download. [GH-170]
572
+ - NFS no longer attempts to clean exports file if VM is not created,
573
+ which was causing a stack trace during recovery. [related to GH-166]
574
+ - Basic validation added for Chef configuration (both solo and server).
575
+ - Top config class is now available in all `Vagrant::Config::Base`
576
+ subclasses, which is useful for config validation.
577
+ - Subcommand help shows proper full command in task listing. [GH-168]
578
+ - SSH gives error message if `ssh` binary is not found. [GH-161]
579
+ - SSH gives proper error message if VM is not running. [GH-167]
580
+ - Fix some issues with undefined constants in command errors.
581
+
582
+ ## 0.6.1, 0.6.2, 0.6.3 (September 27, 2010)
583
+
584
+ A lot of quick releases which all were to fix issues with Ruby 1.8.7
585
+ compatibility.
586
+
587
+ ## 0.6.0 (September 27, 2010)
588
+
589
+ - VM name now defaults to the name of the containing folder, plus a timestamp.
590
+ This should make it easier to identify VMs in the VirtualBox GUI.
591
+ - Exposed Vagrant test helpers in `Vagrant::TestHelpers` for plugins to easily
592
+ test themselves against Vagrant environments.
593
+ - **Plugins** have landed. Plugins are simply gems which have a `vagrant_init.rb`
594
+ file somewhere in their load path. Please read the documentation on
595
+ vagrantup.com before attempting to create a plugin (which is very easy)
596
+ for more information on how it all works and also some guidelines.
597
+ - `vagrant package` now takes a `--vagrantfile` option to specify a
598
+ Vagrantfile to package. The `--include` approach for including a Vagrantfile
599
+ no longer works (previously built boxes will continue to work).
600
+ - `vagrant package` has new logic with regards to the `--include` option
601
+ depending on if the file path is relative or absolute (they can be
602
+ intermixed):
603
+ * _Relative_ paths are copied directly into the box, preserving
604
+ their path. So `--include lib/foo` would be in the box as "lib/foo"
605
+ * _Absolute_ paths are simply copied files into the root of the
606
+ box. So `--include /lib/foo` would be in the box as "foo"
607
+ - "vagrant_main" is no longer the default run list. Instead, chef
608
+ run list starts empty. It is up to you to specify all recipes in
609
+ the Vagrantfile now.
610
+ - Fixed various issues with certain action middleware not working if
611
+ the VM was not created.
612
+ - SSH connection is retried 5 times if there is a connection refused.
613
+ Related to GH-140.
614
+ - If `http_proxy` environmental variable is set, it will be used as the proxy
615
+ box adding via http.
616
+ - Remove `config.ssh.password`. It hasn't been used for a few versions
617
+ now and was only kept around to avoid exceptions in Vagrantfiles.
618
+ - Configuration is now validated so improper input can be found in
619
+ Vagrantfiles.
620
+ - Fixed issue with not detecting Vagrantfile at root directory ("/").
621
+ - Vagrant now gives a nice error message if there is a syntax error
622
+ in any Vagrantfile. [GH-154]
623
+ - The format of the ".vagrant" file which stores persisted VMs has
624
+ changed. This is **backwards incompatible**. Will provide an upgrade
625
+ utility prior to 0.6 launch.
626
+ - Every [expected] Vagrant error now exits with a clean error message
627
+ and a unique exit status, and raises a unique exception (if you're
628
+ scripting Vagrant).
629
+ - Added I18n gem dependency for pulling strings into clean YML files.
630
+ Vagrant is now localizable as a side effect! Translations welcome.
631
+ - Fixed issue with "Waiting for cleanup" message appearing twice in
632
+ some cases. [GH-145]
633
+ - Converted CLI to use Thor. As a tradeoff, there are some backwards
634
+ incompatibilities:
635
+ * `vagrant package` - The `--include` flag now separates filenames
636
+ by spaces, instead of by commas. e.g. `vagrant package --include x y z`
637
+ * `vagrant ssh` - If you specify a command to execute using the `--execute`
638
+ flag, you may now only specify one command (before you were able to
639
+ specify an arbitrary amount). e.g. `vagrant ssh -e "echo hello"`
640
+ * `vagrant ssh-config` has become `vagrant ssh_config` due to a limitation
641
+ in Thor.
642
+
643
+ ## 0.5.4 (September 7, 2010)
644
+
645
+ - Fix issue with the "exec failed" by running on Tiger as well.
646
+ - Give an error when downloading a box which already exists prior
647
+ to actually downloading the box.
648
+
649
+ ## 0.5.3 (August 23, 2010)
650
+
651
+ - Add erubis as a dependency since its rendering of `erb` is sane.
652
+ - Fixed poorly formatted Vagrantfile after `vagrant init`. [GH-142]
653
+ - Fixed NFS not working properly with multiple NFS folders.
654
+ - Fixed chef solo provision to work on Windows. It was expanding a linux
655
+ path which prepended a drive letter onto it.
656
+
657
+ ## 0.5.2 (August 3, 2010)
658
+
659
+ - `vagrant up` can be used as a way to resume the VM as well (same as
660
+ `vagrant resume`). [GH-134]
661
+ - Sudo uses "-E" flag to preserve environment for chef provisioners.
662
+ This fixes issues with CentOS. [GH-133]
663
+ - Added "IdentitiesOnly yes" to options when `vagrant ssh` is run to
664
+ avoid "Too Many Authentication Failures" error. [GH-131]
665
+ - Fix regression with `package` not working. [GH-132]
666
+ - Added ability to specify box url in `init`, which populates the
667
+ Vagrantfile with the proper `config.vm.box_url`.
668
+
669
+ ## 0.5.1 (July 31, 2010)
670
+
671
+ - Allow specifying cookbook paths which exist only on the VM in `config.chef.cookbooks_path`.
672
+ This is used for specifying cookbook paths when `config.chef.recipe_url` is used. [GH-130]
673
+ See updated chef solo documentation for more information on this.
674
+ - No longer show "Disabling host only networks..." if no host only networks
675
+ are destroyed. Quiets `destroy`, `halt`, etc output a bit.
676
+ - Updated getting started guide to be more up to date and generic. [GH-125]
677
+ - Fixed error with doing a `vagrant up` when no Vagrantfile existed. [GH-128]
678
+ - Fixed NFS erroring when NFS wasn't even enabled if `/etc/exports` doesn't
679
+ exist. [GH-126]
680
+ - Fixed `vagrant resume` to properly resume a suspended VM. [GH-122]
681
+ - Fixed `halt`, `destroy`, `reload` to where they failed if the VM was
682
+ in a saved state. [GH-123]
683
+ - Added `config.chef.recipe_url` which allows you to specify a URL to
684
+ a gzipped tar file for chef solo to download cookbooks. See the
685
+ [chef-solo docs](http://wiki.opscode.com/display/chef/Chef+Solo#ChefSolo-RunningfromaURL) for more information.
686
+ [GH-121]
687
+ - Added `vagrant box repackage` which repackages boxes which have
688
+ been added. This is useful in case you want to redistribute a base
689
+ box you have but may have lost the actual "box" file. [GH-120]
690
+
691
+ ## Previous
692
+
693
+ The changelog began with version 0.5.1 so any changes prior to that
694
+ can be seen by checking the tagged releases and reading git commit
695
+ messages.
696
+