tnargav 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (452) hide show
  1. data/.gitignore +31 -0
  2. data/.gitsetup.yml +5 -0
  3. data/.travis.yml +7 -0
  4. data/.yardopts +1 -0
  5. data/CHANGELOG.md +1067 -0
  6. data/Gemfile +3 -0
  7. data/LICENSE +21 -0
  8. data/README.md +89 -0
  9. data/Rakefile +18 -0
  10. data/bin/vagrant +106 -0
  11. data/config/default.rb +36 -0
  12. data/contrib/README.md +12 -0
  13. data/contrib/bash/completion.sh +3 -0
  14. data/contrib/emacs/vagrant.el +8 -0
  15. data/contrib/vim/vagrantfile.vim +9 -0
  16. data/keys/README.md +17 -0
  17. data/keys/vagrant +27 -0
  18. data/keys/vagrant.pub +1 -0
  19. data/lib/vagrant/action/builder.rb +174 -0
  20. data/lib/vagrant/action/builtin/box_add.rb +81 -0
  21. data/lib/vagrant/action/builtin/call.rb +67 -0
  22. data/lib/vagrant/action/builtin/config_validate.rb +30 -0
  23. data/lib/vagrant/action/builtin/confirm.rb +38 -0
  24. data/lib/vagrant/action/builtin/destroy_confirm.rb +21 -0
  25. data/lib/vagrant/action/builtin/env_set.rb +24 -0
  26. data/lib/vagrant/action/builtin/graceful_halt.rb +73 -0
  27. data/lib/vagrant/action/builtin/handle_box_url.rb +77 -0
  28. data/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb +134 -0
  29. data/lib/vagrant/action/builtin/lock.rb +57 -0
  30. data/lib/vagrant/action/builtin/nfs.rb +118 -0
  31. data/lib/vagrant/action/builtin/provision.rb +70 -0
  32. data/lib/vagrant/action/builtin/set_hostname.rb +27 -0
  33. data/lib/vagrant/action/builtin/ssh_exec.rb +42 -0
  34. data/lib/vagrant/action/builtin/ssh_run.rb +43 -0
  35. data/lib/vagrant/action/general/package.rb +103 -0
  36. data/lib/vagrant/action/hook.rb +107 -0
  37. data/lib/vagrant/action/runner.rb +69 -0
  38. data/lib/vagrant/action/warden.rb +103 -0
  39. data/lib/vagrant/action.rb +43 -0
  40. data/lib/vagrant/batch_action.rb +113 -0
  41. data/lib/vagrant/box.rb +97 -0
  42. data/lib/vagrant/box_collection.rb +375 -0
  43. data/lib/vagrant/cli.rb +82 -0
  44. data/lib/vagrant/config/loader.rb +222 -0
  45. data/lib/vagrant/config/v1/dummy_config.rb +13 -0
  46. data/lib/vagrant/config/v1/loader.rb +105 -0
  47. data/lib/vagrant/config/v1/root.rb +60 -0
  48. data/lib/vagrant/config/v1.rb +9 -0
  49. data/lib/vagrant/config/v2/dummy_config.rb +13 -0
  50. data/lib/vagrant/config/v2/loader.rb +141 -0
  51. data/lib/vagrant/config/v2/root.rb +105 -0
  52. data/lib/vagrant/config/v2/util.rb +21 -0
  53. data/lib/vagrant/config/v2.rb +9 -0
  54. data/lib/vagrant/config/version_base.rb +80 -0
  55. data/lib/vagrant/config.rb +61 -0
  56. data/lib/vagrant/environment.rb +843 -0
  57. data/lib/vagrant/errors.rb +570 -0
  58. data/lib/vagrant/guest.rb +163 -0
  59. data/lib/vagrant/hosts.rb +28 -0
  60. data/lib/vagrant/machine.rb +325 -0
  61. data/lib/vagrant/machine_state.rb +45 -0
  62. data/lib/vagrant/plugin/v1/command.rb +169 -0
  63. data/lib/vagrant/plugin/v1/communicator.rb +98 -0
  64. data/lib/vagrant/plugin/v1/config.rb +112 -0
  65. data/lib/vagrant/plugin/v1/errors.rb +15 -0
  66. data/lib/vagrant/plugin/v1/guest.rb +92 -0
  67. data/lib/vagrant/plugin/v1/host.rb +66 -0
  68. data/lib/vagrant/plugin/v1/manager.rb +131 -0
  69. data/lib/vagrant/plugin/v1/plugin.rb +229 -0
  70. data/lib/vagrant/plugin/v1/provider.rb +68 -0
  71. data/lib/vagrant/plugin/v1/provisioner.rb +50 -0
  72. data/lib/vagrant/plugin/v1.rb +19 -0
  73. data/lib/vagrant/plugin/v2/command.rb +234 -0
  74. data/lib/vagrant/plugin/v2/communicator.rb +98 -0
  75. data/lib/vagrant/plugin/v2/components.rb +47 -0
  76. data/lib/vagrant/plugin/v2/config.rb +136 -0
  77. data/lib/vagrant/plugin/v2/errors.rb +15 -0
  78. data/lib/vagrant/plugin/v2/guest.rb +78 -0
  79. data/lib/vagrant/plugin/v2/host.rb +66 -0
  80. data/lib/vagrant/plugin/v2/manager.rb +173 -0
  81. data/lib/vagrant/plugin/v2/plugin.rb +226 -0
  82. data/lib/vagrant/plugin/v2/provider.rb +69 -0
  83. data/lib/vagrant/plugin/v2/provisioner.rb +47 -0
  84. data/lib/vagrant/plugin/v2.rb +22 -0
  85. data/lib/vagrant/plugin.rb +6 -0
  86. data/lib/vagrant/registry.rb +78 -0
  87. data/lib/vagrant/ui.rb +215 -0
  88. data/lib/vagrant/util/ansi_escape_code_remover.rb +34 -0
  89. data/lib/vagrant/util/busy.rb +59 -0
  90. data/lib/vagrant/util/counter.rb +24 -0
  91. data/lib/vagrant/util/downloader.rb +146 -0
  92. data/lib/vagrant/util/file_checksum.rb +38 -0
  93. data/lib/vagrant/util/file_mode.rb +12 -0
  94. data/lib/vagrant/util/hash_with_indifferent_access.rb +63 -0
  95. data/lib/vagrant/util/is_port_open.rb +38 -0
  96. data/lib/vagrant/util/line_ending_helpers.rb +14 -0
  97. data/lib/vagrant/util/network_ip.rb +28 -0
  98. data/lib/vagrant/util/platform.rb +58 -0
  99. data/lib/vagrant/util/retryable.rb +31 -0
  100. data/lib/vagrant/util/safe_chdir.rb +33 -0
  101. data/lib/vagrant/util/safe_exec.rb +36 -0
  102. data/lib/vagrant/util/safe_puts.rb +31 -0
  103. data/lib/vagrant/util/scoped_hash_override.rb +45 -0
  104. data/lib/vagrant/util/ssh.rb +150 -0
  105. data/lib/vagrant/util/stacked_proc_runner.rb +35 -0
  106. data/lib/vagrant/util/string_block_editor.rb +77 -0
  107. data/lib/vagrant/util/subprocess.rb +273 -0
  108. data/lib/vagrant/util/template_renderer.rb +83 -0
  109. data/lib/vagrant/util/which.rb +43 -0
  110. data/lib/vagrant/util.rb +12 -0
  111. data/lib/vagrant/version.rb +6 -0
  112. data/lib/vagrant.rb +258 -0
  113. data/plugins/README.md +5 -0
  114. data/plugins/commands/box/command/add.rb +51 -0
  115. data/plugins/commands/box/command/list.rb +41 -0
  116. data/plugins/commands/box/command/remove.rb +37 -0
  117. data/plugins/commands/box/command/repackage.rb +43 -0
  118. data/plugins/commands/box/command/root.rb +75 -0
  119. data/plugins/commands/box/plugin.rb +15 -0
  120. data/plugins/commands/destroy/command.rb +31 -0
  121. data/plugins/commands/destroy/plugin.rb +18 -0
  122. data/plugins/commands/halt/command.rb +33 -0
  123. data/plugins/commands/halt/plugin.rb +18 -0
  124. data/plugins/commands/init/command.rb +40 -0
  125. data/plugins/commands/init/plugin.rb +18 -0
  126. data/plugins/commands/package/command.rb +83 -0
  127. data/plugins/commands/package/plugin.rb +18 -0
  128. data/plugins/commands/plugin/action/bundler_check.rb +25 -0
  129. data/plugins/commands/plugin/action/install_gem.rb +81 -0
  130. data/plugins/commands/plugin/action/license_plugin.rb +54 -0
  131. data/plugins/commands/plugin/action/list_plugins.rb +54 -0
  132. data/plugins/commands/plugin/action/prune_gems.rb +149 -0
  133. data/plugins/commands/plugin/action/uninstall_plugin.rb +23 -0
  134. data/plugins/commands/plugin/action.rb +52 -0
  135. data/plugins/commands/plugin/command/base.rb +22 -0
  136. data/plugins/commands/plugin/command/install.rb +58 -0
  137. data/plugins/commands/plugin/command/license.rb +31 -0
  138. data/plugins/commands/plugin/command/list.rb +28 -0
  139. data/plugins/commands/plugin/command/root.rb +75 -0
  140. data/plugins/commands/plugin/command/uninstall.rb +28 -0
  141. data/plugins/commands/plugin/gem_helper.rb +74 -0
  142. data/plugins/commands/plugin/plugin.rb +22 -0
  143. data/plugins/commands/plugin/state_file.rb +57 -0
  144. data/plugins/commands/provision/command.rb +34 -0
  145. data/plugins/commands/provision/plugin.rb +18 -0
  146. data/plugins/commands/reload/command.rb +37 -0
  147. data/plugins/commands/reload/plugin.rb +18 -0
  148. data/plugins/commands/resume/command.rb +25 -0
  149. data/plugins/commands/resume/plugin.rb +17 -0
  150. data/plugins/commands/ssh/command.rb +63 -0
  151. data/plugins/commands/ssh/plugin.rb +17 -0
  152. data/plugins/commands/ssh_config/command.rb +49 -0
  153. data/plugins/commands/ssh_config/plugin.rb +18 -0
  154. data/plugins/commands/status/command.rb +39 -0
  155. data/plugins/commands/status/plugin.rb +18 -0
  156. data/plugins/commands/suspend/command.rb +25 -0
  157. data/plugins/commands/suspend/plugin.rb +18 -0
  158. data/plugins/commands/up/command.rb +57 -0
  159. data/plugins/commands/up/plugin.rb +17 -0
  160. data/plugins/commands/up/start_mixins.rb +26 -0
  161. data/plugins/communicators/ssh/communicator.rb +342 -0
  162. data/plugins/communicators/ssh/plugin.rb +19 -0
  163. data/plugins/guests/arch/cap/change_host_name.rb +18 -0
  164. data/plugins/guests/arch/cap/configure_networks.rb +23 -0
  165. data/plugins/guests/arch/guest.rb +11 -0
  166. data/plugins/guests/arch/plugin.rb +25 -0
  167. data/plugins/guests/debian/cap/change_host_name.rb +18 -0
  168. data/plugins/guests/debian/cap/configure_networks.rb +61 -0
  169. data/plugins/guests/debian/guest.rb +9 -0
  170. data/plugins/guests/debian/plugin.rb +25 -0
  171. data/plugins/guests/fedora/cap/configure_networks.rb +59 -0
  172. data/plugins/guests/fedora/cap/network_scripts_dir.rb +15 -0
  173. data/plugins/guests/fedora/guest.rb +11 -0
  174. data/plugins/guests/fedora/plugin.rb +25 -0
  175. data/plugins/guests/freebsd/cap/change_host_name.rb +14 -0
  176. data/plugins/guests/freebsd/cap/configure_networks.rb +39 -0
  177. data/plugins/guests/freebsd/cap/halt.rb +16 -0
  178. data/plugins/guests/freebsd/cap/mount_nfs_folder.rb +14 -0
  179. data/plugins/guests/freebsd/guest.rb +14 -0
  180. data/plugins/guests/freebsd/plugin.rb +35 -0
  181. data/plugins/guests/gentoo/cap/change_host_name.rb +17 -0
  182. data/plugins/guests/gentoo/cap/configure_networks.rb +43 -0
  183. data/plugins/guests/gentoo/guest.rb +9 -0
  184. data/plugins/guests/gentoo/plugin.rb +25 -0
  185. data/plugins/guests/linux/cap/halt.rb +16 -0
  186. data/plugins/guests/linux/cap/mount_nfs.rb +30 -0
  187. data/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb +40 -0
  188. data/plugins/guests/linux/cap/read_ip_address.rb +17 -0
  189. data/plugins/guests/linux/cap/shell_expand_guest_path.rb +26 -0
  190. data/plugins/guests/linux/guest.rb +11 -0
  191. data/plugins/guests/linux/plugin.rb +40 -0
  192. data/plugins/guests/openbsd/cap/halt.rb +16 -0
  193. data/plugins/guests/openbsd/guest.rb +11 -0
  194. data/plugins/guests/openbsd/plugin.rb +20 -0
  195. data/plugins/guests/pld/cap/network_scripts_dir.rb +11 -0
  196. data/plugins/guests/pld/guest.rb +11 -0
  197. data/plugins/guests/pld/plugin.rb +20 -0
  198. data/plugins/guests/redhat/cap/change_host_name.rb +18 -0
  199. data/plugins/guests/redhat/cap/configure_networks.rb +60 -0
  200. data/plugins/guests/redhat/cap/network_scripts_dir.rb +11 -0
  201. data/plugins/guests/redhat/guest.rb +11 -0
  202. data/plugins/guests/redhat/plugin.rb +30 -0
  203. data/plugins/guests/solaris/cap/change_host_name.rb +17 -0
  204. data/plugins/guests/solaris/cap/configure_networks.rb +25 -0
  205. data/plugins/guests/solaris/cap/halt.rb +21 -0
  206. data/plugins/guests/solaris/cap/mount_virtualbox_shared_folder.rb +28 -0
  207. data/plugins/guests/solaris/config.rb +18 -0
  208. data/plugins/guests/solaris/guest.rb +14 -0
  209. data/plugins/guests/solaris/plugin.rb +40 -0
  210. data/plugins/guests/suse/cap/change_host_name.rb +18 -0
  211. data/plugins/guests/suse/cap/network_scripts_dir.rb +11 -0
  212. data/plugins/guests/suse/guest.rb +11 -0
  213. data/plugins/guests/suse/plugin.rb +25 -0
  214. data/plugins/guests/ubuntu/cap/change_host_name.rb +23 -0
  215. data/plugins/guests/ubuntu/guest.rb +32 -0
  216. data/plugins/guests/ubuntu/plugin.rb +20 -0
  217. data/plugins/hosts/arch/host.rb +68 -0
  218. data/plugins/hosts/arch/plugin.rb +15 -0
  219. data/plugins/hosts/bsd/host.rb +102 -0
  220. data/plugins/hosts/bsd/plugin.rb +15 -0
  221. data/plugins/hosts/fedora/host.rb +51 -0
  222. data/plugins/hosts/fedora/plugin.rb +15 -0
  223. data/plugins/hosts/freebsd/host.rb +43 -0
  224. data/plugins/hosts/freebsd/plugin.rb +15 -0
  225. data/plugins/hosts/gentoo/host.rb +24 -0
  226. data/plugins/hosts/gentoo/plugin.rb +15 -0
  227. data/plugins/hosts/linux/host.rb +95 -0
  228. data/plugins/hosts/linux/plugin.rb +15 -0
  229. data/plugins/hosts/opensuse/host.rb +34 -0
  230. data/plugins/hosts/opensuse/plugin.rb +15 -0
  231. data/plugins/hosts/windows/host.rb +17 -0
  232. data/plugins/hosts/windows/plugin.rb +15 -0
  233. data/plugins/kernel_v1/config/nfs.rb +20 -0
  234. data/plugins/kernel_v1/config/package.rb +17 -0
  235. data/plugins/kernel_v1/config/ssh.rb +46 -0
  236. data/plugins/kernel_v1/config/vagrant.rb +31 -0
  237. data/plugins/kernel_v1/config/vm.rb +184 -0
  238. data/plugins/kernel_v1/plugin.rb +44 -0
  239. data/plugins/kernel_v2/config/nfs.rb +14 -0
  240. data/plugins/kernel_v2/config/package.rb +13 -0
  241. data/plugins/kernel_v2/config/ssh.rb +76 -0
  242. data/plugins/kernel_v2/config/ssh_connect.rb +40 -0
  243. data/plugins/kernel_v2/config/vagrant.rb +13 -0
  244. data/plugins/kernel_v2/config/vm.rb +416 -0
  245. data/plugins/kernel_v2/config/vm_provisioner.rb +55 -0
  246. data/plugins/kernel_v2/config/vm_subvm.rb +30 -0
  247. data/plugins/kernel_v2/plugin.rb +44 -0
  248. data/plugins/providers/virtualbox/action/boot.rb +49 -0
  249. data/plugins/providers/virtualbox/action/check_accessible.rb +23 -0
  250. data/plugins/providers/virtualbox/action/check_created.rb +21 -0
  251. data/plugins/providers/virtualbox/action/check_guest_additions.rb +45 -0
  252. data/plugins/providers/virtualbox/action/check_running.rb +21 -0
  253. data/plugins/providers/virtualbox/action/check_virtualbox.rb +22 -0
  254. data/plugins/providers/virtualbox/action/clean_machine_folder.rb +43 -0
  255. data/plugins/providers/virtualbox/action/clear_forwarded_ports.rb +18 -0
  256. data/plugins/providers/virtualbox/action/clear_network_interfaces.rb +31 -0
  257. data/plugins/providers/virtualbox/action/clear_shared_folders.rb +17 -0
  258. data/plugins/providers/virtualbox/action/created.rb +20 -0
  259. data/plugins/providers/virtualbox/action/customize.rb +36 -0
  260. data/plugins/providers/virtualbox/action/destroy.rb +19 -0
  261. data/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb +16 -0
  262. data/plugins/providers/virtualbox/action/discard_state.rb +20 -0
  263. data/plugins/providers/virtualbox/action/export.rb +57 -0
  264. data/plugins/providers/virtualbox/action/forced_halt.rb +25 -0
  265. data/plugins/providers/virtualbox/action/forward_ports.rb +87 -0
  266. data/plugins/providers/virtualbox/action/import.rb +51 -0
  267. data/plugins/providers/virtualbox/action/is_paused.rb +20 -0
  268. data/plugins/providers/virtualbox/action/is_running.rb +20 -0
  269. data/plugins/providers/virtualbox/action/is_saved.rb +20 -0
  270. data/plugins/providers/virtualbox/action/match_mac_address.rb +21 -0
  271. data/plugins/providers/virtualbox/action/message_already_running.rb +16 -0
  272. data/plugins/providers/virtualbox/action/message_not_created.rb +16 -0
  273. data/plugins/providers/virtualbox/action/message_not_running.rb +16 -0
  274. data/plugins/providers/virtualbox/action/message_will_not_destroy.rb +17 -0
  275. data/plugins/providers/virtualbox/action/network.rb +410 -0
  276. data/plugins/providers/virtualbox/action/package.rb +20 -0
  277. data/plugins/providers/virtualbox/action/package_vagrantfile.rb +33 -0
  278. data/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb +35 -0
  279. data/plugins/providers/virtualbox/action/prepare_nfs_settings.rb +64 -0
  280. data/plugins/providers/virtualbox/action/prune_nfs_exports.rb +20 -0
  281. data/plugins/providers/virtualbox/action/resume.rb +25 -0
  282. data/plugins/providers/virtualbox/action/sane_defaults.rb +91 -0
  283. data/plugins/providers/virtualbox/action/set_name.rb +40 -0
  284. data/plugins/providers/virtualbox/action/setup_package_files.rb +51 -0
  285. data/plugins/providers/virtualbox/action/share_folders.rb +128 -0
  286. data/plugins/providers/virtualbox/action/suspend.rb +20 -0
  287. data/plugins/providers/virtualbox/action.rb +311 -0
  288. data/plugins/providers/virtualbox/config.rb +86 -0
  289. data/plugins/providers/virtualbox/driver/base.rb +360 -0
  290. data/plugins/providers/virtualbox/driver/meta.rb +142 -0
  291. data/plugins/providers/virtualbox/driver/version_4_0.rb +485 -0
  292. data/plugins/providers/virtualbox/driver/version_4_1.rb +485 -0
  293. data/plugins/providers/virtualbox/driver/version_4_2.rb +482 -0
  294. data/plugins/providers/virtualbox/model/forwarded_port.rb +58 -0
  295. data/plugins/providers/virtualbox/plugin.rb +42 -0
  296. data/plugins/providers/virtualbox/provider.rb +92 -0
  297. data/plugins/providers/virtualbox/util/compile_forwarded_ports.rb +31 -0
  298. data/plugins/provisioners/ansible/config.rb +72 -0
  299. data/plugins/provisioners/ansible/plugin.rb +23 -0
  300. data/plugins/provisioners/ansible/provisioner.rb +45 -0
  301. data/plugins/provisioners/cfengine/cap/debian/cfengine_install.rb +19 -0
  302. data/plugins/provisioners/cfengine/cap/linux/cfengine_installed.rb +14 -0
  303. data/plugins/provisioners/cfengine/cap/linux/cfengine_needs_bootstrap.rb +34 -0
  304. data/plugins/provisioners/cfengine/cap/redhat/cfengine_install.rb +24 -0
  305. data/plugins/provisioners/cfengine/config.rb +120 -0
  306. data/plugins/provisioners/cfengine/plugin.rb +42 -0
  307. data/plugins/provisioners/cfengine/provisioner.rb +136 -0
  308. data/plugins/provisioners/chef/config/base.rb +85 -0
  309. data/plugins/provisioners/chef/config/chef_client.rb +57 -0
  310. data/plugins/provisioners/chef/config/chef_solo.rb +87 -0
  311. data/plugins/provisioners/chef/plugin.rb +33 -0
  312. data/plugins/provisioners/chef/provisioner/base.rb +93 -0
  313. data/plugins/provisioners/chef/provisioner/chef_client.rb +107 -0
  314. data/plugins/provisioners/chef/provisioner/chef_solo.rb +192 -0
  315. data/plugins/provisioners/puppet/config/puppet.rb +70 -0
  316. data/plugins/provisioners/puppet/config/puppet_server.rb +16 -0
  317. data/plugins/provisioners/puppet/plugin.rb +33 -0
  318. data/plugins/provisioners/puppet/provisioner/puppet.rb +117 -0
  319. data/plugins/provisioners/puppet/provisioner/puppet_server.rb +67 -0
  320. data/plugins/provisioners/shell/config.rb +56 -0
  321. data/plugins/provisioners/shell/plugin.rb +23 -0
  322. data/plugins/provisioners/shell/provisioner.rb +86 -0
  323. data/tasks/acceptance.rake +113 -0
  324. data/tasks/bundler.rake +3 -0
  325. data/tasks/test.rake +20 -0
  326. data/templates/commands/init/Vagrantfile.erb +111 -0
  327. data/templates/commands/ssh_config/config.erb +16 -0
  328. data/templates/config/messages.erb +14 -0
  329. data/templates/config/validation_failed.erb +7 -0
  330. data/templates/guests/arch/network_dhcp.erb +4 -0
  331. data/templates/guests/arch/network_static.erb +6 -0
  332. data/templates/guests/debian/network_dhcp.erb +11 -0
  333. data/templates/guests/debian/network_static.erb +7 -0
  334. data/templates/guests/fedora/network_dhcp.erb +6 -0
  335. data/templates/guests/fedora/network_static.erb +13 -0
  336. data/templates/guests/freebsd/network_dhcp.erb +3 -0
  337. data/templates/guests/freebsd/network_static.erb +3 -0
  338. data/templates/guests/gentoo/network_dhcp.erb +4 -0
  339. data/templates/guests/gentoo/network_static.erb +4 -0
  340. data/templates/guests/redhat/network_dhcp.erb +6 -0
  341. data/templates/guests/redhat/network_static.erb +8 -0
  342. data/templates/locales/en.yml +1126 -0
  343. data/templates/nfs/exports.erb +5 -0
  344. data/templates/nfs/exports_freebsd.erb +5 -0
  345. data/templates/nfs/exports_linux.erb +5 -0
  346. data/templates/package_Vagrantfile.erb +11 -0
  347. data/templates/provisioners/chef_client/client.erb +32 -0
  348. data/templates/provisioners/chef_solo/solo.erb +25 -0
  349. data/templates/rgloader.rb +9 -0
  350. data/test/acceptance/base.rb +48 -0
  351. data/test/acceptance/box_test.rb +99 -0
  352. data/test/acceptance/destroy_test.rb +37 -0
  353. data/test/acceptance/halt_test.rb +72 -0
  354. data/test/acceptance/init_test.rb +33 -0
  355. data/test/acceptance/networking/host_only_test.rb +37 -0
  356. data/test/acceptance/networking/port_forward_test.rb +125 -0
  357. data/test/acceptance/package_test.rb +46 -0
  358. data/test/acceptance/provisioning/basic_test.rb +61 -0
  359. data/test/acceptance/provisioning/chef_solo_test.rb +37 -0
  360. data/test/acceptance/provisioning/shell_test.rb +53 -0
  361. data/test/acceptance/resume_test.rb +17 -0
  362. data/test/acceptance/shared_folders_test.rb +84 -0
  363. data/test/acceptance/skeletons/chef_solo_basic/README.md +3 -0
  364. data/test/acceptance/skeletons/chef_solo_basic/cookbooks/basic/recipes/default.rb +5 -0
  365. data/test/acceptance/skeletons/chef_solo_json/README.md +3 -0
  366. data/test/acceptance/skeletons/chef_solo_json/cookbooks/basic/recipes/default.rb +6 -0
  367. data/test/acceptance/skeletons/provisioner_multi/README.md +3 -0
  368. data/test/acceptance/skeletons/provisioner_multi/cookbooks/basic/recipes/default.rb +5 -0
  369. data/test/acceptance/ssh_test.rb +46 -0
  370. data/test/acceptance/support/config.rb +42 -0
  371. data/test/acceptance/support/isolated_environment.rb +118 -0
  372. data/test/acceptance/support/matchers/have_color.rb +9 -0
  373. data/test/acceptance/support/matchers/match_output.rb +14 -0
  374. data/test/acceptance/support/matchers/succeed.rb +14 -0
  375. data/test/acceptance/support/network_tests.rb +29 -0
  376. data/test/acceptance/support/output.rb +95 -0
  377. data/test/acceptance/support/shared/base_context.rb +72 -0
  378. data/test/acceptance/support/shared/command_examples.rb +33 -0
  379. data/test/acceptance/support/virtualbox.rb +36 -0
  380. data/test/acceptance/suspend_test.rb +56 -0
  381. data/test/acceptance/up_basic_test.rb +33 -0
  382. data/test/acceptance/up_with_box_url.rb +40 -0
  383. data/test/acceptance/vagrant_test.rb +47 -0
  384. data/test/acceptance/version_test.rb +15 -0
  385. data/test/config/acceptance_boxes.yml +7 -0
  386. data/test/support/isolated_environment.rb +46 -0
  387. data/test/support/tempdir.rb +43 -0
  388. data/test/unit/base.rb +27 -0
  389. data/test/unit/support/dummy_provider.rb +16 -0
  390. data/test/unit/support/isolated_environment.rb +179 -0
  391. data/test/unit/support/shared/base_context.rb +104 -0
  392. data/test/unit/vagrant/action/builder_test.rb +242 -0
  393. data/test/unit/vagrant/action/builtin/call_test.rb +145 -0
  394. data/test/unit/vagrant/action/builtin/confirm_test.rb +36 -0
  395. data/test/unit/vagrant/action/builtin/env_set_test.rb +20 -0
  396. data/test/unit/vagrant/action/builtin/graceful_halt_test.rb +61 -0
  397. data/test/unit/vagrant/action/builtin/lock_test.rb +98 -0
  398. data/test/unit/vagrant/action/builtin/ssh_exec_test.rb +57 -0
  399. data/test/unit/vagrant/action/hook_test.rb +120 -0
  400. data/test/unit/vagrant/action/runner_test.rb +71 -0
  401. data/test/unit/vagrant/action/warden_test.rb +92 -0
  402. data/test/unit/vagrant/batch_action_test.rb +36 -0
  403. data/test/unit/vagrant/box_collection_test.rb +237 -0
  404. data/test/unit/vagrant/box_test.rb +122 -0
  405. data/test/unit/vagrant/cli_test.rb +27 -0
  406. data/test/unit/vagrant/config/loader_test.rb +184 -0
  407. data/test/unit/vagrant/config/v1/dummy_config_test.rb +24 -0
  408. data/test/unit/vagrant/config/v1/loader_test.rb +145 -0
  409. data/test/unit/vagrant/config/v1/root_test.rb +40 -0
  410. data/test/unit/vagrant/config/v2/dummy_config_test.rb +24 -0
  411. data/test/unit/vagrant/config/v2/loader_test.rb +151 -0
  412. data/test/unit/vagrant/config/v2/root_test.rb +97 -0
  413. data/test/unit/vagrant/config/v2/util_test.rb +21 -0
  414. data/test/unit/vagrant/config_test.rb +66 -0
  415. data/test/unit/vagrant/environment_test.rb +721 -0
  416. data/test/unit/vagrant/guest_test.rb +166 -0
  417. data/test/unit/vagrant/hosts_test.rb +37 -0
  418. data/test/unit/vagrant/machine_state_test.rb +26 -0
  419. data/test/unit/vagrant/machine_test.rb +384 -0
  420. data/test/unit/vagrant/plugin/v1/command_test.rb +143 -0
  421. data/test/unit/vagrant/plugin/v1/communicator_test.rb +9 -0
  422. data/test/unit/vagrant/plugin/v1/config_test.rb +50 -0
  423. data/test/unit/vagrant/plugin/v1/host_test.rb +5 -0
  424. data/test/unit/vagrant/plugin/v1/manager_test.rb +114 -0
  425. data/test/unit/vagrant/plugin/v1/plugin_test.rb +267 -0
  426. data/test/unit/vagrant/plugin/v1/provider_test.rb +18 -0
  427. data/test/unit/vagrant/plugin/v2/command_test.rb +238 -0
  428. data/test/unit/vagrant/plugin/v2/communicator_test.rb +9 -0
  429. data/test/unit/vagrant/plugin/v2/components_test.rb +17 -0
  430. data/test/unit/vagrant/plugin/v2/config_test.rb +60 -0
  431. data/test/unit/vagrant/plugin/v2/host_test.rb +5 -0
  432. data/test/unit/vagrant/plugin/v2/manager_test.rb +174 -0
  433. data/test/unit/vagrant/plugin/v2/plugin_test.rb +305 -0
  434. data/test/unit/vagrant/plugin/v2/provider_test.rb +18 -0
  435. data/test/unit/vagrant/registry_test.rb +128 -0
  436. data/test/unit/vagrant/util/ansi_escape_code_remover_test.rb +16 -0
  437. data/test/unit/vagrant/util/downloader_test.rb +57 -0
  438. data/test/unit/vagrant/util/file_checksum_test.rb +23 -0
  439. data/test/unit/vagrant/util/hash_with_indifferent_access_test.rb +38 -0
  440. data/test/unit/vagrant/util/is_port_open_test.rb +53 -0
  441. data/test/unit/vagrant/util/line_endings_helper_test.rb +16 -0
  442. data/test/unit/vagrant/util/network_ip_test.rb +17 -0
  443. data/test/unit/vagrant/util/retryable_test.rb +106 -0
  444. data/test/unit/vagrant/util/safe_chdir_test.rb +43 -0
  445. data/test/unit/vagrant/util/scoped_hash_override_test.rb +48 -0
  446. data/test/unit/vagrant/util/ssh_test.rb +30 -0
  447. data/test/unit/vagrant/util/string_block_editor_test.rb +106 -0
  448. data/test/unit/vagrant/util/which_test.rb +43 -0
  449. data/test/unit/vagrant_test.rb +56 -0
  450. data/tnargav.gemspec +69 -0
  451. data/vagrant.gemspec +69 -0
  452. metadata +730 -0
data/CHANGELOG.md ADDED
@@ -0,0 +1,1067 @@
1
+ ## 1.2.2 (April 23, 2013)
2
+
3
+ FEATURES:
4
+
5
+ - New `DestroyConfirm` built-in middleware for providers so they can
6
+ more easily conform to the `destroy` action.
7
+
8
+ IMPROVEMENTS:
9
+
10
+ - No longer an error if the Chef run list is empty. It is now
11
+ a warning. [GH-1620]
12
+ - Better locking around handling the `box_url` parameter for
13
+ parallel providers.
14
+ - Solaris guest is now properly detected on SmartOS, OmniOS, etc. [GH-1639]
15
+ - Guest addition version detection is more robust, attempting other
16
+ routes to get the version, and also retrying a few times. [GH-1575]
17
+
18
+ BUG FIXES:
19
+
20
+ - `vagrant package --base` works again. [GH-1615]
21
+ - Box overrides specified in provider config overrides no longer
22
+ fail to detect the box. [GH-1617]
23
+ - In a multi-machine environment, a box not found won't be downloaded
24
+ multiple times. [GH-1467]
25
+ - `vagrant box add` with a file path now works correctly on Windows
26
+ when a drive letter is specified.
27
+ - DOS line endings are converted to Unix line endings for the
28
+ shell provisioner automatically. [GH-1495]
29
+
30
+ ## 1.2.1 (April 17, 2013)
31
+
32
+ FEATURES:
33
+
34
+ - Add a `--[no-]parallel` flag to `vagrant up` to enable/disable
35
+ parallelism. Vagrant will parallelize by default.
36
+
37
+ IMPROVEMENTS:
38
+
39
+ - Get rid of arbitrary 4 second sleep when connecting via SSH. The
40
+ issue it was attempting to work around may be gone now.
41
+
42
+ BUG FIXES:
43
+
44
+ - Chef solo run list properly set. [GH-1608]
45
+ - Follow 30x redirects when downloading boxes. [GH-1607]
46
+ - Chef client config defaults are done properly. [GH-1609]
47
+ - VirtualBox mounts shared folders with the proper owner/group. [GH-1611]
48
+ - Use the Mozilla CA cert bundle for cURL so SSL validation works
49
+ properly.
50
+
51
+ ## 1.2.0 (April 16, 2013)
52
+
53
+ BACKWARDS INCOMPATIBILITIES:
54
+
55
+ - WINDOWS USERS: Vagrant now defaults to using the 'USERPROFILE' environmental
56
+ variable for the home directory if it is set. This means that the default
57
+ location for the Vagrant home directory is now `%USERPROFILE%/.vagrant.d`.
58
+ On Cygwin, this will cause existing Cygwin users to "lose" their boxes.
59
+ To work around this, either set `VAGRANT_HOME` to your Cygwin ".vagrant.d"
60
+ folder or move your ".vagrant.d" folder to `USERPROFILE`. The latter is
61
+ recommended for long-term support.
62
+
63
+ FEATURES:
64
+
65
+ - Providers can now parallelize! If they explicitly support it, Vagrant
66
+ will run "up" and other commands in parallel. For providers such AWS,
67
+ this means that your instances will come up in parallel. VirtualBox
68
+ does not support this mode.
69
+ - Box downloads are now done via `curl` rather than Ruby's built-in
70
+ HTTP library. This results in massive speedups, support for SSL
71
+ verification, FTP downloads, and more.
72
+ - `config.vm.provider` now takes an optional second parameter to the block,
73
+ allowing you to override any configuration value. These overrides are
74
+ applied last, and therefore override any other configuration value.
75
+ Note that while this feature is available, the "Vagrant way" is instead
76
+ to use box manifests to ensure that the "box" for every provider matches,
77
+ so these sorts of overrides are unnecessary.
78
+ - A new "guest capabilities" system to replace the old "guest" system.
79
+ This new abstraction allows plugins to define "capabilities" that
80
+ certain guest operating systems can implement. This allows greater
81
+ flexibility in doing guest-specific behavior.
82
+ - Ansible provisioner support. [GH-1465]
83
+ - Providers can now support multiple box formats by specifying the
84
+ `box_format:` option.
85
+ - CFEngine provisioner support.
86
+ - `config.ssh.default` settings introduced to set SSH defaults that
87
+ providers can still override. [GH-1479]
88
+
89
+ IMPROVEMENTS:
90
+
91
+ - Full Windows support in cmd.exe, PowerShell, Cygwin, and MingW based
92
+ environments.
93
+ - By adding the "disabled" boolean flag to synced folders you can disable
94
+ them altogether. [GH-1004]
95
+ - Specify the default provider with the `VAGRANT_DEFAULT_PROVIDER`
96
+ environmental variable. [GH-1478]
97
+ - Invalid settings are now caught and shown in a user-friendly way. [GH-1484]
98
+ - Detect PuTTY Link SSH client on Windows and show an error. [GH-1518]
99
+ - `vagrant ssh` in Cygwin won't output DOS path file warnings.
100
+ - Add `--rtcuseutc on` as a sane default for VirtualBox. [GH-912]
101
+ - SSH will send keep-alive packets every 5 seconds by default to
102
+ keep connections alive. Can be disabled with `config.ssh.keep_alive`. [GH-516]
103
+ - Show a message on `vagrant up` if the machine is already running. [GH-1558]
104
+ - "Running provisioner" output now shoes the provisioner shortcut name,
105
+ rather than the less-than-helpful class name.
106
+ - Shared folders with the same guest path will overwrite each other. No
107
+ more shared folder IDs.
108
+ - Shell provisioner outputs script it is running. [GH-1568]
109
+ - Automatically merge forwarded ports that share the same host
110
+ port.
111
+
112
+ BUG FIXES:
113
+
114
+ - The `:mac` option for host-only networks is respected. [GH-1536]
115
+ - Don't preserve modified time when untarring boxes. [GH-1539]
116
+ - Forwarded port auto-correct will not auto-correct to a port
117
+ that is also in use.
118
+ - Cygwin will always output color by default. Specify `--no-color` to
119
+ override this.
120
+ - Assume Cygwin has a TTY for asking for input. [GH-1430]
121
+ - Expand Cygwin paths to Windows paths for calls to VBoxManage and
122
+ for VirtualBox shared folders.
123
+ - Output the proper clear line text for shells in Cygwin when
124
+ reporting dynamic progress.
125
+ - When using `Builder` instances for hooks, the builders will be
126
+ merged for the proper before/after chain. [GH-1555]
127
+ - Use the Vagrant temporary directory again for temporary files
128
+ since they can be quite large and were messing with tmpfs. [GH-1442]
129
+ - Fix issue parsing extra SSH args in `vagrant ssh` in multi-machine
130
+ environments. [GH-1545]
131
+ - Networks come back up properly on RedHat systems after reboot. [GH-921]
132
+ - `config.ssh` settings override all detected SSH settings (regression). [GH-1479]
133
+ - `ssh-config` won't raise an exception if the VirtualBox machine
134
+ is not created. [GH-1562]
135
+ - Multiple machines defined in the same Vagrantfile with the same
136
+ name will properly merge.
137
+ - More robust hostname checking for RedHat. [GH-1566]
138
+ - Cookbook path existence for Chef is no longer an error, so that
139
+ things like librarian and berkshelf plugins work properly. [GH-1570]
140
+ - Chef solo provisioner uses proper SSH username instead of hardcoded
141
+ config. [GH-1576]
142
+ - Shell provisioner takes ownership of uploaded files properly so
143
+ that they can also be manually executed later. [GH-1576]
144
+
145
+ ## 1.1.6 (April 3, 2013)
146
+
147
+ BUG FIXES:
148
+
149
+ - Fix SSH re-use connection logic to drop connection if an
150
+ error occurs.
151
+
152
+ ## 1.1.5 (April 2, 2013)
153
+
154
+ IMPROVEMENTS:
155
+
156
+ - More robust SSH connection close detection.
157
+ - Don't load `vagrant plugin` installed plugins when in a Bundler
158
+ environment. This happens during plugin development. This will make
159
+ Vagrant errors much quieter when developing plugins.
160
+ - Vagrant will detect Bundler environments, make assumptions that you're
161
+ developing plugins, and will quiet its error output a bit.
162
+ - More comprehensive synced folder configuration validation.
163
+ - VBoxManage errors now show the output from the command so that
164
+ users can potentially know what is wrong.
165
+
166
+ BUG FIXES:
167
+
168
+ - Proper error message if invalid provisioner is used. [GH-1515]
169
+ - Don't error on graceful halt if machine just shut down very
170
+ quickly. [GH-1505]
171
+ - Error message if private key for SSH isn't owned by the proper
172
+ user. [GH-1503]
173
+ - Don't error too early when `config.vm.box` is not properly set.
174
+ - Show a human-friendly error if VBoxManage is not found (exit
175
+ status 126). [GH-934]
176
+ - Action hook prepend/append will only prepend or append once.
177
+ - Retry SSH on Errno::EACCES.
178
+ - Show an error if an invalid network type is used.
179
+ - Don't share Chef solo folder if it doesn't exist on host.
180
+
181
+ ## 1.1.4 (March 25, 2013)
182
+
183
+ BUG FIXES:
184
+
185
+ - Default forwarded port adapter for VirtualBox should be 1.
186
+
187
+ ## 1.1.3 (March 25, 2013)
188
+
189
+ IMPROVEMENTS:
190
+
191
+ - Puppet apply provisioner now retains the default module path
192
+ even while specifying custom module paths. [GH-1207]
193
+ - Re-added DHCP support for host-only networks. [GH-1466]
194
+ - Ability to specify a plugin version, plugin sources, and
195
+ pre-release versions using `--plugin-version`, `--plugin-source`,
196
+ and `--plugin-prerelease`. [GH-1461]
197
+ - Move VirtualBox guest addition checks to after the machine
198
+ boots. [GH-1179]
199
+ - Removed `Vagrant::TestHelpers` because it doesn't really work anymore.
200
+ - Add PLX linux guest support. [GH-1490]
201
+
202
+ BUG FIXES:
203
+
204
+ - Attempt to re-establish SSH connection on `Net::SSH::Disconnect`
205
+ - Allow any value that can convert to a string for `Vagrant.plugin`
206
+ - Chef solo `recipe_url` works properly again. [GH-1467]
207
+ - Port collision detection works properly in VirtualBox with
208
+ auto-corrected ports. [GH-1472]
209
+ - Fix obscure error when temp directory is world writable when
210
+ adding boxes.
211
+ - Improved error handling around network interface detection for
212
+ VirtualBox [GH-1480]
213
+
214
+ ## 1.1.2 (March 18, 2013)
215
+
216
+ BUG FIXES:
217
+
218
+ - When not specifying a cookbooks_path for chef-solo, an error won't
219
+ be shown if "cookbooks" folder is missing.
220
+ - Fix typo for exception when no host-only network with NFS. [GH-1448]
221
+ - Use UNSET_VALUE/nil with args on shell provisioner by default since
222
+ `[]` was too truthy. [GH-1447]
223
+
224
+ ## 1.1.1 (March 18, 2013)
225
+
226
+ IMPROVEMENTS:
227
+
228
+ - Don't load plugins on any `vagrant plugin` command, so that errors
229
+ are avoided. [GH-1418]
230
+ - An error will be shown if you forward a port to the same host port
231
+ multiple times.
232
+ - Automatically convert network, provider, and provisioner names to
233
+ symbols internally in case people define them as strings.
234
+ - Using newer versions of net-ssh and net-scp. [GH-1436]
235
+
236
+ BUG FIXES:
237
+
238
+ - Quote keys to StringBlockEditor so keys with spaces, parens, and
239
+ so on work properly.
240
+ - When there is no route to host for SSH, re-establish a new connection.
241
+ - `vagrant package` once again works, no more nil error. [GH-1423]
242
+ - Human friendly error when "metadata.json" is missing in a box.
243
+ - Don't use the full path to the manifest file with the Puppet provisioner
244
+ because it exposes a bug with Puppet path lookup on VMware.
245
+ - Fix bug in VirtualBox provider where port forwarding just didn't work if
246
+ you attempted to forward to a port under 1024. [GH-1421]
247
+ - Fix cross-device box adds for Windows. [GH-1424]
248
+ - Fix minor issues with defaults of configuration of the shell
249
+ provisioner.
250
+ - Fix Puppet server using "host_name" instead of "hostname" [GH-1444]
251
+ - Raise a proper error if no hostonly network is found for NFS with
252
+ VirtualBox. [GH-1437]
253
+
254
+ ## 1.1.0 (March 14, 2013)
255
+
256
+ BACKWARDS INCOMPATIBILITIES:
257
+
258
+ - Vagrantfiles from 1.0.x that _do not use_ any plugins are fully
259
+ backwards compatible. If plugins are used, they must be removed prior
260
+ to upgrading. The new plugin system in place will avoid this issue in
261
+ the future.
262
+ - Lots of changes introduced in the form of a new configuration version and
263
+ format, but this is _opt-in_. Old Vagrantfile format continues to be supported,
264
+ as promised. To use the new features that will be introduced throughout
265
+ the 1.x series, you'll have to upgrade at some point.
266
+
267
+ FEATURES:
268
+
269
+ - Groundwork for **providers**, alternate backends for Vagrant that
270
+ allow Vagrant to power systems other than VirtualBox. Much improvement
271
+ and change will come to this throughout the 1.x lifecycle. The API
272
+ will continue to change, features will be added, and more. Specifically,
273
+ a revamped system for handling shared folders gracefully across providers
274
+ will be introduced in a future release.
275
+ - New plugin system which adds much more structure and stability to
276
+ the overall API. The goal of this system is to make it easier to write
277
+ powerful plugins for Vagrant while providing a backwards-compatible API
278
+ so that plugins will always _load_ (though they will almost certainly
279
+ not be _functional_ in future versions of Vagrant).
280
+ - Plugins are now installed and managed using the `vagrant plugin` interface.
281
+ - Allow "file://" URLs for box URLs. [GH-1087]
282
+ - Emit "vagrant-mount" upstart event when NFS shares are mounted. [GH-1118]
283
+ - Add a VirtualBox provider config `auto_nat_dns_proxy` which when set to
284
+ false will not attempt to automatically manage NAT DNS proxy settings
285
+ with VirtualBox. [GH-1313]
286
+ - `vagrant provision` accepts the `--provision-with` flag [GH-1167]
287
+ - Set the name of VirtualBox machines with `virtualbox.name` in the
288
+ VirtualBox provider config. [GH-1126]
289
+ - `vagrant ssh` will execute an `ssh` binary on Windows if it is on
290
+ your PATH. [GH-933]
291
+ - The environmental variable `VAGRANT_VAGRANTFILE` can be used to
292
+ specify an alternate Vagrantfile filename.
293
+
294
+ IMPROVEMENTS / BUG FIXES:
295
+
296
+ - Vagrant works much better in Cygwin environments on Windows by
297
+ properly resolving Cygwin paths. [GH-1366]
298
+ - Improve the SSH "ready?" check by more gracefully handling timeouts. [GH-841]
299
+ - Human friendly error if connection times out for HTTP downloads. [GH-849]
300
+ - Detect when the VirtualBox installation is incomplete and error. [GH-846]
301
+ - Detect when kernel modules for VirtualBox need to be installed on Gentoo
302
+ systems and report a user-friendly error. [GH-710]
303
+ - All `vagrant` commands that can take a target VM name can take one even
304
+ if you're not in a multi-VM environment. [GH-894]
305
+ - Hostname is set before networks are setup to avoid very slow `sudo`
306
+ speeds on CentOS. [GH-922]
307
+ - `config.ssh.shell` now includes the flags to pass to it, such as `-l` [GH-917]
308
+ - The check for whether a port is open or not is more complete by
309
+ catching ENETUNREACH errors. [GH-948]
310
+ - SSH uses LogLevel FATAL so that errors are still shown.
311
+ - Sending a SIGINT (Ctrl-C) very early on when executing `vagrant` no
312
+ longer results in an ugly stack trace.
313
+ - Chef JSON configuration output is now pretty-printed to be
314
+ human readable. [GH-1146]
315
+ that SSHing succeeds when booting a machine.
316
+ - VMs in the "guru meditation" state can be destroyed now using
317
+ `vagrant destroy`.
318
+ - Fix issue where changing SSH key permissions didn't properly work. [GH-911]
319
+ - Fix issue where Vagrant didn't properly detect VBoxManage on Windows
320
+ if VBOX_INSTALL_PATH contained multiple paths. [GH-885]
321
+ - Fix typo in setting host name for Gentoo guests. [GH-931]
322
+ - Files that are included with `vagrant package --include` now properly
323
+ preserve file attributes on earlier versions of Ruby. [GH-951]
324
+ - Multiple interfaces now work with Arch linux guests. [GH-957]
325
+ - Fix issue where subprocess execution would always spin CPU of Ruby
326
+ process to 100%. [GH-832]
327
+ - Fix issue where shell provisioner would sometimes never end. [GH-968]
328
+ - Fix issue where puppet would reorder module paths. [GH-964]
329
+ - When console input is asked for (destroying a VM, bridged interfaces, etc.),
330
+ keystrokes such as ctrl-D and ctrl-C are more gracefully handled. [GH-1017]
331
+ - Fixed bug where port check would use "localhost" on systems where
332
+ "localhost" is not available. [GH-1057]
333
+ - Add missing translation for "saving" state on VirtualBox. [GH-1110]
334
+ - Proper error message if the remote end unexpectedly resets the connection
335
+ while downloading a box over HTTP. [GH-1090]
336
+ - Human-friendly error is raised if there are permission issues when
337
+ using SCP to upload files. [GH-924]
338
+ - Box adding doesn't use `/tmp` anymore which can avoid some cross-device
339
+ copy issues. [GH-1199]
340
+ - Vagrant works properly in folders with strange characters. [GH-1223]
341
+ - Vagrant properly handles "paused" VirtualBox machines. [GH-1184]
342
+ - Better behavior around permissions issues when copying insecure
343
+ private key. [GH-580]
344
+
345
+ ## 1.0.7 (March 13, 2013)
346
+
347
+ - Detect if a newer version of Vagrant ran and error if it did,
348
+ because we're not forward-compatible.
349
+ - Check for guest additions version AFTER booting. [GH-1179]
350
+ - Quote IdentityFile in `ssh-config` so private keys with spaces in
351
+ the path work. [GH-1322]
352
+ - Fix issue where multiple Puppet module paths can be re-ordered [GH-964]
353
+ - Shell provisioner won't hang on Windows anymore due to unclosed
354
+ tempfile. [GH-1040]
355
+ - Retry setting default VM name, since it sometimes fails first time. [GH-1368]
356
+ - Support setting hostname on Suse [GH-1063]
357
+
358
+ ## 1.0.6 (December 21, 2012)
359
+
360
+ - Shell provisioner outputs proper line endings on Windows [GH-1164]
361
+ - SSH upload opens file to stream which fixes strange upload issues.
362
+ - Check for proper exit codes for Puppet, since multiple exit codes
363
+ can mean success. [GH-1180]
364
+ - Fix issue where DNS doesn't resolve properly for 12.10. [GH-1176]
365
+ - Allow hostname to be a substring of the box name for Ubuntu [GH-1163]
366
+ - Use `puppet agent` instead of `puppetd` to be Puppet 3.x
367
+ compatible. [GH-1169]
368
+ - Work around bug in VirtualBox exposed by bug in OS X 10.8 where
369
+ VirtualBox executables couldn't handle garbage being injected into
370
+ stdout by OS X.
371
+
372
+ ## 1.0.5 (September 18, 2012)
373
+
374
+ - Work around a critical bug in VirtualBox 4.2.0 on Windows that
375
+ causes Vagrant to not work. [GH-1130]
376
+ - Plugin loading works better on Windows by using the proper
377
+ file path separator.
378
+ - NFS works on Fedora 16+. [GH-1140]
379
+ - NFS works with newer versions of Arch hosts that use systemd. [GH-1142]
380
+
381
+ ## 1.0.4 (September 13, 2012)
382
+
383
+ - VirtualBox 4.2 driver. [GH-1120]
384
+ - Correct `ssh-config` help to use `--host`, not `-h`.
385
+ - Use "127.0.0.1" instead of "localhost" for port checking to fix problem
386
+ where "localhost" is not properly setup. [GH-1057]
387
+ - Disable read timeout on Net::HTTP to avoid `rbuf_fill` error. [GH-1072]
388
+ - Retry SSH on `EHOSTUNREACH` errors.
389
+ - Add missing translation for "saving" state. [GH-1110]
390
+
391
+ ## 1.0.3 (May 1, 2012)
392
+
393
+ - Don't enable NAT DNS proxy on machines where resolv.conf already points
394
+ to localhost. This allows Vagrant to work once again with Ubuntu
395
+ 12.04. [GH-909]
396
+
397
+ ## 1.0.2 (March 25, 2012)
398
+
399
+ - Provisioners will still mount folders and such if `--no-provision` is
400
+ used, so that `vagrant provision` works. [GH-803]
401
+ - Nicer error message if an unsupported SSH key type is used. [GH-805]
402
+ - Gentoo guests can now have their host names changed. [GH-796]
403
+ - Relative paths can be used for the `config.ssh.private_key_path`
404
+ setting. [GH-808]
405
+ - `vagrant ssh` now works on Solaris, where `IdentitiesOnly` was not
406
+ an available option. [GH-820]
407
+ - Output works properly in the face of broken pipes. [GH-819]
408
+ - Enable Host IO Cache on the SATA controller by default.
409
+ - Chef-solo provisioner now supports encrypted data bags. [GH-816]
410
+ - Enable the NAT DNS proxy by default, allowing your DNS to continue
411
+ working when you switch networks. [GH-834]
412
+ - Checking for port forwarding collisions also checks for other applications
413
+ that are potentially listening on that port as well. [GH-821]
414
+ - Multiple VM names can be specified for the various commands now. For
415
+ example: `vagrant up web db service`. [GH-795]
416
+ - More robust error handling if a VM fails to boot. The error message
417
+ is much clearer now. [GH-825]
418
+
419
+ ## 1.0.1 (March 11, 2012)
420
+
421
+ - Installers are now bundled with Ruby 1.9.3p125. Previously they were
422
+ bundled with 1.9.3p0. This actually fixes some IO issues with Windows.
423
+ - Windows installer now outputs a `vagrant` binary that will work in msys
424
+ or Cygwin environments.
425
+ - Fix crashing issue which manifested itself in multi-VM environments.
426
+ - Add missing `rubygems` require in `environment.rb` to avoid
427
+ possible load errors. [GH-781]
428
+ - `vagrant destroy` shows a nice error when called without a
429
+ TTY (and hence can't confirm). [GH-779]
430
+ - Fix an issue with the `:vagrantfile_name` option to `Vagrant::Environment`
431
+ not working properly. [GH-778]
432
+ - `VAGRANT_CWD` environmental variable can be used to set the CWD to
433
+ something other than the current directory.
434
+ - Downloading boxes from servers that don't send a content-length
435
+ now works properly. [GH-788]
436
+ - The `:facter` option now works for puppet server. [GH-790]
437
+ - The `--no-provision` and `--provision-with` flags are available to
438
+ `vagrant reload` now.
439
+ - `:openbsd` guest which supports only halting at the moment. [GH-773]
440
+ - `ssh-config -h` now shows help, instead of assuming a host is being
441
+ specified. For host, you can still use `--host`. [GH-793]
442
+
443
+ ## 1.0.0 (March 6, 2012)
444
+
445
+ - `vagrant gem` should now be used to install Vagrant plugins that are
446
+ gems. This installs the gems to a private gem folder that Vagrant adds
447
+ to its own load path. This isolates Vagrant-related gems from system
448
+ gems.
449
+ - Plugin loading no longer happens right when Vagrant is loaded, but when
450
+ a Vagrant environment is loaded. I don't anticipate this causing any
451
+ problems but it is a backwards incompatible change should a plugin
452
+ depend on this (but I don't see any reason why they would).
453
+ - `vagrant destroy` now asks for confirmation by default. This can be
454
+ overridden with the `--force` flag. [GH-699]
455
+ - Fix issue with Puppet config inheritance. [GH-722]
456
+ - Fix issue where starting a VM on some systems was incorrectly treated
457
+ as failing. [GH-720]
458
+ - It is now an error to specify the packaging `output` as a directory. [GH-730]
459
+ - Unix-style line endings are used properly for guest OS. [GH-727]
460
+ - Retry certain VirtualBox operations, since they intermittently fail.
461
+ [GH-726]
462
+ - Fix issue where Vagrant would sometimes "lose" a VM if an exception
463
+ occurred. [GH-725]
464
+ - `vagrant destroy` destroys virtual machines in reverse order. [GH-739]
465
+ - Add an `fsid` option to Linux NFS exports. [GH-736]
466
+ - Fix edge case where an exception could be raised in networking code. [GH-742]
467
+ - Add missing translation for the "guru meditation" state. [GH-745]
468
+ - Check that VirtualBox exists before certain commands. [GH-746]
469
+ - NIC type can be defined for host-only network adapters. [GH-750]
470
+ - Fix issue where re-running chef-client would sometimes cause
471
+ problems due to file permissions. [GH-748]
472
+ - FreeBSD guests can now have their hostnames changed. [GH-757]
473
+ - FreeBSD guests now support host only networking and bridged networking. [GH-762]
474
+ - `VM#run_action` is now public so plugin-devs can hook into it.
475
+ - Fix crashing bug when attempting to run commands on the "primary"
476
+ VM in a multi-VM environment. [GH-761]
477
+ - With puppet you can now specify `:facter` as a dictionary of facts to
478
+ override what is generated by Puppet. [GH-753]
479
+ - Automatically convert all arguments to `customize` to strings.
480
+ - openSUSE host system. [GH-766]
481
+ - Fix subprocess IO deadlock which would occur on Windows. [GH-765]
482
+ - Fedora 16 guest support. [GH-772]
483
+
484
+ ## 0.9.7 (February 9, 2012)
485
+
486
+ - Fix regression where all subprocess IO simply didn't work with
487
+ Windows. [GH-721]
488
+
489
+ ## 0.9.6 (February 7, 2012)
490
+
491
+ - Fix strange issue with inconsistent childprocess reads on JRuby. [GH-711]
492
+ - `vagrant ssh` does a direct `exec()` syscall now instead of going through
493
+ the shell. This makes it so things like shell expansion oddities no longer
494
+ cause problems. [GH-715]
495
+ - Fix crashing case if there are no ports to forward.
496
+ - Fix issue surrounding improper configuration of host only networks on
497
+ RedHat guests. [GH-719]
498
+ - NFS should work properly on Gentoo. [GH-706]
499
+
500
+ ## 0.9.5 (February 5, 2012)
501
+
502
+ - Fix crashing case when all network options are `:auto_config false`.
503
+ [GH-689]
504
+ - Type of network adapter can be specified with `:nic_type`. [GH-690]
505
+ - The NFS version can be specified with the `:nfs_version` option
506
+ on shared folders. [GH-557]
507
+ - Greatly improved FreeBSD guest and host support. [GH-695]
508
+ - Fix instability with RedHat guests and host only and bridged networks.
509
+ [GH-698]
510
+ - When using bridged networking, only list the network interfaces
511
+ that are up as choices. [GH-701]
512
+ - More intelligent handling of the `certname` option for puppet
513
+ server. [GH-702]
514
+ - You may now explicitly set the network to bridge to in the Vagrantfile
515
+ using the `:bridge` parameter. [GH-655]
516
+
517
+ ## 0.9.4 (January 28, 2012)
518
+
519
+ - Important internal changes to middlewares that make plugin developer's
520
+ lives much easier. [GH-684]
521
+ - Match VM names that have parens, brackets, etc.
522
+ - Detect when the VirtualBox kernel module is not loaded and error. [GH-677]
523
+ - Set `:auto_config` to false on any networking option to not automatically
524
+ configure it on the guest. [GH-663]
525
+ - NFS shared folder guest paths can now contain shell expansion characters
526
+ such as `~`.
527
+ - NFS shared folders with a `:create` flag will have their host folders
528
+ properly created if they don't exist. [GH-667]
529
+ - Fix the precedence for Arch, Ubuntu, and FreeBSD host classes so
530
+ they are properly detected. [GH-683]
531
+ - Fix issue where VM import sometimes made strange VirtualBox folder
532
+ layouts. [GH-669]
533
+ - Call proper `id` command on Solaris. [GH-679]
534
+ - More accurate VBoxManage error detection.
535
+ - Shared folders can now be marked as transient using the `:transient`
536
+ flag. [GH-688]
537
+
538
+ ## 0.9.3 (January 24, 2012)
539
+
540
+ - Proper error handling for not enough arguments to `box` commands.
541
+ - Fix issue causing crashes with bridged networking. [GH-673]
542
+ - Ignore host only network interfaces that are "down." [GH-675]
543
+ - Use "printf" instead of "echo" to determine shell expanded files paths
544
+ which is more generally POSIX compliant. [GH-676]
545
+
546
+ ## 0.9.2 (January 20, 2012)
547
+
548
+ - Support shell expansions in shared folder guest paths again. [GH-656]
549
+ - Fix issue where Chef solo always expected the host to have a
550
+ "cookbooks" folder in their directory. [GH-638]
551
+ - Fix `forward_agent` not working when outside of blocks. [GH-651]
552
+ - Fix issue causing custom guest implementations to not load properly.
553
+ - Filter clear screen character out of output on SSH.
554
+ - Log output now goes on `stderr`, since it is utility information.
555
+ - Get rid of case where a `NoMethodError` could be raised while
556
+ determining VirtualBox version. [GH-658]
557
+ - Debian/Ubuntu uses `ifdown` again, instead of `ifconfig xxx down`, since
558
+ the behavior seems different/wrong.
559
+ - Give a nice error if `:vagrant` is used as a JSON key, since Vagrant
560
+ uses this. [GH-661]
561
+ - If there is only one bridgable interface, use that without asking
562
+ the user. [GH-655]
563
+ - The shell will have color output if ANSICON is installed on Windows. [GH-666]
564
+
565
+ ## 0.9.1 (January 18, 2012)
566
+
567
+ - Use `ifconfig device down` instead of `ifdown`. [GH-649]
568
+ - Clearer invalid log level error. [GH-645]
569
+ - Fix exception raised with NFS `recover` method.
570
+ - Fix `ui` `NoMethodError` exception in puppet server.
571
+ - Fix `vagrant box help` on Ruby 1.8.7. [GH-647]
572
+
573
+ ## 0.9.0 (January 17, 2012)
574
+
575
+ - VirtualBox 4.0 support backported in addition to supporting VirtualBox 4.1.
576
+ - `config.vm.network` syntax changed so that the first argument is now the type
577
+ of argument. Previously where you had `config.vm.network "33.33.33.10"` you
578
+ should now put `config.vm.network :hostonly, "33.33.33.10"`. This is in order
579
+ to support bridged networking, as well.
580
+ - `config.vm.forward_port` no longer requires a name parameter.
581
+ - Bridged networking. `config.vm.network` with `:bridged` as the option will
582
+ setup a bridged network.
583
+ - Host only networks can be configured with DHCP now. Specify `:dhcp` as
584
+ the IP and it will be done.
585
+ - `config.vm.customize` now takes a command to send to `VBoxManage`, so any
586
+ arbitrary command can be sent. The older style of passing a block no longer
587
+ works and Vagrant will give a proper error message if it notices this old-style
588
+ being used.
589
+ - `config.ssh.forwarded_port_key` is gone. Vagrant no longer cares about
590
+ forwarded port names for any reason. Please use `config.ssh.guest_port`
591
+ (more below).
592
+ - `config.ssh.forwarded_port_destination` has been replaced by
593
+ `config.ssh.guest_port` which more accurately reflects what it is
594
+ used for. Vagrant will automatically scan forwarded ports that match the
595
+ guest port to find the SSH port.
596
+ - Logging. The entire Vagrant source has had logging sprinkled throughout
597
+ to make debugging issues easier. To enable logging, set the VAGRANT_LOG
598
+ environmental variable to the log level you wish to see. By default,
599
+ logging is silent.
600
+ - `system` renamed to `guest` throughout the source. Any `config.vm.system`
601
+ configurations must be changed to `config.vm.guest`
602
+ - Puppet provisioner no longer defaults manifest to "box.pp." Instead, it
603
+ is now "default.pp"
604
+ - All Vagrant commands that take a VM name in a Multi-VM environment
605
+ can now be given a regular expression. If the name starts and ends with a "/"
606
+ then it is assumed to be a regular expression. [GH-573]
607
+ - Added a "--plain" flag to `vagrant ssh` which will cause Vagrant to not
608
+ perform any authentication. It will simply `ssh` into the proper IP and
609
+ port of the virtual machine.
610
+ - If a shared folder now has a `:create` flag set to `true`, the path on the
611
+ host will be created if it doesn't exist.
612
+ - Added `--force` flag to `box add`, which will overwite any existing boxes
613
+ if they exist. [GH-631]
614
+ - Added `--provision-with` to `up` which configures what provisioners run,
615
+ by shortcut. [GH-367]
616
+ - Arbitrary mount options can be passed with `:extra` to any shared
617
+ folders. [GH-551]
618
+ - Options passed after a `--` to `vagrant ssh` are now passed directly to
619
+ `ssh`. [GH-554]
620
+ - Ubuntu guests will now emit a `vagrant-mounted` upstart event after shared
621
+ folders are mounted.
622
+ - `attempts` is a new option on chef client and chef solo provisioners. This
623
+ will run the provisioner multiple times until erroring about failing
624
+ convergence. [GH-282]
625
+ - Removed Thor as a dependency for the command line interfaces. This resulted
626
+ in general speed increases across all command line commands.
627
+ - Linux uses `shutdown -h` instead of `halt` to hopefully more consistently
628
+ power off the system. [GH-575]
629
+ - Tweaks to SSH to hopefully be more reliable in coming up.
630
+ - Helpful error message when SCP is unavailable in the guest. [GH-568]
631
+ - Error message for improperly packaged box files. [GH-198]
632
+ - Copy insecure private key to user-owned directory so even
633
+ `sudo` installed Vagrant installations work. [GH-580]
634
+ - Provisioner stdout/stderr is now color coded based on stdout/stderr.
635
+ stdout is green, stderr is red. [GH-595]
636
+ - Chef solo now prompts users to run a `reload` if shared folders
637
+ are not found on the VM. [GH-253]
638
+ - "--no-provision" once again works for certain commands. [GH-591]
639
+ - Resuming a VM from a saved state will show an error message if there
640
+ would be port collisions. [GH-602]
641
+ - `vagrant ssh -c` will now exit with the same exit code as the command
642
+ run. [GH-598]
643
+ - `vagrant ssh -c` will now send stderr to stderr and stdout to stdout
644
+ on the host machine, instead of all output to stdout.
645
+ - `vagrant box add` path now accepts unexpanded shell paths such as
646
+ `~/foo` and will properly expand them. [GH-633]
647
+ - Vagrant can now be interrupted during the "importing" step.
648
+ - NFS exports will no longer be cleared when an expected error occurs. [GH-577]
649
+
650
+ ## 0.8.10 (December 10, 2011)
651
+
652
+ - Revert the SSH tweaks made in 0.8.8. It affected stability
653
+
654
+ ## 0.8.8 (December 1, 2011)
655
+
656
+ - Mount shared folders shortest to longest to avoid mounting
657
+ subfolders first. [GH-525]
658
+ - Support for basic HTTP auth in the URL for boxes.
659
+ - Solaris support for host only networks. [GH-533]
660
+ - `vagrant init` respects `Vagrant::Environment` cwd. [GH-528]
661
+ - `vagrant` commands will not output color when stdout is
662
+ not a TTY.
663
+ - Fix issue where `box_url` set with multiple VMs could cause issues. [GH-564]
664
+ - Chef provisioners no longer depend on a "v-root" share being
665
+ available. [GH-556]
666
+ - NFS should work for FreeBSD hosts now. [GH-510]
667
+ - SSH executed methods respect `config.ssh.max_tries`. [GH-508]
668
+ - `vagrant box add` now respects the "no_proxy" environmental variable.
669
+ [GH-502]
670
+ - Tweaks that should make "Waiting for VM to boot" slightly more
671
+ reliable.
672
+ - Add comments to Vagrantfile to make it detected as Ruby file for
673
+ `vi` and `emacs`. [GH-515]
674
+ - More correct guest addition version checking. [GH-514]
675
+ - Chef solo support on Windows is improved. [GH-542]
676
+ - Put encrypted data bag secret into `/tmp` by default so that
677
+ permissions are almost certainly guaranteed. [GH-512]
678
+
679
+ ## 0.8.7 (September 13, 2011)
680
+
681
+ - Fix regression with remote paths from chef-solo. [GH-431]
682
+ - Fix issue where Vagrant crashes if `.vagrant` file becomes invalid. [GH-496]
683
+ - Issue a warning instead of an error for attempting to forward a port
684
+ <= 1024. [GH-487]
685
+
686
+ ## 0.8.6 (August 28, 2011)
687
+
688
+ - Fix issue with download progress not properly clearing the line. [GH-476]
689
+ - NFS should work properly on Fedora. [GH-450]
690
+ - Arguments can be specified to the `shell` provisioner via the `args` option. [GH-475]
691
+ - Vagrant behaves much better when there are "inaccessible" VMs. [GH-453]
692
+
693
+ ## 0.8.5 (August 15, 2011)
694
+
695
+ Note: 0.8.3 and 0.8.4 was yanked due to RubyGems encoding issue.
696
+
697
+ - Fix SSH `exec!` to inherit proper `$PATH`. [GH-426]
698
+ - Chef client now accepts an empty (`nil`) run list again. [GH-429]
699
+ - Fix incorrect error message when running `provision` on halted VM. [GH-447]
700
+ - Checking guest addition versions now ignores OSE. [GH-438]
701
+ - Chef solo from a remote URL fixed. [GH-431]
702
+ - Arch linux support: host only networks and changing the host name. [GH-439] [GH-448]
703
+ - Chef solo `roles_path` and `data_bags_path` can only be be single paths. [GH-446]
704
+ - Fix `virtualbox_not_detected` error message to require 4.1.x. [GH-458]
705
+ - Add shortname (`hostname -s`) for hostname setting on RHEL systems. [GH-456]
706
+ - `vagrant ssh -c` output no longer has a prefix and respects newlines
707
+ from the output. [GH-462]
708
+
709
+ ## 0.8.2 (July 22, 2011)
710
+
711
+ - Fix issue with SSH disconnects not reconnecting.
712
+ - Fix chef solo simply not working with roles/data bags. [GH-425]
713
+ - Multiple chef solo provisioners now work together.
714
+ - Update Puppet provisioner so no deprecation warning is shown. [GH-421]
715
+ - Removed error on "provisioner=" in config, as this has not existed
716
+ for some time now.
717
+ - Add better validation for networking.
718
+
719
+ ## 0.8.1 (July 20, 2011)
720
+
721
+ - Repush of 0.8.0 to fix a Ruby 1.9.2 RubyGems issue.
722
+
723
+ ## 0.8.0 (July 20, 2011)
724
+
725
+ - VirtualBox 4.1 support _only_. Previous versions of VirtualBox
726
+ are supported by earlier versions of Vagrant.
727
+ - Performance optimizations in `virtualbox` gem. Huge speed gains.
728
+ - `:chef_server` provisioner is now `:chef_client`. [GH-359]
729
+ - SSH connection is now cached after first access internally,
730
+ speeding up `vagrant up`, `reload`, etc. quite a bit.
731
+ - Actions which modify the VM now occur much more quickly,
732
+ greatly speeding up `vagrant up`, `reload`, etc.
733
+ - SUSE host only networking support. [GH-369]
734
+ - Show nice error message for invalid HTTP responses for HTTP
735
+ downloader. [GH-403]
736
+ - New `:inline` option for shell provisioner to provide inline
737
+ scripts as a string. [GH-395]
738
+ - Host only network now properly works on multiple adapters. [GH-365]
739
+ - Can now specify owner/group for regular shared folders. [GH-350]
740
+ - `ssh_config` host name will use VM name if given. [GH-332]
741
+ - `ssh` `-e` flag changed to `-c` to align with `ssh` standard
742
+ behavior. [GH-323]
743
+ - Forward agent and forward X11 settings properly appear in
744
+ `ssh_config` output. [GH-105]
745
+ - Chef JSON can now be set with `chef.json =` instead of the old
746
+ `merge` technique. [GH-314]
747
+ - Provisioner configuration is no longer cleared when the box
748
+ needs to be downloaded during an `up`. [GH-308]
749
+ - Multiple Chef provisioners no longer overwrite cookbook folders. [GH-407]
750
+ - `package` won't delete previously existing file. [GH-408]
751
+ - Vagrantfile can be lowercase now. [GH-399]
752
+ - Only one copy of Vagrant may be running at any given time. [GH-364]
753
+ - Default home directory for Vagrant moved to `~/.vagrant.d` [GH-333]
754
+ - Specify a `forwarded_port_destination` for SSH configuration and
755
+ SSH port searching will fall back to that if it can't find any
756
+ other port. [GH-375]
757
+
758
+ ## 0.7.8 (July 19, 2011)
759
+
760
+ - Make sure VirtualBox version check verifies that it is 4.0.x.
761
+
762
+ ## 0.7.7 (July 12, 2011)
763
+
764
+ - Fix crashing bug with Psych and Ruby 1.9.2. [GH-411]
765
+
766
+ ## 0.7.6 (July 2, 2011)
767
+
768
+ - Run Chef commands in a single command. [GH-390]
769
+ - Add `nfs` option for Chef to mount Chef folders via NFS. [GH-378]
770
+ - Add translation for `aborted` state in VM. [GH-371]
771
+ - Use full paths with the Chef provisioner so that restart cookbook will
772
+ work. [GH-374]
773
+ - Add "--no-color" as an argument and no colorized output will be used. [GH-379]
774
+ - Added DEVICE option to the RedHat host only networking entry, which allows
775
+ host only networking to work even if the VM has multiple NICs. [GH-382]
776
+ - Touch the network configuration file for RedHat so that the `sed` works
777
+ with host only networking. [GH-381]
778
+ - Load prerelease versions of plugins if available.
779
+ - Do not load a plugin if it depends on an invalid version of Vagrant.
780
+ - Encrypted data bag support in Chef server provisioner. [GH-398]
781
+ - Use the `-H` flag to set the proper home directory for `sudo`. [GH-370]
782
+
783
+ ## 0.7.5 (May 16, 2011)
784
+
785
+ - `config.ssh.port` can be specified and takes highest precedence if specified.
786
+ Otherwise, Vagrant will still attempt to auto-detect the port. [GH-363]
787
+ - Get rid of RubyGems deprecations introduced with RubyGems 1.8.x
788
+ - Search in pre-release gems for plugins as well as release gems.
789
+ - Support for Chef-solo `data_bags_path` [GH-362]
790
+ - Can specify path to Chef binary using `binary_path` [GH-342]
791
+ - Can specify additional environment data for Chef using `binary_env` [GH-342]
792
+
793
+ ## 0.7.4 (May 12, 2011)
794
+
795
+ - Chef environments support (for Chef 0.10) [GH-358]
796
+ - Suppress the "added to known hosts" message for SSH [GH-354]
797
+ - Ruby 1.8.6 support [GH-352]
798
+ - Chef proxy settings now work for chef server [GH-335]
799
+
800
+ ## 0.7.3 (April 19, 2011)
801
+
802
+ - Retry all SSH on Net::SSH::Disconnect in case SSH is just restarting. [GH-313]
803
+ - Add NFS shared folder support for Arch linux. [GH-346]
804
+ - Fix issue with unknown terminal type output for sudo commands.
805
+ - Forwarded port protocol can now be set as UDP. [GH-311]
806
+ - Chef server file cache path and file backup path can be configured. [GH-310]
807
+ - Setting hostname should work on Debian now. [GH-307]
808
+
809
+ ## 0.7.2 (February 8, 2011)
810
+
811
+ - Update JSON dependency to 1.5.1, which works with Ruby 1.9 on
812
+ Windows.
813
+ - Fix sudo issues on sudo < 1.7.0 (again).
814
+ - Fix race condition in SSH, which specifically manifested itself in
815
+ the chef server provisioner. [GH-295]
816
+ - Change sudo shell to use `bash` (configurable). [GH-301]
817
+ - Can now set mac address of host only network. [GH-294]
818
+ - NFS shared folders with spaces now work properly. [GH-293]
819
+ - Failed SSH commands now show output in error message. [GH-285]
820
+
821
+ ## 0.7.1 (January 28, 2011)
822
+
823
+ - Change error output with references to VirtualBox 3.2 to 4.0.
824
+ - Internal SSH through net-ssh now uses `IdentitiesOnly` thanks to
825
+ upstream net-ssh fix.
826
+ - Fix issue causing warnings to show with `forwardx11` enabled for SSH. [GH-279]
827
+ - FreeBSD support for host only networks, NFS, halting, etc. [GH-275]
828
+ - Make SSH commands which use sudo compatible with sudo < 1.7.0. [GH-278]
829
+ - Fix broken puppet server provisioner which called a nonexistent
830
+ method.
831
+ - Default SSH host changed from `localhost` to `127.0.0.1` since
832
+ `localhost` is not always loopback.
833
+ - New `shell` provisioner which simply uploads and executes a script as
834
+ root on the VM.
835
+ - Gentoo host only networking no longer fails if alrady setup. [GH-286]
836
+ - Set the host name of your guest OS with `config.vm.host_name` [GH-273]
837
+ - `vagrant ssh-config` now outputs the configured `config.ssh.host`
838
+
839
+ ## 0.7.0 (January 19, 2011)
840
+
841
+ - VirtualBox 4.0 support. Support for VirtualBox 3.2 is _dropped_, since
842
+ the API is so different. Stay with the 0.6.x series if you have VirtualBox
843
+ 3.2.x.
844
+ - Puppet server provisioner. [GH-262]
845
+ - Use numeric uid/gid in mounting shared folders to increase portability. [GH-252]
846
+ - HTTP downloading follows redirects. [GH-163]
847
+ - Downloaders have clearer output to note what they're doing.
848
+ - Shared folders with no guest path are not automounted. [GH-184]
849
+ - Boxes downloaded during `vagrant up` reload the Vagrantfile config, which
850
+ fixes a problem with box settings not being properly loaded. [GH-231]
851
+ - `config.ssh.forward_x11` to enable the ForwardX11 SSH option. [GH-255]
852
+ - Vagrant source now has a `contrib` directory where contributions of miscellaneous
853
+ addons for Vagrant will be added.
854
+ - Vagrantfiles are now loaded only once (instead of 4+ times) [GH-238]
855
+ - Ability to move home vagrant dir (~/.vagrant) by setting VAGRANT_HOME
856
+ environmental variable.
857
+ - Removed check and error for the "OSE" version of VirtualBox, since with
858
+ VirtualBox 4 this distinction no longer exists.
859
+ - Ability to specify proxy settings for chef. [GH-169]
860
+ - Helpful error message shown if NFS mounting fails. [GH-135]
861
+ - Gentoo guests now support host only networks. [GH-240]
862
+ - RedHat (CentOS included) guests now support host only networks. [GH-260]
863
+ - New Vagrantfile syntax for enabling and configuring provisioners. This
864
+ change is not backwards compatible. [GH-265]
865
+ - Provisioners are now RVM-friendly, meaning if you installed chef or puppet
866
+ with an RVM managed Ruby, Vagrant now finds then. [GH-254]
867
+ - Changed the unused host only network destroy mechanism to check for
868
+ uselessness after the VM is destroyed. This should result in more accurate
869
+ checks.
870
+ - Networks are no longer disabled upon halt/destroy. With the above
871
+ change, its unnecessary.
872
+ - Puppet supports `module_path` configuration to mount local modules directory
873
+ as a shared folder and configure puppet with it. [GH-270]
874
+ - `ssh-config` now outputs `127.0.0.1` as the host instead of `localhost`.
875
+
876
+ ## 0.6.9 (December 21, 2010)
877
+
878
+ - Puppet provisioner. [GH-223]
879
+ - Solaris system configurable to use `sudo`.
880
+ - Solaris system registered, so it can be set with `:solaris`.
881
+ - `vagrant package` include can be a directory name, which will cause the
882
+ contents to be recursively copied into the package. [GH-241]
883
+ - Arbitrary options to puppet binary can be set with `config.puppet.options`. [GH-242]
884
+ - BSD hosts use proper GNU sed syntax for clearing NFS shares. [GH-243]
885
+ - Enumerate VMs in a multi-VM environment in order they were defined. [GH-244]
886
+ - Check for VM boot changed to use `timeout` library, which works better with Windows.
887
+ - Show special error if VirtualBox not detected on 64-bit Windows.
888
+ - Show error to Windows users attempting to use host only networking since
889
+ it doesn't work yet.
890
+
891
+ ## 0.6.8 (November 30, 2010)
892
+
893
+ - Network interfaces are now up/down in distinct commands instead of just
894
+ restarting "networking." [GH-192]
895
+ - Add missing translation for chef binary missing. [GH-203]
896
+ - Fix default settings for Opscode platform and comments. [GH-213]
897
+ - Blank client name for chef server now uses FQDN by default, instead of "client" [GH-214]
898
+ - Run list can now be nil, which will cause it to sync with chef server (when
899
+ chef server is enabled). [GH-214]
900
+ - Multiple NFS folders now work on linux. [GH-215]
901
+ - Add translation for state "stuck" which is very rare. [GH-218]
902
+ - virtualbox gem dependency minimum raised to 0.7.6 to verify FFI < 1.0.0 is used.
903
+ - Fix issue where box downloading from `vagrant up` didn't reload the box collection. [GH-229]
904
+
905
+ ## 0.6.7 (November 3, 2010)
906
+
907
+ - Added validation to verify that a box is specified.
908
+ - Proper error message when box is not found for `config.vm.box`. [GH-195]
909
+ - Fix output of `vagrant status` with multi-vm to be correct. [GH-196]
910
+
911
+ ## 0.6.6 (October 14, 2010)
912
+
913
+ - `vagrant status NAME` works once again. [GH-191]
914
+ - Conditional validation of Vagrantfile so that some commands don't validate. [GH-188]
915
+ - Fix "junk" output for ssh-config. [GH-189]
916
+ - Fix port collision handling with greater than two VMs. [GH-185]
917
+ - Fix potential infinite loop with root path if bad CWD is given to environment.
918
+
919
+ ## 0.6.5 (October 8, 2010)
920
+
921
+ - Validations on base MAC address to avoid situation described in GH-166, GH-181
922
+ from ever happening again.
923
+ - Properly load sub-VM configuration on first-pass of config loading. Solves
924
+ a LOT of problems with multi-VM. [GH-166] [GH-181]
925
+ - Configuration now only validates on final Vagrantfile proc, so multi-VM
926
+ validates correctly.
927
+ - A nice error message is given if ".vagrant" is a directory and therefore
928
+ can't be accessed. [GH-172]
929
+ - Fix plugin loading in a Rails 2.3.x project. [GH-176]
930
+
931
+ ## 0.6.4 (October 4, 2010)
932
+
933
+ - Default VM name is now properly the parent folder of the working directory
934
+ of the environment.
935
+ - Added method to `TestHelpers` to assist with testing new downloaders.
936
+ - `up --no-provision` works again. This disables provisioning during the
937
+ boot process.
938
+ - Action warden doesn't do recovery process on `SystemExit` exceptions,
939
+ allowing the double ctrl-C to work properly again. [related to GH-166]
940
+ - Initial Vagrantfile is now heavily commented with various available
941
+ options. [GH-171]
942
+ - Box add checks if a box already exists before the download. [GH-170]
943
+ - NFS no longer attempts to clean exports file if VM is not created,
944
+ which was causing a stack trace during recovery. [related to GH-166]
945
+ - Basic validation added for Chef configuration (both solo and server).
946
+ - Top config class is now available in all `Vagrant::Config::Base`
947
+ subclasses, which is useful for config validation.
948
+ - Subcommand help shows proper full command in task listing. [GH-168]
949
+ - SSH gives error message if `ssh` binary is not found. [GH-161]
950
+ - SSH gives proper error message if VM is not running. [GH-167]
951
+ - Fix some issues with undefined constants in command errors.
952
+
953
+ ## 0.6.1, 0.6.2, 0.6.3 (September 27, 2010)
954
+
955
+ A lot of quick releases which all were to fix issues with Ruby 1.8.7
956
+ compatibility.
957
+
958
+ ## 0.6.0 (September 27, 2010)
959
+
960
+ - VM name now defaults to the name of the containing folder, plus a timestamp.
961
+ This should make it easier to identify VMs in the VirtualBox GUI.
962
+ - Exposed Vagrant test helpers in `Vagrant::TestHelpers` for plugins to easily
963
+ test themselves against Vagrant environments.
964
+ - **Plugins** have landed. Plugins are simply gems which have a `vagrant_init.rb`
965
+ file somewhere in their load path. Please read the documentation on
966
+ vagrantup.com before attempting to create a plugin (which is very easy)
967
+ for more information on how it all works and also some guidelines.
968
+ - `vagrant package` now takes a `--vagrantfile` option to specify a
969
+ Vagrantfile to package. The `--include` approach for including a Vagrantfile
970
+ no longer works (previously built boxes will continue to work).
971
+ - `vagrant package` has new logic with regards to the `--include` option
972
+ depending on if the file path is relative or absolute (they can be
973
+ intermixed):
974
+ * _Relative_ paths are copied directly into the box, preserving
975
+ their path. So `--include lib/foo` would be in the box as "lib/foo"
976
+ * _Absolute_ paths are simply copied files into the root of the
977
+ box. So `--include /lib/foo` would be in the box as "foo"
978
+ - "vagrant_main" is no longer the default run list. Instead, chef
979
+ run list starts empty. It is up to you to specify all recipes in
980
+ the Vagrantfile now.
981
+ - Fixed various issues with certain action middleware not working if
982
+ the VM was not created.
983
+ - SSH connection is retried 5 times if there is a connection refused.
984
+ Related to GH-140.
985
+ - If `http_proxy` environmental variable is set, it will be used as the proxy
986
+ box adding via http.
987
+ - Remove `config.ssh.password`. It hasn't been used for a few versions
988
+ now and was only kept around to avoid exceptions in Vagrantfiles.
989
+ - Configuration is now validated so improper input can be found in
990
+ Vagrantfiles.
991
+ - Fixed issue with not detecting Vagrantfile at root directory ("/").
992
+ - Vagrant now gives a nice error message if there is a syntax error
993
+ in any Vagrantfile. [GH-154]
994
+ - The format of the ".vagrant" file which stores persisted VMs has
995
+ changed. This is **backwards incompatible**. Will provide an upgrade
996
+ utility prior to 0.6 launch.
997
+ - Every [expected] Vagrant error now exits with a clean error message
998
+ and a unique exit status, and raises a unique exception (if you're
999
+ scripting Vagrant).
1000
+ - Added I18n gem dependency for pulling strings into clean YML files.
1001
+ Vagrant is now localizable as a side effect! Translations welcome.
1002
+ - Fixed issue with "Waiting for cleanup" message appearing twice in
1003
+ some cases. [GH-145]
1004
+ - Converted CLI to use Thor. As a tradeoff, there are some backwards
1005
+ incompatibilities:
1006
+ * `vagrant package` - The `--include` flag now separates filenames
1007
+ by spaces, instead of by commas. e.g. `vagrant package --include x y z`
1008
+ * `vagrant ssh` - If you specify a command to execute using the `--execute`
1009
+ flag, you may now only specify one command (before you were able to
1010
+ specify an arbitrary amount). e.g. `vagrant ssh -e "echo hello"`
1011
+ * `vagrant ssh-config` has become `vagrant ssh_config` due to a limitation
1012
+ in Thor.
1013
+
1014
+ ## 0.5.4 (September 7, 2010)
1015
+
1016
+ - Fix issue with the "exec failed" by running on Tiger as well.
1017
+ - Give an error when downloading a box which already exists prior
1018
+ to actually downloading the box.
1019
+
1020
+ ## 0.5.3 (August 23, 2010)
1021
+
1022
+ - Add erubis as a dependency since its rendering of `erb` is sane.
1023
+ - Fixed poorly formatted Vagrantfile after `vagrant init`. [GH-142]
1024
+ - Fixed NFS not working properly with multiple NFS folders.
1025
+ - Fixed chef solo provision to work on Windows. It was expanding a linux
1026
+ path which prepended a drive letter onto it.
1027
+
1028
+ ## 0.5.2 (August 3, 2010)
1029
+
1030
+ - `vagrant up` can be used as a way to resume the VM as well (same as
1031
+ `vagrant resume`). [GH-134]
1032
+ - Sudo uses "-E" flag to preserve environment for chef provisioners.
1033
+ This fixes issues with CentOS. [GH-133]
1034
+ - Added "IdentitiesOnly yes" to options when `vagrant ssh` is run to
1035
+ avoid "Too Many Authentication Failures" error. [GH-131]
1036
+ - Fix regression with `package` not working. [GH-132]
1037
+ - Added ability to specify box url in `init`, which populates the
1038
+ Vagrantfile with the proper `config.vm.box_url`.
1039
+
1040
+ ## 0.5.1 (July 31, 2010)
1041
+
1042
+ - Allow specifying cookbook paths which exist only on the VM in `config.chef.cookbooks_path`.
1043
+ This is used for specifying cookbook paths when `config.chef.recipe_url` is used. [GH-130]
1044
+ See updated chef solo documentation for more information on this.
1045
+ - No longer show "Disabling host only networks..." if no host only networks
1046
+ are destroyed. Quiets `destroy`, `halt`, etc output a bit.
1047
+ - Updated getting started guide to be more up to date and generic. [GH-125]
1048
+ - Fixed error with doing a `vagrant up` when no Vagrantfile existed. [GH-128]
1049
+ - Fixed NFS erroring when NFS wasn't even enabled if `/etc/exports` doesn't
1050
+ exist. [GH-126]
1051
+ - Fixed `vagrant resume` to properly resume a suspended VM. [GH-122]
1052
+ - Fixed `halt`, `destroy`, `reload` to where they failed if the VM was
1053
+ in a saved state. [GH-123]
1054
+ - Added `config.chef.recipe_url` which allows you to specify a URL to
1055
+ a gzipped tar file for chef solo to download cookbooks. See the
1056
+ [chef-solo docs](http://wiki.opscode.com/display/chef/Chef+Solo#ChefSolo-RunningfromaURL) for more information.
1057
+ [GH-121]
1058
+ - Added `vagrant box repackage` which repackages boxes which have
1059
+ been added. This is useful in case you want to redistribute a base
1060
+ box you have but may have lost the actual "box" file. [GH-120]
1061
+
1062
+ ## Previous
1063
+
1064
+ The changelog began with version 0.5.1 so any changes prior to that
1065
+ can be seen by checking the tagged releases and reading git commit
1066
+ messages.
1067
+