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,7 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ auto eth<%= options[:interface] %>
4
+ iface eth<%= options[:interface] %> inet static
5
+ address <%= options[:ip] %>
6
+ netmask <%= options[:netmask] %>
7
+ #VAGRANT-END
@@ -0,0 +1,6 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ BOOTPROTO=dhcp
4
+ ONBOOT=yes
5
+ DEVICE=p7p<%= options[:interface] %>
6
+ #VAGRANT-END
@@ -0,0 +1,13 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ NM_CONTROLLED=no
4
+ BOOTPROTO=static
5
+ ONBOOT=yes
6
+ IPADDR=<%= options[:ip] %>
7
+ NETMASK=<%= options[:netmask] %>
8
+ DEVICE=p7p<%= options[:interface] %>
9
+ <%= options[:gateway] ? "GATEWAY=#{options[:gateway]}" : '' %>
10
+ <%= options[:mac_address] ? "HWADDR=#{options[:mac_address]}" : '' %>
11
+ <%= options[:dns1] ? "DNS1=#{options[:dns1]}" : 'DNS1=8.8.4.4' %>
12
+ <%= options[:dns2] ? "DNS2=#{options[:dns2]}" : 'DNS1=8.8.8.8' %>
13
+ #VAGRANT-END
@@ -0,0 +1,3 @@
1
+ #VAGRANT-BEGIN
2
+ ifconfig_em<%= options[:interface] %>="DHCP"
3
+ #VAGRANT-END
@@ -0,0 +1,3 @@
1
+ #VAGRANT-BEGIN
2
+ ifconfig_em<%= options[:interface] %>="inet <%= options[:ip] %> netmask <%= options[:netmask] %>"
3
+ #VAGRANT-END
@@ -0,0 +1,4 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ config_eth<%= options[:interface] %>="dhcp"
4
+ #VAGRANT-END
@@ -0,0 +1,4 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ config_eth<%= options[:interface] %>=("<%= options[:ip] %> netmask <%= options[:netmask] %>")
4
+ #VAGRANT-END
@@ -0,0 +1,6 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ BOOTPROTO=dhcp
4
+ ONBOOT=yes
5
+ DEVICE=eth<%= options[:interface] %>
6
+ #VAGRANT-END
@@ -0,0 +1,7 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ BOOTPROTO=static
4
+ IPADDR=<%= options[:ip] %>
5
+ NETMASK=<%= options[:netmask] %>
6
+ DEVICE=eth<%= options[:interface] %>
7
+ #VAGRANT-END
@@ -0,0 +1,747 @@
1
+ en:
2
+ vagrant:
3
+ general:
4
+ moving_home_dir: "Moving old Vagrant home directory to new location: %{directory}"
5
+ home_dir_migration_failed: |-
6
+ Both an old and new Vagrant home directory exist. Only the new one will
7
+ be used. Please merge the old directory into the new directory if you'd
8
+ like to use the old data as well.
9
+
10
+ Old: %{old}
11
+ New: %{new}
12
+
13
+ #-------------------------------------------------------------------------------
14
+ # Translations for exception classes
15
+ #-------------------------------------------------------------------------------
16
+ errors:
17
+ base_vm_not_found: The base VM with the name '%{name}' was not found.
18
+ box_not_found: Box '%{name}' could not be found.
19
+ cli_invalid_options: |-
20
+ An invalid option was specified. The help for this command
21
+ is available below.
22
+
23
+ %{help}
24
+ cli_invalid_usage: |-
25
+ This command was not invoked properly. The help for this command is
26
+ available below.
27
+
28
+ %{help}
29
+ config_validation: |-
30
+ There was a problem with the configuration of Vagrant. The error message(s)
31
+ are printed below:
32
+
33
+ %{messages}
34
+ deprecation: |-
35
+ You are using a feature that has been removed in this version. Explanation:
36
+
37
+ %{message}
38
+ Note that this error message will not appear in the next version of Vagrant.
39
+ destroy_requires_force: |-
40
+ Destroy doesn't have a TTY to ask for confirmation. Please pass the
41
+ `--force` flag to force a destroy, otherwise attach a TTY so that
42
+ the destroy can be confirmed.
43
+ dotfile_is_directory: |-
44
+ The local file Vagrant uses to store data ".vagrant" already exists
45
+ and is a directory! If you are in your home directory, then please run
46
+ this command in another directory. If you aren't in a home directory,
47
+ then please rename ".vagrant" to something else, or configure Vagrant
48
+ to use another filename by modifying `config.vagrant.dotfile_name`.
49
+ environment_locked: |-
50
+ An instance of Vagrant is already running. Only one instance of Vagrant
51
+ may run at any given time to avoid problems with VirtualBox inconsistencies
52
+ occurring. Please wait for the other instance of Vagrant to end and then
53
+ try again.
54
+ gem_command_in_bundler: |-
55
+ You cannot run the `vagrant gem` command while in a bundler environment.
56
+ Bundler messes around quite a bit with the RubyGem load paths and gems
57
+ installed via `vagrant gem` are excluded by Bundler.
58
+
59
+ Instead, please include your Vagrant plugins in your Gemfile itself.
60
+ guest:
61
+ invalid_class: |-
62
+ The specified guest class does not inherit from `Vagrant::Guest::Base`.
63
+ The specified guest class must inherit from this class.
64
+
65
+ The specified guest class was: %{guest}
66
+ unknown_type: |-
67
+ The specified guest type is unknown: %{guest}. Please change this
68
+ to a proper value.
69
+ unspecified: |-
70
+ A VM guest type must be specified! This is done via the `config.vm.guest`
71
+ configuration value. Please read the documentation online for more information.
72
+ home_dir_not_accessible: |-
73
+ The home directory you specified is not accessible. The home
74
+ directory that Vagrant uses must be both readable and writable.
75
+
76
+ You specified: %{home_path}
77
+ interrupted: |-
78
+ Vagrant exited after cleanup due to external interrupt.
79
+ multi_vm_required: |-
80
+ A multi-vm environment is required for name specification to this command.
81
+ multi_vm_target_required: |-
82
+ This command requires a specific VM name to target in a multi-VM environment.
83
+ no_env: |-
84
+ A Vagrant environment is required to run this command. Run `vagrant init`
85
+ to set one up.
86
+ port_collision_resume: |-
87
+ This VM cannot be resumed, because the forwarded ports would collide with
88
+ another running virtual machine. Normally, Vagrant will attempt to fix this
89
+ for you but VirtualBox only allows forwarded ports to change if the VM is
90
+ powered off. Therefore, please reload your VM or halt the other running
91
+ VMs to continue.
92
+ scp_unavailable: |-
93
+ SSH server on the guest doesn't support SCP. Please install the necessary
94
+ software to enable SCP on your guest operating system.
95
+ shared_folder_create_failed: |-
96
+ Failed to create the following shared folder on the host system. This is
97
+ usually because Vagrant does not have sufficient permissions to create
98
+ the folder.
99
+
100
+ %{path}
101
+
102
+ Please create the folder manually or specify another path to share.
103
+ ssh_authentication_failed: |-
104
+ SSH authentication failed! This is typically caused by the public/private
105
+ keypair for the SSH user not being properly set on the guest VM. Please
106
+ verify that the guest VM is setup with the proper public key, and that
107
+ the private key path for Vagrant is setup properly as well.
108
+ ssh_bad_exit_status: |-
109
+ The following SSH command responded with a non-zero exit status.
110
+ Vagrant assumes that this means the command failed!
111
+
112
+ %{command}
113
+ ssh_connection_refused: |-
114
+ SSH connection was refused! This usually happens if the VM failed to
115
+ boot properly. Some steps to try to fix this: First, try reloading your
116
+ VM with `vagrant reload`, since a simple restart sometimes fixes things.
117
+ If that doesn't work, destroy your VM and recreate it with a `vagrant destroy`
118
+ followed by a `vagrant up`. If that doesn't work, contact a Vagrant
119
+ maintainer (support channels listed on the website) for more assistance.
120
+ ssh_key_bad_permissions: |-
121
+ The private key to connect to this box via SSH has invalid permissions
122
+ set on it. The permissions of the private key should be set to 0600, otherwise SSH will
123
+ ignore the key. Vagrant tried to do this automatically for you but failed. Please set the
124
+ permissions on the following file to 0600 and then try running this command again:
125
+
126
+ %{key_path}
127
+ ssh_key_type_not_supported: |-
128
+ The private key you're attempting to use with this Vagrant box uses
129
+ an unsupported encryption type. The SSH library Vagrant uses does not support
130
+ this key type. Please use `ssh-rsa` or `ssh-dss` instead.
131
+ ssh_port_not_detected: |-
132
+ Vagrant couldn't determine the SSH port for your VM! Vagrant attempts to
133
+ automatically find a forwarded port that matches your `config.ssh.guest_port`
134
+ (default: 22) value and uses this for SSH. Alternatively, if `config.ssh.port`
135
+ is set, it will use this.
136
+
137
+ However, in this case Vagrant was unable to find a forwarded port that matches
138
+ the guest port and `config.ssh.port` is not set!
139
+
140
+ Please make sure that you have a forwarded port that goes to the configured
141
+ guest port value, or specify an explicit SSH port with `config.ssh.port`.
142
+ ssh_unavailable: "`ssh` binary could not be found. Is an SSH client installed?"
143
+ ssh_unavailable_windows: |-
144
+ `vagrant ssh` isn't available on the Windows platform. You are still able
145
+ to SSH into the virtual machine if you get a Windows SSH client (such as
146
+ PuTTY). The authentication information is shown below:
147
+
148
+ Host: %{host}
149
+ Port: %{port}
150
+ Username: %{username}
151
+ Private key: %{key_path}
152
+ ui_expects_tty: |-
153
+ Vagrant is attempting to interface with the UI in a way that requires
154
+ a TTY. Most actions in Vagrant that require a TTY have configuration
155
+ switches to disable this requirement. Please do that or run Vagrant
156
+ with TTY.
157
+ vagrantfile_exists: |-
158
+ `Vagrantfile` already exists in this directory. Remove it before
159
+ running `vagrant init`.
160
+ vagrantfile_syntax_error: |-
161
+ There is a syntax error in the following Vagrantfile. The syntax error
162
+ message is reproduced below for convenience:
163
+
164
+ %{file}
165
+ vboxmanage_error: |-
166
+ There was an error executing the following command with VBoxManage:
167
+
168
+ %{command}
169
+
170
+ For more information on the failure, enable detailed logging with
171
+ VAGRANT_LOG.
172
+ virtualbox_invalid_version: |-
173
+ Vagrant has detected that you have a version of VirtualBox installed
174
+ that is not supported. Please install one of the supported versions
175
+ listed below to use Vagrant:
176
+
177
+ %{supported_versions}
178
+ virtualbox_kernel_module_not_loaded: |-
179
+ VirtualBox is complaining that the kernel module is not loaded. Please
180
+ run `VBoxManage --version` to see the error message which should contain
181
+ instructions on how to fix this error.
182
+ virtualbox_not_detected: |-
183
+ Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
184
+ Vagrant uses the `VBoxManage` binary that ships with VirtualBox, and requires
185
+ this to be available on the PATH. If VirtualBox is installed, please find the
186
+ `VBoxManage` binary and add it to the PATH environmental variable.
187
+ vm_creation_required: |-
188
+ VM must be created before running this command. Run `vagrant up` first.
189
+ vm_inaccessible: |-
190
+ Your VM has become "inaccessible." Unfortunately, this is a critical error
191
+ with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox
192
+ and clear out your inaccessible virtual machines or find a way to fix
193
+ them.
194
+ vm_no_match: |-
195
+ No virtual machines matched the regular expression given.
196
+ vm_not_found: |-
197
+ A VM by the name of %{name} was not found.
198
+ vm_not_running: |-
199
+ VM must be running to open SSH connection. Run `vagrant up`
200
+ to start the virtual machine.
201
+
202
+ #-------------------------------------------------------------------------------
203
+ # Translations for config validation errors
204
+ #-------------------------------------------------------------------------------
205
+ config:
206
+ common:
207
+ error_empty: "`%{field}` must be filled in."
208
+ chef:
209
+ cookbooks_path_empty: "Must specify a cookbooks path for chef solo."
210
+ run_list_empty: "Run list must not be empty."
211
+ server_url_empty: "Chef server URL must be populated."
212
+ vagrant_as_json_key: |-
213
+ `vagrant` cannot be a JSON key, because it is used by Vagrant already.
214
+ validation_key_path: "Validation key path must be valid path to your chef server validation key."
215
+ ssh:
216
+ private_key_missing: "`private_key_path` file must exist: %{path}"
217
+ vm:
218
+ base_mac_invalid: "Base MAC address for eth0/NAT must be set. Contact box maintainer for more information."
219
+ boot_mode_invalid: "Boot mode must be one of: headless or gui"
220
+ box_missing: "A box must be specified."
221
+ box_not_found: "The box '%{name}' could not be found."
222
+ network_invalid: |-
223
+ The network type '%{type}' is not valid. Please use
224
+ 'hostonly' or 'bridged'.
225
+ network_ip_required: |-
226
+ Host only networks require an IP as an argument.
227
+ network_ip_invalid: |-
228
+ The host only network IP '%{ip}' is invalid.
229
+ network_ip_ends_one: |-
230
+ The host only network IP '%{ip}' must not end in a 1, as this
231
+ is reserved for the host machine.
232
+ shared_folder_hostpath_missing: "Shared folder host path for '%{name}' doesn't exist: %{path}"
233
+ shared_folder_nfs_owner_group: |-
234
+ Shared folder '%{name}': NFS does not support the owner/group settings.
235
+ provisioner_not_found: "The provisioner '%{shortcut}' doesn't exist."
236
+ provisioner_invalid_class: "The provisioner '%{shortcut}' must inherit from `Vagrant::Provisioners::Base`."
237
+
238
+ #-------------------------------------------------------------------------------
239
+ # Translations for commands. e.g. `vagrant x`
240
+ #-------------------------------------------------------------------------------
241
+ commands:
242
+ common:
243
+ vm_not_created: "VM not created. Moving on..."
244
+ vm_not_running: "VM is not currently running. Please bring it up to run this command."
245
+ box:
246
+ no_installed_boxes: "There are no installed boxes! Use `vagrant box add` to add some."
247
+ destroy:
248
+ confirmation: "Are you sure you want to destroy the '%{name}' VM? [Y/N] "
249
+ will_not_destroy: |-
250
+ The VM '%{name}' will not be destroyed, since the confirmation
251
+ was declined.
252
+ gem:
253
+ help_preamble: |-
254
+ `vagrant gem` is used to install Vagrant plugins via the RubyGems
255
+ system. In fact, `vagrant gem` is just a frontend to the actual `gem`
256
+ interface, with the difference being that Vagrant sets up a custom
257
+ directory where gems are installed so that they are isolated from your
258
+ system gems.
259
+ init:
260
+ success: |-
261
+ A `Vagrantfile` has been placed in this directory. You are now
262
+ ready to `vagrant up` your first virtual environment! Please read
263
+ the comments in the Vagrantfile as well as documentation on
264
+ `vagrantup.com` for more information on using Vagrant.
265
+ status:
266
+ aborted: |-
267
+ The VM is in an aborted state. This means that it was abruptly
268
+ stopped without properly closing the session. Run `vagrant up`
269
+ to resume this virtual machine. If any problems persist, you may
270
+ have to destroy and restart the virtual machine.
271
+ gurumeditation: |-
272
+ The VM is in the "guru meditation" state. This is a rare case which means
273
+ that an internal error in VitualBox caused the VM to fail. This is always
274
+ the sign of a bug in VirtualBox. You can try to bring your VM back online
275
+ with a `vagrant up`.
276
+ inaccessible: |-
277
+ The VM is inaccessible! This is a rare case which means that VirtualBox
278
+ can't find your VM configuration. This usually happens when upgrading
279
+ VirtualBox, moving to a new computer, etc. Please consult VirtualBox
280
+ for how to handle this issue.
281
+ output: |-
282
+ Current VM states:
283
+
284
+ %{states}
285
+
286
+ %{message}
287
+ not_created: |-
288
+ The environment has not yet been created. Run `vagrant up` to
289
+ create the environment.
290
+ paused: |-
291
+ The VM is paused. This VM may have been paused via the VirtualBox
292
+ GUI or the VBoxManage command line interface. To unpause, please
293
+ use the VirtualBox GUI and/or VBoxManage command line interface so
294
+ that vagrant would be able to control the VM again.
295
+ poweroff: |-
296
+ The VM is powered off. To restart the VM, simply run `vagrant up`
297
+ running: |-
298
+ The VM is running. To stop this VM, you can run `vagrant halt` to
299
+ shut it down forcefully, or you can run `vagrant suspend` to simply
300
+ suspend the virtual machine. In either case, to restart it again,
301
+ simply run `vagrant up`.
302
+ saving: |-
303
+ The VM is currently saving its state. In a few moments this state
304
+ should transition to "saved." Please run `vagrant status` again
305
+ in a few seconds.
306
+ saved: |-
307
+ To resume this VM, simply run `vagrant up`.
308
+ stuck: |-
309
+ The VM is "stuck!" This is a very rare state which means that
310
+ VirtualBox is unable to recover the current state of the VM.
311
+ The only known solution to this problem is to restart your
312
+ machine, sorry.
313
+ listing: |-
314
+ This environment represents multiple VMs. The VMs are all listed
315
+ above with their current state. For more information about a specific
316
+ VM, run `vagrant status NAME`.
317
+ up:
318
+ vm_created: "VM already created. Booting if it's not already running..."
319
+ version:
320
+ output: "Vagrant version %{version}"
321
+
322
+ #-------------------------------------------------------------------------------
323
+ # Translations for Vagrant middleware acions
324
+ #-------------------------------------------------------------------------------
325
+ actions:
326
+ runner:
327
+ waiting_cleanup: "Waiting for cleanup before exiting..."
328
+ exit_immediately: "Exiting immediately, without cleanup!"
329
+ vm:
330
+ boot:
331
+ booting: Booting VM...
332
+ waiting: Waiting for VM to boot. This can take a few minutes.
333
+ ready: VM booted and ready for use!
334
+ failed: Failed to connect to VM!
335
+ failed_to_boot: |-
336
+ Failed to connect to VM via SSH. Please verify the VM successfully booted
337
+ by looking at the VirtualBox GUI.
338
+ failed_to_run: |-
339
+ The VM failed to remain in the "running" state while attempting to boot.
340
+ This is normally caused by a misconfiguration or host system incompatibilities.
341
+ Please open the VirtualBox GUI and attempt to boot the virtual machine
342
+ manually to get a more informative error message.
343
+ bridged_networking:
344
+ available: |-
345
+ Available bridged network interfaces:
346
+ bridging: |-
347
+ Bridging adapter #%{adapter} to '%{bridge}'
348
+ enabling: |-
349
+ Enabling bridged network...
350
+ preparing: |-
351
+ Preparing bridged networking...
352
+ specific_not_found: |-
353
+ Specific bridge '%{bridge}' not found. You may be asked to specify
354
+ which network to bridge to.
355
+ check_box:
356
+ not_found: Box %{name} was not found. Fetching box from specified URL...
357
+ not_specified: |-
358
+ No base box was specified! A base box is required as a staring point
359
+ for every vagrant virtual machine. Please specify one in your Vagrantfile
360
+ using `config.vm.box`
361
+ does_not_exist: |-
362
+ Specified box `%{name}` does not exist!
363
+
364
+ The box must be added through the `vagrant box add` command. Please view
365
+ the documentation associated with the command for more information.
366
+ check_guest_additions:
367
+ not_detected: |-
368
+ No guest additions were detected on the base box for this VM! Guest
369
+ additions are required for forwarded ports, shared folders, host only
370
+ networking, and more. If SSH fails on this machine, please install
371
+ the guest additions and repackage the box to continue.
372
+
373
+ This is not an error message; everything may continue to work properly,
374
+ in which case you may ignore this message.
375
+ version_mismatch: |-
376
+ The guest additions on this VM do not match the install version of
377
+ VirtualBox! This may cause things such as forwarded ports, shared
378
+ folders, and more to not work properly. If any of those things fail on
379
+ this machine, please update the guest additions and repackage the
380
+ box.
381
+
382
+ Guest Additions Version: %{guest_version}
383
+ VirtualBox Version: %{virtualbox_version}
384
+ clear_forward_ports:
385
+ deleting: Clearing any previously set forwarded ports...
386
+ clear_network_interfaces:
387
+ deleting: Clearing any previously set network interfaces...
388
+ clear_shared_folders:
389
+ deleting: Cleaning previously set shared folders...
390
+ customize:
391
+ failure: |-
392
+ A customization command failed:
393
+
394
+ %{command}
395
+
396
+ The following error was experienced:
397
+
398
+ %{error}
399
+
400
+ Please fix this customization and try again.
401
+ running: Running any VM customizations...
402
+ destroy:
403
+ destroying: Destroying VM and associated drives...
404
+ destroy_network:
405
+ destroying: Destroying unused networking interface...
406
+ disable_networks:
407
+ disabling: Disabling host only networks...
408
+ discard_state:
409
+ discarding: Discarding saved state of VM...
410
+ export:
411
+ create_dir: Creating temporary directory for export...
412
+ exporting: Exporting VM...
413
+ power_off: "The Vagrant virtual environment you are trying to package must be powered off."
414
+ forward_ports:
415
+ auto_empty: |-
416
+ Vagrant found a port collision for the specified port and virtual machine.
417
+ While this port was marked to be auto-corrected, the ports in the
418
+ auto-correction range are all also used.
419
+
420
+ VM: %{vm_name}
421
+ Forwarded port: %{guest_port} => %{host_port}
422
+ collision_error: |-
423
+ Vagrant cannot forward the specified ports on this VM, since they
424
+ would collide with another VirtualBox virtual machine's forwarded
425
+ ports! The forwarded port to %{host_port} is already in use on the host
426
+ machine.
427
+
428
+ To fix this, modify your current projects Vagrantfile to use another
429
+ port. Example, where '1234' would be replaced by a unique host port:
430
+
431
+ config.vm.forward_port %{guest_port}, 1234
432
+
433
+ fixed_collision: |-
434
+ Fixed port collision for %{guest_port} => %{host_port}. Now on port %{new_port}.
435
+ forwarding: Forwarding ports...
436
+ forwarding_entry: |-
437
+ -- %{guest_port} => %{host_port} (adapter %{adapter})
438
+ non_nat: |-
439
+ VirtualBox adapter #%{adapter} not configured as "NAT". Skipping port
440
+ forwards on this adapter.
441
+ privileged_ports: |-
442
+ You are trying to forward to privileged ports (ports <= 1024). Most
443
+ operating systems restrict this to only privileged process (typically
444
+ processes running as an administrative user). This is a warning in case
445
+ the port forwarding doesn't work. If any problems occur, please try a
446
+ port higher than 1024.
447
+ halt:
448
+ force: |-
449
+ Forcing shutdown of VM...
450
+ graceful: |-
451
+ Attempting graceful shutdown of VM...
452
+ host_name:
453
+ setting: "Setting host name..."
454
+ import:
455
+ importing: Importing base box '%{name}'...
456
+ failure: |-
457
+ The VM import failed! Try running `VBoxManage import` on the box file
458
+ manually for more verbose error output.
459
+ match_mac:
460
+ matching: Matching MAC address for NAT networking...
461
+ no_base_mac: |-
462
+ No base MAC address was specified. This is required for the NAT networking
463
+ to work properly (and hence port forwarding, SSH, etc.). Specifying this
464
+ MAC address is typically up to the box and box maintiner. Please contact
465
+ the relevant person to solve this issue.
466
+ network:
467
+ adapter_collision: |-
468
+ More than one network have been assigned to the same adapter. Please
469
+ make sure your networks you've configured in your Vagrantfile do not
470
+ overlap.
471
+ configuring: |-
472
+ Configuring and enabling network interfaces...
473
+ dhcp_already_attached: |-
474
+ A host only network interface you're attempting to configure via DHCP
475
+ already has a conflicting host only adapter with DHCP enabled. The
476
+ DHCP on this adapter is incompatible with the DHCP settings. Two
477
+ host only network interfaces are not allowed to overlap, and each
478
+ host only network interface can have only one DHCP server. Please
479
+ reconfigure your host only network or remove the virtual machine
480
+ using the other host only network.
481
+ no_adapters: |-
482
+ No available adapters on the virtual machine were found to accomodate
483
+ for all configured networks. VirtualBox virtual machines have 8
484
+ network interfaces available usually, so please lower the number of
485
+ networks to below 8.
486
+ preparing: |-
487
+ Preparing network interfaces based on configuration...
488
+ host_only_network:
489
+ collides: |-
490
+ The specified host network collides with a non-hostonly network!
491
+ This will cause your specified IP to be inaccessible. Please change
492
+ the IP or name of your host only network to not match that of
493
+ a bridged or non-hostonly network.
494
+ creating: "Creating new host only network for environment..."
495
+ enabling: "Enabling host only network..."
496
+ not_found: |-
497
+ The specified host network could not be found: '%{name}.'
498
+ If the name specification is removed, Vagrant will create a new
499
+ host only network for you. Alternatively, please create the
500
+ specified network manually.
501
+ preparing: "Preparing host only network..."
502
+ nfs:
503
+ host_required: |-
504
+ A host class is required for NFS shared folders. By default, these
505
+ are auto-detected, but can be overridden with `config.vagrant.host`.
506
+ There is currently no host class loaded.
507
+ no_host_network: |-
508
+ NFS shared folders requires that host only networking is enabled
509
+ with a static IP. Please enable host only network and assign a
510
+ static IP via `config.vm.network`.
511
+ not_supported: |-
512
+ The host class is reporting that NFS is not supported by this host,
513
+ or `nfsd` may not be installed. Please verify that `nfsd` is installed
514
+ on your machine, and retry.
515
+ exporting: Exporting NFS shared folders...
516
+ mounting: Mounting NFS shared folders...
517
+ persist:
518
+ dotfile_error: |-
519
+ The dotfile which Vagrant uses to store the UUID of the project's
520
+ virtual machine already exists and is not a file! The dotfile is
521
+ currently configured to be '%{dotfile_path}'
522
+
523
+ To change this value, please see `config.vagrant.dotfile_name`
524
+
525
+ Are you trying to use Vagrant from your home directory? This is the
526
+ leading cause of this error message. To resolve this, simply use a
527
+ different directory. Or, if you really want to run Vagrant from your
528
+ home directory, modify the `config.vagrant.dotfile_name` configuration
529
+ key.
530
+ persisting: "Persisting the VM UUID (%{uuid})..."
531
+ provision:
532
+ beginning: "Running provisioner: %{provisioner}..."
533
+ resume:
534
+ resuming: Resuming suspended VM...
535
+ share_folders:
536
+ creating: Creating shared folders metadata...
537
+ mounting: Mounting shared folders...
538
+ mounting_entry: "-- %{name}: %{guest_path}"
539
+ nomount_entry: "-- %{name}: Automounting disabled."
540
+ suspend:
541
+ suspending: Saving VM state and suspending execution...
542
+
543
+ box:
544
+ destroy:
545
+ destroying: "Deleting box '%{name}'..."
546
+ download:
547
+ with: "Downloading with %{class}..."
548
+ cleaning: "Cleaning up downloaded box..."
549
+ unknown_type: "Unknown or unsupported URI type given for box download."
550
+ unpackage:
551
+ extracting: "Extracting box..."
552
+ already_exists: |-
553
+ A box already exists under the name of '%{name}'. This may or may
554
+ not be the same box you are trying to add. Please use another name
555
+ or remove the previous box then try to add it again.
556
+ untar_failure: |-
557
+ Failed to untar the box file. This is usually because you're
558
+ attempting to add a box that isn't a valid box file. Please
559
+ double check that the box file is properly packaged.
560
+ verify:
561
+ verifying: "Verifying box..."
562
+ failed: |-
563
+ The box file you're attempting to add is invalid. This can be
564
+ commonly attributed to typos in the path given to the box add
565
+ command. Another common case of this is invalid packaging of the
566
+ box itself.
567
+
568
+ general:
569
+ package:
570
+ packaging: "Packaging additional file: %{file}"
571
+ compressing: "Compressing package to: %{tar_path}"
572
+ output_exists: |-
573
+ The specified file to save the package as already exists. Please
574
+ remove this file or specify a different file name for outputting.
575
+ output_is_directory: |-
576
+ The specified output is a directory. Please specify a path including
577
+ a filename.
578
+ requires_directory: |-
579
+ A directory was not specified to package. This should never happen
580
+ and is a result of an internal inconsistency.
581
+ include_file_missing: |-
582
+ Package include file doesn't exist: %{file}
583
+
584
+ downloaders:
585
+ file:
586
+ download: "Copying box to temporary location..."
587
+ file_missing: "The specified path to a file doesn't exist."
588
+ http:
589
+ download: "Downloading box: %{url}"
590
+ socket_error: |-
591
+ An error occurred while trying to download the specified box. This most
592
+ often happens if there is no internet connection or the address is
593
+ invalid.
594
+ status_error: |-
595
+ Bad status code: %{status}
596
+
597
+ Please verify that the box exists and is accessible. Also verify that
598
+ this computer is properly connected to the internet.
599
+
600
+ hosts:
601
+ bsd:
602
+ nfs_export: |-
603
+ Preparing to edit /etc/exports. Administrator privileges will be required...
604
+ nfs_prune: |-
605
+ Pruning invalid NFS exports. Administrator privileges will be required...
606
+ linux:
607
+ nfs_export: |-
608
+ Preparing to edit /etc/exports. Administrator privileges will be required...
609
+ nfs_prune: |-
610
+ Pruning invalid NFS exports. Administrator privileges will be required...
611
+ arch:
612
+ nfs_export:
613
+ prepare: "Preparing to edit /etc/exports. Administrator privileges will be required..."
614
+ freebsd:
615
+ nfs_whitespace: |-
616
+ FreeBSD hosts do not support sharing directories with whitespace in
617
+ their path. Please adjust your path accordingly.
618
+
619
+ provisioners:
620
+ chef:
621
+ chef_not_detected: |-
622
+ The chef binary (either `chef-solo` or `chef-client`) was not found on
623
+ the VM and is required for chef provisioning. Please verify that chef
624
+ is installed and that the binary is available on the PATH.
625
+ json: "Generating chef JSON and uploading..."
626
+ client_key_folder: "Creating folder to hold client key..."
627
+ upload_validation_key: "Uploading chef client validation key..."
628
+ upload_encrypted_data_bag_secret_key: "Uploading chef encrypted data bag secret key..."
629
+ running_client: "Running chef-client..."
630
+ running_client_again: "Running chef-client again (failed to converge)..."
631
+ running_solo: "Running chef-solo..."
632
+ running_solo_again: "Running chef-solo again (failed to converge)..."
633
+ invalid_provisioner: |-
634
+ Vagrant::Provisioners::Chef is not a valid provisioner! Use
635
+ ChefSolo or ChefClient instead.
636
+ missing_shared_folders: |-
637
+ Shared folders that Chef requires are missing on the virtual machine.
638
+ This is usually due to configuration changing after already booting the
639
+ machine. The fix is to run a `vagrant reload` so that the proper shared
640
+ folders will prepared and mounted on the VM.
641
+ no_convergence: |-
642
+ Chef never successfully completed! Any errors should be visible in the
643
+ output above. Please fix your recipes so that they properly complete.
644
+ not_detected: |-
645
+ The `%{binary}` binary appears to not be in the PATH of the guest. This
646
+ could be because the PATH is not properly setup or perhaps chef is not
647
+ installed on this guest. Chef provisioning can not continue without
648
+ chef properly installed.
649
+ server_url_required: |-
650
+ Chef server provisioning requires that the `config.chef.chef_server_url` be set to the
651
+ URL of your chef server. Examples include "http://12.12.12.12:4000" and
652
+ "http://myserver.com:4000" (the port of course can be different, but 4000 is the default)
653
+ server_validation_key_required: |-
654
+ Chef server provisioning requires that the `config.chef.validation_key_path` configuration
655
+ be set to a path on your local machine of the validation key used to register the
656
+ VM with the chef server.
657
+ server_validation_key_doesnt_exist: |-
658
+ The validation key set for `config.chef.validation_key_path` does not exist! This
659
+ file needs to exist so it can be uploaded to the virtual machine.
660
+
661
+ puppet:
662
+ not_detected: |-
663
+ The `%{binary}` binary appears to not be in the PATH of the guest. This
664
+ could be because the PATH is not properly setup or perhaps Puppet is not
665
+ installed on this guest. Puppet provisioning can not continue without
666
+ Puppet properly installed.
667
+ running_puppet: "Running Puppet with %{manifest}..."
668
+ manifest_missing: |-
669
+ The configured Puppet manifest is missing. Please specify a path to an
670
+ existing manifest:
671
+
672
+ %{manifest}
673
+ manifests_path_missing: "The manifests path specified for Puppet does not exist: %{path}"
674
+ missing_shared_folders: |-
675
+ Shared folders that Puppet requires are missing on the virtual machine.
676
+ This is usually due to configuration changing after already booting the
677
+ machine. The fix is to run a `vagrant reload` so that the proper shared
678
+ folders will prepared and mounted on the VM.
679
+ module_path_missing: "The configured module path doesn't exist: %{path}"
680
+
681
+ puppet_server:
682
+ not_detected: |-
683
+ The `%{binary}` binary appears to not be in the PATH of the guest. This
684
+ could be because the PATH is not properly setup or perhaps Puppet is not
685
+ installed on this guest. Puppet provisioning can not continue without
686
+ Puppet properly installed.
687
+ running_puppetd: "Running Puppet agent..."
688
+
689
+ shell:
690
+ args_not_string: "Shell provisioner `args` must be a string."
691
+ path_and_inline_set: "Only one of `path` or `inline` may be set."
692
+ no_path_or_inline: "One of `path` or `inline` must be set."
693
+ path_invalid: "`path` for shell provisioner does not exist on the host system: %{path}"
694
+ upload_path_not_set: "`upload_path` must be set for the shell provisioner."
695
+
696
+ guest:
697
+ base:
698
+ unsupported_configure_networks: |-
699
+ Networking features require support that is dependent on the operating
700
+ system running within the guest virtual machine. Vagrant has built-in support
701
+ for many operating systems: Debian, Ubuntu, Gentoo, and RedHat. The distro
702
+ of your VM couldn't be detected or doesn't support networking features.
703
+
704
+ Most of the time this is simply due to the fact that no one has contributed
705
+ back the logic necessary to set this up. Please report a bug as well as the
706
+ box you're using.
707
+ unsupported_host_name: |-
708
+ Setting host name is currently only supported on Debian, Ubuntu and RedHat.
709
+ If you'd like your guest OS to be supported, please open a ticket on the
710
+ project.
711
+ unsupported_nfs: |-
712
+ Vagrant doesn't support mounting NFS shared folders for your specific
713
+ guest operating system yet, or possibly couldn't properly detect the
714
+ operating system on the VM.
715
+
716
+ Most of the time this is simply due to the fact that no one has contributed
717
+ back the logic necessary to set this up. Please report a bug as well as the
718
+ box you're using.
719
+ unsupported_halt: |-
720
+ Vagrant doesn't support graceful shutdowns for your specific
721
+ guest operating system yet, or possibly couldn't properly detect the
722
+ operating system on the VM.
723
+
724
+ Most of the time this is simply due to the fact that no one has contributed
725
+ back the logic necessary to set this up. Please report a bug as well as the
726
+ box you're using.
727
+ unsupported_shared_folder: |-
728
+ Vagrant doesn't support mounting shared folders for your specific
729
+ guest operating system yet, or possibly couldn't properly detect the
730
+ operating system on the VM.
731
+
732
+ Most of the time this is simply due to the fact that no one has contributed
733
+ back the logic necessary to set this up. Please report a bug as well as the
734
+ box you're using.
735
+ linux:
736
+ guestpath_expand_fail: |-
737
+ Vagrant failed to determine the shell expansion of the guest path
738
+ for one of your shared folders. This is an extremely rare error case
739
+ and most likely indicates an unusual configuration of the guest system.
740
+ Please report a bug with your Vagrantfile.
741
+ mount_fail: "Failed to mount shared folders. `vboxsf` was not available."
742
+ mount_nfs_fail: |-
743
+ Mounting NFS shared folders failed. This is most often caused by the NFS
744
+ client software not being installed on the guest machine. Please verify
745
+ that the NFS client software is properly installed, and consult any resources
746
+ specific to the linux distro you're using for more information on how to
747
+ do this.