tnargav 1.3.5 → 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (478) hide show
  1. data/lib/vagrant/action.rb +45 -0
  2. data/lib/vagrant/action/builder.rb +174 -0
  3. data/lib/vagrant/action/builtin/box_add.rb +92 -0
  4. data/lib/vagrant/action/builtin/call.rb +67 -0
  5. data/lib/vagrant/action/builtin/config_validate.rb +30 -0
  6. data/lib/vagrant/action/builtin/confirm.rb +39 -0
  7. data/lib/vagrant/action/builtin/destroy_confirm.rb +21 -0
  8. data/lib/vagrant/action/builtin/env_set.rb +24 -0
  9. data/lib/vagrant/action/builtin/graceful_halt.rb +82 -0
  10. data/lib/vagrant/action/builtin/handle_box_url.rb +86 -0
  11. data/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb +134 -0
  12. data/lib/vagrant/action/builtin/lock.rb +57 -0
  13. data/lib/vagrant/action/builtin/mixin_provisioners.rb +43 -0
  14. data/lib/vagrant/action/builtin/nfs.rb +128 -0
  15. data/lib/vagrant/action/builtin/provision.rb +79 -0
  16. data/lib/vagrant/action/builtin/provisioner_cleanup.rb +35 -0
  17. data/lib/vagrant/action/builtin/set_hostname.rb +27 -0
  18. data/lib/vagrant/action/builtin/ssh_exec.rb +42 -0
  19. data/lib/vagrant/action/builtin/ssh_run.rb +43 -0
  20. data/lib/vagrant/action/builtin/wait_for_communicator.rb +84 -0
  21. data/lib/vagrant/action/general/package.rb +103 -0
  22. data/lib/vagrant/action/hook.rb +107 -0
  23. data/lib/vagrant/action/runner.rb +69 -0
  24. data/lib/vagrant/action/warden.rb +104 -0
  25. data/lib/vagrant/batch_action.rb +113 -0
  26. data/lib/vagrant/box.rb +97 -0
  27. data/lib/vagrant/box_collection.rb +393 -0
  28. data/lib/vagrant/cli.rb +74 -0
  29. data/lib/vagrant/config.rb +61 -0
  30. data/lib/vagrant/config/loader.rb +222 -0
  31. data/lib/vagrant/config/v1.rb +9 -0
  32. data/lib/vagrant/config/v1/dummy_config.rb +13 -0
  33. data/lib/vagrant/config/v1/loader.rb +105 -0
  34. data/lib/vagrant/config/v1/root.rb +60 -0
  35. data/lib/vagrant/config/v2.rb +9 -0
  36. data/lib/vagrant/config/v2/dummy_config.rb +13 -0
  37. data/lib/vagrant/config/v2/loader.rb +141 -0
  38. data/lib/vagrant/config/v2/root.rb +111 -0
  39. data/lib/vagrant/config/v2/util.rb +21 -0
  40. data/lib/vagrant/config/version_base.rb +80 -0
  41. data/lib/vagrant/environment.rb +819 -0
  42. data/lib/vagrant/errors.rb +614 -0
  43. data/lib/vagrant/guest.rb +172 -0
  44. data/lib/vagrant/hosts.rb +28 -0
  45. data/lib/vagrant/machine.rb +319 -0
  46. data/lib/vagrant/machine_state.rb +45 -0
  47. data/lib/vagrant/plugin.rb +6 -0
  48. data/lib/vagrant/plugin/v1.rb +19 -0
  49. data/lib/vagrant/plugin/v1/command.rb +169 -0
  50. data/lib/vagrant/plugin/v1/communicator.rb +98 -0
  51. data/lib/vagrant/plugin/v1/config.rb +112 -0
  52. data/lib/vagrant/plugin/v1/errors.rb +15 -0
  53. data/lib/vagrant/plugin/v1/guest.rb +92 -0
  54. data/lib/vagrant/plugin/v1/host.rb +66 -0
  55. data/lib/vagrant/plugin/v1/manager.rb +131 -0
  56. data/lib/vagrant/plugin/v1/plugin.rb +229 -0
  57. data/lib/vagrant/plugin/v1/provider.rb +68 -0
  58. data/lib/vagrant/plugin/v1/provisioner.rb +50 -0
  59. data/lib/vagrant/plugin/v2.rb +22 -0
  60. data/lib/vagrant/plugin/v2/command.rb +237 -0
  61. data/lib/vagrant/plugin/v2/communicator.rb +119 -0
  62. data/lib/vagrant/plugin/v2/components.rb +47 -0
  63. data/lib/vagrant/plugin/v2/config.rb +136 -0
  64. data/lib/vagrant/plugin/v2/errors.rb +15 -0
  65. data/lib/vagrant/plugin/v2/guest.rb +23 -0
  66. data/lib/vagrant/plugin/v2/host.rb +66 -0
  67. data/lib/vagrant/plugin/v2/manager.rb +173 -0
  68. data/lib/vagrant/plugin/v2/plugin.rb +226 -0
  69. data/lib/vagrant/plugin/v2/provider.rb +69 -0
  70. data/lib/vagrant/plugin/v2/provisioner.rb +53 -0
  71. data/lib/vagrant/registry.rb +78 -0
  72. data/lib/vagrant/ui.rb +215 -0
  73. data/lib/vagrant/util.rb +12 -0
  74. data/lib/vagrant/util/ansi_escape_code_remover.rb +34 -0
  75. data/lib/vagrant/util/busy.rb +59 -0
  76. data/lib/vagrant/util/counter.rb +24 -0
  77. data/lib/vagrant/util/downloader.rb +151 -0
  78. data/lib/vagrant/util/file_checksum.rb +38 -0
  79. data/lib/vagrant/util/file_mode.rb +12 -0
  80. data/lib/vagrant/util/hash_with_indifferent_access.rb +63 -0
  81. data/lib/vagrant/util/is_port_open.rb +38 -0
  82. data/lib/vagrant/util/line_ending_helpers.rb +14 -0
  83. data/lib/vagrant/util/network_ip.rb +28 -0
  84. data/lib/vagrant/util/platform.rb +101 -0
  85. data/lib/vagrant/util/retryable.rb +31 -0
  86. data/lib/vagrant/util/safe_chdir.rb +33 -0
  87. data/lib/vagrant/util/safe_exec.rb +36 -0
  88. data/lib/vagrant/util/safe_puts.rb +31 -0
  89. data/lib/vagrant/util/scoped_hash_override.rb +45 -0
  90. data/lib/vagrant/util/ssh.rb +155 -0
  91. data/lib/vagrant/util/stacked_proc_runner.rb +35 -0
  92. data/lib/vagrant/util/string_block_editor.rb +77 -0
  93. data/lib/vagrant/util/subprocess.rb +294 -0
  94. data/lib/vagrant/util/template_renderer.rb +83 -0
  95. data/lib/vagrant/util/which.rb +43 -0
  96. data/lib/vagrant/version.rb +6 -0
  97. data/plugins/commands/box/command/add.rb +51 -0
  98. data/plugins/commands/box/command/list.rb +41 -0
  99. data/plugins/commands/box/command/remove.rb +57 -0
  100. data/plugins/commands/box/command/repackage.rb +43 -0
  101. data/plugins/commands/box/command/root.rb +75 -0
  102. data/plugins/commands/box/plugin.rb +15 -0
  103. data/plugins/commands/destroy/command.rb +36 -0
  104. data/plugins/commands/destroy/plugin.rb +18 -0
  105. data/plugins/commands/halt/command.rb +33 -0
  106. data/plugins/commands/halt/plugin.rb +18 -0
  107. data/plugins/commands/help/command.rb +12 -0
  108. data/plugins/commands/help/plugin.rb +17 -0
  109. data/plugins/commands/init/command.rb +40 -0
  110. data/plugins/commands/init/plugin.rb +18 -0
  111. data/plugins/commands/package/command.rb +83 -0
  112. data/plugins/commands/package/plugin.rb +18 -0
  113. data/plugins/commands/plugin/action.rb +63 -0
  114. data/plugins/commands/plugin/action/bundler_check.rb +25 -0
  115. data/plugins/commands/plugin/action/install_gem.rb +106 -0
  116. data/plugins/commands/plugin/action/license_plugin.rb +54 -0
  117. data/plugins/commands/plugin/action/list_plugins.rb +54 -0
  118. data/plugins/commands/plugin/action/plugin_exists_check.rb +26 -0
  119. data/plugins/commands/plugin/action/prune_gems.rb +149 -0
  120. data/plugins/commands/plugin/action/uninstall_plugin.rb +23 -0
  121. data/plugins/commands/plugin/command/base.rb +22 -0
  122. data/plugins/commands/plugin/command/install.rb +41 -0
  123. data/plugins/commands/plugin/command/license.rb +31 -0
  124. data/plugins/commands/plugin/command/list.rb +28 -0
  125. data/plugins/commands/plugin/command/mixin_install_opts.rb +30 -0
  126. data/plugins/commands/plugin/command/root.rb +80 -0
  127. data/plugins/commands/plugin/command/uninstall.rb +28 -0
  128. data/plugins/commands/plugin/command/update.rb +41 -0
  129. data/plugins/commands/plugin/gem_helper.rb +74 -0
  130. data/plugins/commands/plugin/plugin.rb +22 -0
  131. data/plugins/commands/plugin/state_file.rb +57 -0
  132. data/plugins/commands/provision/command.rb +34 -0
  133. data/plugins/commands/provision/plugin.rb +18 -0
  134. data/plugins/commands/reload/command.rb +41 -0
  135. data/plugins/commands/reload/plugin.rb +18 -0
  136. data/plugins/commands/resume/command.rb +25 -0
  137. data/plugins/commands/resume/plugin.rb +17 -0
  138. data/plugins/commands/ssh/command.rb +63 -0
  139. data/plugins/commands/ssh/plugin.rb +17 -0
  140. data/plugins/commands/ssh_config/command.rb +49 -0
  141. data/plugins/commands/ssh_config/plugin.rb +18 -0
  142. data/plugins/commands/status/command.rb +44 -0
  143. data/plugins/commands/status/plugin.rb +18 -0
  144. data/plugins/commands/suspend/command.rb +25 -0
  145. data/plugins/commands/suspend/plugin.rb +18 -0
  146. data/plugins/commands/up/command.rb +67 -0
  147. data/plugins/commands/up/plugin.rb +17 -0
  148. data/plugins/commands/up/start_mixins.rb +37 -0
  149. data/plugins/communicators/ssh/communicator.rb +400 -0
  150. data/plugins/communicators/ssh/plugin.rb +19 -0
  151. data/plugins/guests/arch/cap/change_host_name.rb +17 -0
  152. data/plugins/guests/arch/cap/configure_networks.rb +30 -0
  153. data/plugins/guests/arch/guest.rb +11 -0
  154. data/plugins/guests/arch/plugin.rb +25 -0
  155. data/plugins/guests/coreos/cap/change_host_name.rb +15 -0
  156. data/plugins/guests/coreos/cap/configure_networks.rb +72 -0
  157. data/plugins/guests/coreos/guest.rb +9 -0
  158. data/plugins/guests/coreos/plugin.rb +25 -0
  159. data/plugins/guests/darwin/cap/change_host_name.rb +14 -0
  160. data/plugins/guests/darwin/cap/configure_networks.rb +52 -0
  161. data/plugins/guests/darwin/cap/halt.rb +16 -0
  162. data/plugins/guests/darwin/cap/mount_nfs_folder.rb +25 -0
  163. data/plugins/guests/darwin/cap/mount_vmware_shared_folder.rb +36 -0
  164. data/plugins/guests/darwin/cap/shell_expand_guest_path.rb +26 -0
  165. data/plugins/guests/darwin/cap/verify_vmware_hgfs.rb +12 -0
  166. data/plugins/guests/darwin/guest.rb +15 -0
  167. data/plugins/guests/darwin/plugin.rb +50 -0
  168. data/plugins/guests/debian/cap/change_host_name.rb +19 -0
  169. data/plugins/guests/debian/cap/configure_networks.rb +61 -0
  170. data/plugins/guests/debian/guest.rb +9 -0
  171. data/plugins/guests/debian/plugin.rb +25 -0
  172. data/plugins/guests/fedora/cap/configure_networks.rb +59 -0
  173. data/plugins/guests/fedora/cap/network_scripts_dir.rb +15 -0
  174. data/plugins/guests/fedora/guest.rb +11 -0
  175. data/plugins/guests/fedora/plugin.rb +25 -0
  176. data/plugins/guests/freebsd/cap/change_host_name.rb +14 -0
  177. data/plugins/guests/freebsd/cap/configure_networks.rb +39 -0
  178. data/plugins/guests/freebsd/cap/halt.rb +16 -0
  179. data/plugins/guests/freebsd/cap/mount_nfs_folder.rb +14 -0
  180. data/plugins/guests/freebsd/guest.rb +14 -0
  181. data/plugins/guests/freebsd/plugin.rb +35 -0
  182. data/plugins/guests/gentoo/cap/change_host_name.rb +17 -0
  183. data/plugins/guests/gentoo/cap/configure_networks.rb +43 -0
  184. data/plugins/guests/gentoo/guest.rb +9 -0
  185. data/plugins/guests/gentoo/plugin.rb +25 -0
  186. data/plugins/guests/linux/cap/halt.rb +16 -0
  187. data/plugins/guests/linux/cap/mount_nfs.rb +38 -0
  188. data/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb +59 -0
  189. data/plugins/guests/linux/cap/read_ip_address.rb +17 -0
  190. data/plugins/guests/linux/cap/shell_expand_guest_path.rb +29 -0
  191. data/plugins/guests/linux/guest.rb +11 -0
  192. data/plugins/guests/linux/plugin.rb +40 -0
  193. data/plugins/guests/omnios/cap/change_host_name.rb +17 -0
  194. data/plugins/guests/omnios/guest.rb +11 -0
  195. data/plugins/guests/omnios/plugin.rb +20 -0
  196. data/plugins/guests/openbsd/cap/change_host_name.rb +14 -0
  197. data/plugins/guests/openbsd/cap/configure_networks.rb +40 -0
  198. data/plugins/guests/openbsd/cap/halt.rb +16 -0
  199. data/plugins/guests/openbsd/cap/mount_nfs_folder.rb +14 -0
  200. data/plugins/guests/openbsd/guest.rb +11 -0
  201. data/plugins/guests/openbsd/plugin.rb +35 -0
  202. data/plugins/guests/pld/cap/network_scripts_dir.rb +11 -0
  203. data/plugins/guests/pld/guest.rb +11 -0
  204. data/plugins/guests/pld/plugin.rb +20 -0
  205. data/plugins/guests/redhat/cap/change_host_name.rb +18 -0
  206. data/plugins/guests/redhat/cap/configure_networks.rb +60 -0
  207. data/plugins/guests/redhat/cap/network_scripts_dir.rb +11 -0
  208. data/plugins/guests/redhat/guest.rb +11 -0
  209. data/plugins/guests/redhat/plugin.rb +30 -0
  210. data/plugins/guests/solaris/cap/change_host_name.rb +17 -0
  211. data/plugins/guests/solaris/cap/configure_networks.rb +25 -0
  212. data/plugins/guests/solaris/cap/halt.rb +22 -0
  213. data/plugins/guests/solaris/cap/mount_virtualbox_shared_folder.rb +31 -0
  214. data/plugins/guests/solaris/config.rb +18 -0
  215. data/plugins/guests/solaris/guest.rb +14 -0
  216. data/plugins/guests/solaris/plugin.rb +40 -0
  217. data/plugins/guests/solaris11/cap/change_host_name.rb +25 -0
  218. data/plugins/guests/solaris11/cap/configure_networks.rb +32 -0
  219. data/plugins/guests/solaris11/cap/halt.rb +26 -0
  220. data/plugins/guests/solaris11/cap/mount_virtualbox_shared_folder.rb +35 -0
  221. data/plugins/guests/solaris11/config.rb +22 -0
  222. data/plugins/guests/solaris11/guest.rb +15 -0
  223. data/plugins/guests/solaris11/plugin.rb +44 -0
  224. data/plugins/guests/suse/cap/change_host_name.rb +18 -0
  225. data/plugins/guests/suse/cap/configure_networks.rb +60 -0
  226. data/plugins/guests/suse/cap/network_scripts_dir.rb +11 -0
  227. data/plugins/guests/suse/guest.rb +11 -0
  228. data/plugins/guests/suse/plugin.rb +30 -0
  229. data/plugins/guests/ubuntu/cap/change_host_name.rb +24 -0
  230. data/plugins/guests/ubuntu/cap/mount_nfs.rb +19 -0
  231. data/plugins/guests/ubuntu/cap/mount_virtualbox_shared_folder.rb +14 -0
  232. data/plugins/guests/ubuntu/guest.rb +13 -0
  233. data/plugins/guests/ubuntu/plugin.rb +30 -0
  234. data/plugins/hosts/arch/host.rb +45 -0
  235. data/plugins/hosts/arch/plugin.rb +15 -0
  236. data/plugins/hosts/bsd/host.rb +178 -0
  237. data/plugins/hosts/bsd/plugin.rb +15 -0
  238. data/plugins/hosts/fedora/host.rb +57 -0
  239. data/plugins/hosts/fedora/plugin.rb +15 -0
  240. data/plugins/hosts/freebsd/host.rb +43 -0
  241. data/plugins/hosts/freebsd/plugin.rb +15 -0
  242. data/plugins/hosts/gentoo/host.rb +26 -0
  243. data/plugins/hosts/gentoo/plugin.rb +15 -0
  244. data/plugins/hosts/linux/host.rb +128 -0
  245. data/plugins/hosts/linux/plugin.rb +15 -0
  246. data/plugins/hosts/opensuse/host.rb +36 -0
  247. data/plugins/hosts/opensuse/plugin.rb +15 -0
  248. data/plugins/hosts/slackware/host.rb +26 -0
  249. data/plugins/hosts/slackware/plugin.rb +15 -0
  250. data/plugins/hosts/windows/host.rb +17 -0
  251. data/plugins/hosts/windows/plugin.rb +15 -0
  252. data/plugins/kernel_v1/config/nfs.rb +20 -0
  253. data/plugins/kernel_v1/config/package.rb +17 -0
  254. data/plugins/kernel_v1/config/ssh.rb +46 -0
  255. data/plugins/kernel_v1/config/vagrant.rb +31 -0
  256. data/plugins/kernel_v1/config/vm.rb +187 -0
  257. data/plugins/kernel_v1/plugin.rb +44 -0
  258. data/plugins/kernel_v2/config/nfs.rb +14 -0
  259. data/plugins/kernel_v2/config/package.rb +13 -0
  260. data/plugins/kernel_v2/config/ssh.rb +68 -0
  261. data/plugins/kernel_v2/config/ssh_connect.rb +40 -0
  262. data/plugins/kernel_v2/config/vagrant.rb +13 -0
  263. data/plugins/kernel_v2/config/vm.rb +486 -0
  264. data/plugins/kernel_v2/config/vm_provisioner.rb +55 -0
  265. data/plugins/kernel_v2/config/vm_subvm.rb +30 -0
  266. data/plugins/kernel_v2/plugin.rb +44 -0
  267. data/plugins/providers/virtualbox/action.rb +324 -0
  268. data/plugins/providers/virtualbox/action/boot.rb +23 -0
  269. data/plugins/providers/virtualbox/action/check_accessible.rb +23 -0
  270. data/plugins/providers/virtualbox/action/check_created.rb +21 -0
  271. data/plugins/providers/virtualbox/action/check_guest_additions.rb +45 -0
  272. data/plugins/providers/virtualbox/action/check_running.rb +21 -0
  273. data/plugins/providers/virtualbox/action/check_virtualbox.rb +22 -0
  274. data/plugins/providers/virtualbox/action/clean_machine_folder.rb +43 -0
  275. data/plugins/providers/virtualbox/action/clear_forwarded_ports.rb +18 -0
  276. data/plugins/providers/virtualbox/action/clear_network_interfaces.rb +31 -0
  277. data/plugins/providers/virtualbox/action/clear_shared_folders.rb +17 -0
  278. data/plugins/providers/virtualbox/action/created.rb +20 -0
  279. data/plugins/providers/virtualbox/action/customize.rb +43 -0
  280. data/plugins/providers/virtualbox/action/destroy.rb +19 -0
  281. data/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb +23 -0
  282. data/plugins/providers/virtualbox/action/discard_state.rb +20 -0
  283. data/plugins/providers/virtualbox/action/export.rb +57 -0
  284. data/plugins/providers/virtualbox/action/forced_halt.rb +25 -0
  285. data/plugins/providers/virtualbox/action/forward_ports.rb +89 -0
  286. data/plugins/providers/virtualbox/action/import.rb +54 -0
  287. data/plugins/providers/virtualbox/action/is_paused.rb +20 -0
  288. data/plugins/providers/virtualbox/action/is_running.rb +20 -0
  289. data/plugins/providers/virtualbox/action/is_saved.rb +20 -0
  290. data/plugins/providers/virtualbox/action/match_mac_address.rb +21 -0
  291. data/plugins/providers/virtualbox/action/message_already_running.rb +16 -0
  292. data/plugins/providers/virtualbox/action/message_not_created.rb +16 -0
  293. data/plugins/providers/virtualbox/action/message_not_running.rb +16 -0
  294. data/plugins/providers/virtualbox/action/message_will_not_destroy.rb +17 -0
  295. data/plugins/providers/virtualbox/action/network.rb +424 -0
  296. data/plugins/providers/virtualbox/action/package.rb +20 -0
  297. data/plugins/providers/virtualbox/action/package_vagrantfile.rb +33 -0
  298. data/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb +35 -0
  299. data/plugins/providers/virtualbox/action/prepare_nfs_settings.rb +69 -0
  300. data/plugins/providers/virtualbox/action/prune_nfs_exports.rb +20 -0
  301. data/plugins/providers/virtualbox/action/resume.rb +25 -0
  302. data/plugins/providers/virtualbox/action/sane_defaults.rb +91 -0
  303. data/plugins/providers/virtualbox/action/set_name.rb +52 -0
  304. data/plugins/providers/virtualbox/action/setup_package_files.rb +51 -0
  305. data/plugins/providers/virtualbox/action/share_folders.rb +128 -0
  306. data/plugins/providers/virtualbox/action/suspend.rb +20 -0
  307. data/plugins/providers/virtualbox/config.rb +123 -0
  308. data/plugins/providers/virtualbox/driver/base.rb +374 -0
  309. data/plugins/providers/virtualbox/driver/meta.rb +148 -0
  310. data/plugins/providers/virtualbox/driver/version_4_0.rb +485 -0
  311. data/plugins/providers/virtualbox/driver/version_4_1.rb +485 -0
  312. data/plugins/providers/virtualbox/driver/version_4_2.rb +499 -0
  313. data/plugins/providers/virtualbox/model/forwarded_port.rb +70 -0
  314. data/plugins/providers/virtualbox/plugin.rb +42 -0
  315. data/plugins/providers/virtualbox/provider.rb +92 -0
  316. data/plugins/providers/virtualbox/util/compile_forwarded_ports.rb +35 -0
  317. data/plugins/provisioners/ansible/config.rb +89 -0
  318. data/plugins/provisioners/ansible/plugin.rb +23 -0
  319. data/plugins/provisioners/ansible/provisioner.rb +100 -0
  320. data/plugins/provisioners/cfengine/cap/debian/cfengine_install.rb +19 -0
  321. data/plugins/provisioners/cfengine/cap/linux/cfengine_installed.rb +14 -0
  322. data/plugins/provisioners/cfengine/cap/linux/cfengine_needs_bootstrap.rb +34 -0
  323. data/plugins/provisioners/cfengine/cap/redhat/cfengine_install.rb +24 -0
  324. data/plugins/provisioners/cfengine/config.rb +126 -0
  325. data/plugins/provisioners/cfengine/plugin.rb +42 -0
  326. data/plugins/provisioners/cfengine/provisioner.rb +135 -0
  327. data/plugins/provisioners/chef/config/base.rb +116 -0
  328. data/plugins/provisioners/chef/config/chef_client.rb +66 -0
  329. data/plugins/provisioners/chef/config/chef_solo.rb +94 -0
  330. data/plugins/provisioners/chef/plugin.rb +33 -0
  331. data/plugins/provisioners/chef/provisioner/base.rb +113 -0
  332. data/plugins/provisioners/chef/provisioner/chef_client.rb +126 -0
  333. data/plugins/provisioners/chef/provisioner/chef_solo.rb +195 -0
  334. data/plugins/provisioners/file/config.rb +29 -0
  335. data/plugins/provisioners/file/plugin.rb +23 -0
  336. data/plugins/provisioners/file/provisioner.rb +16 -0
  337. data/plugins/provisioners/puppet/config/puppet.rb +93 -0
  338. data/plugins/provisioners/puppet/config/puppet_server.rb +16 -0
  339. data/plugins/provisioners/puppet/plugin.rb +33 -0
  340. data/plugins/provisioners/puppet/provisioner/puppet.rb +146 -0
  341. data/plugins/provisioners/puppet/provisioner/puppet_server.rb +74 -0
  342. data/plugins/provisioners/salt/bootstrap-salt.sh +6 -0
  343. data/plugins/provisioners/salt/config.rb +105 -0
  344. data/plugins/provisioners/salt/errors.rb +11 -0
  345. data/plugins/provisioners/salt/plugin.rb +22 -0
  346. data/plugins/provisioners/salt/provisioner.rb +249 -0
  347. data/plugins/provisioners/shell/config.rb +65 -0
  348. data/plugins/provisioners/shell/plugin.rb +23 -0
  349. data/plugins/provisioners/shell/provisioner.rb +98 -0
  350. data/templates/commands/init/Vagrantfile.erb +118 -0
  351. data/templates/commands/ssh_config/config.erb +20 -0
  352. data/templates/config/messages.erb +14 -0
  353. data/templates/config/validation_failed.erb +7 -0
  354. data/templates/guests/arch/network_dhcp.erb +4 -0
  355. data/templates/guests/arch/network_static.erb +5 -0
  356. data/templates/guests/coreos/etcd.service.erb +10 -0
  357. data/templates/guests/debian/network_dhcp.erb +11 -0
  358. data/templates/guests/debian/network_static.erb +7 -0
  359. data/templates/guests/fedora/network_dhcp.erb +6 -0
  360. data/templates/guests/fedora/network_static.erb +12 -0
  361. data/templates/guests/freebsd/network_dhcp.erb +3 -0
  362. data/templates/guests/freebsd/network_static.erb +3 -0
  363. data/templates/guests/gentoo/network_dhcp.erb +4 -0
  364. data/templates/guests/gentoo/network_static.erb +4 -0
  365. data/templates/guests/openbsd/network_dhcp.erb +1 -0
  366. data/templates/guests/openbsd/network_static.erb +1 -0
  367. data/templates/guests/redhat/network_dhcp.erb +6 -0
  368. data/templates/guests/redhat/network_static.erb +8 -0
  369. data/templates/guests/suse/network_dhcp.erb +6 -0
  370. data/templates/guests/suse/network_static.erb +10 -0
  371. data/templates/locales/en.yml +1248 -0
  372. data/templates/nfs/exports.erb +5 -0
  373. data/templates/nfs/exports_freebsd.erb +5 -0
  374. data/templates/nfs/exports_linux.erb +7 -0
  375. data/templates/provisioners/chef_client/client.erb +41 -0
  376. data/templates/provisioners/chef_solo/solo.erb +45 -0
  377. data/test/acceptance/base.rb +48 -0
  378. data/test/acceptance/box_test.rb +99 -0
  379. data/test/acceptance/destroy_test.rb +37 -0
  380. data/test/acceptance/halt_test.rb +72 -0
  381. data/test/acceptance/init_test.rb +33 -0
  382. data/test/acceptance/networking/host_only_test.rb +37 -0
  383. data/test/acceptance/networking/port_forward_test.rb +125 -0
  384. data/test/acceptance/package_test.rb +46 -0
  385. data/test/acceptance/provisioning/basic_test.rb +61 -0
  386. data/test/acceptance/provisioning/chef_solo_test.rb +37 -0
  387. data/test/acceptance/provisioning/shell_test.rb +53 -0
  388. data/test/acceptance/resume_test.rb +17 -0
  389. data/test/acceptance/shared_folders_test.rb +84 -0
  390. data/test/acceptance/skeletons/chef_solo_basic/README.md +3 -0
  391. data/test/acceptance/skeletons/chef_solo_basic/cookbooks/basic/recipes/default.rb +5 -0
  392. data/test/acceptance/skeletons/chef_solo_json/README.md +3 -0
  393. data/test/acceptance/skeletons/chef_solo_json/cookbooks/basic/recipes/default.rb +6 -0
  394. data/test/acceptance/skeletons/provisioner_multi/README.md +3 -0
  395. data/test/acceptance/skeletons/provisioner_multi/cookbooks/basic/recipes/default.rb +5 -0
  396. data/test/acceptance/ssh_test.rb +46 -0
  397. data/test/acceptance/support/config.rb +42 -0
  398. data/test/acceptance/support/isolated_environment.rb +118 -0
  399. data/test/acceptance/support/matchers/have_color.rb +9 -0
  400. data/test/acceptance/support/matchers/match_output.rb +14 -0
  401. data/test/acceptance/support/matchers/succeed.rb +14 -0
  402. data/test/acceptance/support/network_tests.rb +29 -0
  403. data/test/acceptance/support/output.rb +95 -0
  404. data/test/acceptance/support/shared/base_context.rb +72 -0
  405. data/test/acceptance/support/shared/command_examples.rb +33 -0
  406. data/test/acceptance/support/virtualbox.rb +36 -0
  407. data/test/acceptance/suspend_test.rb +56 -0
  408. data/test/acceptance/up_basic_test.rb +33 -0
  409. data/test/acceptance/up_with_box_url.rb +40 -0
  410. data/test/acceptance/vagrant_test.rb +47 -0
  411. data/test/acceptance/version_test.rb +15 -0
  412. data/test/config/acceptance_boxes.yml +7 -0
  413. data/test/support/isolated_environment.rb +46 -0
  414. data/test/support/tempdir.rb +43 -0
  415. data/test/unit/base.rb +27 -0
  416. data/test/unit/support/dummy_provider.rb +16 -0
  417. data/test/unit/support/isolated_environment.rb +179 -0
  418. data/test/unit/support/shared/base_context.rb +104 -0
  419. data/test/unit/vagrant/action/builder_test.rb +242 -0
  420. data/test/unit/vagrant/action/builtin/call_test.rb +145 -0
  421. data/test/unit/vagrant/action/builtin/confirm_test.rb +36 -0
  422. data/test/unit/vagrant/action/builtin/env_set_test.rb +20 -0
  423. data/test/unit/vagrant/action/builtin/graceful_halt_test.rb +60 -0
  424. data/test/unit/vagrant/action/builtin/lock_test.rb +98 -0
  425. data/test/unit/vagrant/action/builtin/ssh_exec_test.rb +57 -0
  426. data/test/unit/vagrant/action/hook_test.rb +120 -0
  427. data/test/unit/vagrant/action/runner_test.rb +71 -0
  428. data/test/unit/vagrant/action/warden_test.rb +92 -0
  429. data/test/unit/vagrant/batch_action_test.rb +36 -0
  430. data/test/unit/vagrant/box_collection_test.rb +237 -0
  431. data/test/unit/vagrant/box_test.rb +122 -0
  432. data/test/unit/vagrant/cli_test.rb +28 -0
  433. data/test/unit/vagrant/config/loader_test.rb +184 -0
  434. data/test/unit/vagrant/config/v1/dummy_config_test.rb +24 -0
  435. data/test/unit/vagrant/config/v1/loader_test.rb +145 -0
  436. data/test/unit/vagrant/config/v1/root_test.rb +40 -0
  437. data/test/unit/vagrant/config/v2/dummy_config_test.rb +24 -0
  438. data/test/unit/vagrant/config/v2/loader_test.rb +151 -0
  439. data/test/unit/vagrant/config/v2/root_test.rb +115 -0
  440. data/test/unit/vagrant/config/v2/util_test.rb +21 -0
  441. data/test/unit/vagrant/config_test.rb +66 -0
  442. data/test/unit/vagrant/environment_test.rb +746 -0
  443. data/test/unit/vagrant/guest_test.rb +179 -0
  444. data/test/unit/vagrant/hosts_test.rb +37 -0
  445. data/test/unit/vagrant/machine_state_test.rb +26 -0
  446. data/test/unit/vagrant/machine_test.rb +384 -0
  447. data/test/unit/vagrant/plugin/v1/command_test.rb +143 -0
  448. data/test/unit/vagrant/plugin/v1/communicator_test.rb +9 -0
  449. data/test/unit/vagrant/plugin/v1/config_test.rb +50 -0
  450. data/test/unit/vagrant/plugin/v1/host_test.rb +5 -0
  451. data/test/unit/vagrant/plugin/v1/manager_test.rb +114 -0
  452. data/test/unit/vagrant/plugin/v1/plugin_test.rb +267 -0
  453. data/test/unit/vagrant/plugin/v1/provider_test.rb +18 -0
  454. data/test/unit/vagrant/plugin/v2/command_test.rb +238 -0
  455. data/test/unit/vagrant/plugin/v2/communicator_test.rb +9 -0
  456. data/test/unit/vagrant/plugin/v2/components_test.rb +17 -0
  457. data/test/unit/vagrant/plugin/v2/config_test.rb +60 -0
  458. data/test/unit/vagrant/plugin/v2/host_test.rb +5 -0
  459. data/test/unit/vagrant/plugin/v2/manager_test.rb +174 -0
  460. data/test/unit/vagrant/plugin/v2/plugin_test.rb +305 -0
  461. data/test/unit/vagrant/plugin/v2/provider_test.rb +18 -0
  462. data/test/unit/vagrant/registry_test.rb +128 -0
  463. data/test/unit/vagrant/util/ansi_escape_code_remover_test.rb +16 -0
  464. data/test/unit/vagrant/util/downloader_test.rb +57 -0
  465. data/test/unit/vagrant/util/file_checksum_test.rb +23 -0
  466. data/test/unit/vagrant/util/hash_with_indifferent_access_test.rb +38 -0
  467. data/test/unit/vagrant/util/is_port_open_test.rb +53 -0
  468. data/test/unit/vagrant/util/line_endings_helper_test.rb +16 -0
  469. data/test/unit/vagrant/util/network_ip_test.rb +17 -0
  470. data/test/unit/vagrant/util/retryable_test.rb +106 -0
  471. data/test/unit/vagrant/util/safe_chdir_test.rb +43 -0
  472. data/test/unit/vagrant/util/scoped_hash_override_test.rb +48 -0
  473. data/test/unit/vagrant/util/ssh_test.rb +30 -0
  474. data/test/unit/vagrant/util/string_block_editor_test.rb +106 -0
  475. data/test/unit/vagrant/util/which_test.rb +43 -0
  476. data/test/unit/vagrant_test.rb +74 -0
  477. data/tnargav.gemspec +1 -1
  478. metadata +477 -1
@@ -0,0 +1,23 @@
1
+ require "vagrant"
2
+
3
+ module VagrantPlugins
4
+ module Shell
5
+ class Plugin < Vagrant.plugin("2")
6
+ name "shell"
7
+ description <<-DESC
8
+ Provides support for provisioning your virtual machines with
9
+ shell scripts.
10
+ DESC
11
+
12
+ config(:shell, :provisioner) do
13
+ require File.expand_path("../config", __FILE__)
14
+ Config
15
+ end
16
+
17
+ provisioner(:shell) do
18
+ require File.expand_path("../provisioner", __FILE__)
19
+ Provisioner
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,98 @@
1
+ require "pathname"
2
+ require "tempfile"
3
+
4
+ require "vagrant/util/downloader"
5
+
6
+ module VagrantPlugins
7
+ module Shell
8
+ class Provisioner < Vagrant.plugin("2", :provisioner)
9
+ def provision
10
+ args = ""
11
+ args = " #{config.args}" if config.args
12
+ command = "chmod +x #{config.upload_path} && #{config.upload_path}#{args}"
13
+
14
+ with_script_file do |path|
15
+ # Upload the script to the machine
16
+ @machine.communicate.tap do |comm|
17
+ # Reset upload path permissions for the current ssh user
18
+ user = @machine.ssh_info[:username]
19
+ comm.sudo("chown -R #{user} #{config.upload_path}",
20
+ :error_check => false)
21
+
22
+ comm.upload(path.to_s, config.upload_path)
23
+
24
+ if config.path
25
+ @machine.ui.info(I18n.t("vagrant.provisioners.shell.running",
26
+ script: path.to_s))
27
+ else
28
+ @machine.ui.info(I18n.t("vagrant.provisioners.shell.running",
29
+ script: "inline script"))
30
+ end
31
+
32
+ # Execute it with sudo
33
+ comm.execute(command, sudo: config.privileged) do |type, data|
34
+ if [:stderr, :stdout].include?(type)
35
+ # Output the data with the proper color based on the stream.
36
+ color = type == :stdout ? :green : :red
37
+
38
+ # Note: Be sure to chomp the data to avoid the newlines that the
39
+ # Chef outputs.
40
+ @machine.env.ui.info(
41
+ data,
42
+ :color => color, :new_line => false, :prefix => false)
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+
49
+ protected
50
+
51
+ # This method yields the path to a script to upload and execute
52
+ # on the remote server. This method will properly clean up the
53
+ # script file if needed.
54
+ def with_script_file
55
+ script = nil
56
+
57
+ if config.remote?
58
+ download_path = @machine.env.tmp_path.join("#{@machine.id}-remote-script")
59
+ download_path.delete if download_path.file?
60
+
61
+ Vagrant::Util::Downloader.new(config.path, download_path).download!
62
+ script = download_path.read
63
+
64
+ download_path.delete
65
+ elsif config.path
66
+ # Just yield the path to that file...
67
+ root_path = @machine.env.root_path
68
+ script = Pathname.new(config.path).expand_path(root_path).read
69
+ else
70
+ # The script is just the inline code...
71
+ script = config.inline
72
+ end
73
+
74
+ # Replace Windows line endings with Unix ones
75
+ script.gsub!(/\r\n?$/, "\n")
76
+
77
+ # Otherwise we have an inline script, we need to Tempfile it,
78
+ # and handle it specially...
79
+ file = Tempfile.new('vagrant-shell')
80
+
81
+ # Unless you set binmode, on a Windows host the shell script will
82
+ # have CRLF line endings instead of LF line endings, causing havoc
83
+ # when the guest executes it. This fixes [GH-1181].
84
+ file.binmode
85
+
86
+ begin
87
+ file.write(script)
88
+ file.fsync
89
+ file.close
90
+ yield file.path
91
+ ensure
92
+ file.close
93
+ file.unlink
94
+ end
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,118 @@
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5
+ VAGRANTFILE_API_VERSION = "2"
6
+
7
+ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
8
+ # All Vagrant configuration is done here. The most common configuration
9
+ # options are documented and commented below. For a complete reference,
10
+ # please see the online documentation at vagrantup.com.
11
+
12
+ # Every Vagrant virtual environment requires a box to build off of.
13
+ config.vm.box = "<%= box_name %>"
14
+
15
+ # The url from where the 'config.vm.box' box will be fetched if it
16
+ # doesn't already exist on the user's system.
17
+ <% if box_url.nil? %># <% end %>config.vm.box_url = "<%= box_url || "http://domain.com/path/to/above.box" %>"
18
+
19
+ # Create a forwarded port mapping which allows access to a specific port
20
+ # within the machine from a port on the host machine. In the example below,
21
+ # accessing "localhost:8080" will access port 80 on the guest machine.
22
+ # config.vm.network :forwarded_port, guest: 80, host: 8080
23
+
24
+ # Create a private network, which allows host-only access to the machine
25
+ # using a specific IP.
26
+ # config.vm.network :private_network, ip: "192.168.33.10"
27
+
28
+ # Create a public network, which generally matched to bridged network.
29
+ # Bridged networks make the machine appear as another physical device on
30
+ # your network.
31
+ # config.vm.network :public_network
32
+
33
+ # If true, then any SSH connections made will enable agent forwarding.
34
+ # Default value: false
35
+ # config.ssh.forward_agent = true
36
+
37
+ # Share an additional folder to the guest VM. The first argument is
38
+ # the path on the host to the actual folder. The second argument is
39
+ # the path on the guest to mount the folder. And the optional third
40
+ # argument is a set of non-required options.
41
+ # config.vm.synced_folder "../data", "/vagrant_data"
42
+
43
+ # Provider-specific configuration so you can fine-tune various
44
+ # backing providers for Vagrant. These expose provider-specific options.
45
+ # Example for VirtualBox:
46
+ #
47
+ # config.vm.provider :virtualbox do |vb|
48
+ # # Don't boot with headless mode
49
+ # vb.gui = true
50
+ #
51
+ # # Use VBoxManage to customize the VM. For example to change memory:
52
+ # vb.customize ["modifyvm", :id, "--memory", "1024"]
53
+ # end
54
+ #
55
+ # View the documentation for the provider you're using for more
56
+ # information on available options.
57
+
58
+ # Enable provisioning with Puppet stand alone. Puppet manifests
59
+ # are contained in a directory path relative to this Vagrantfile.
60
+ # You will need to create the manifests directory and a manifest in
61
+ # the file <%= box_name %>.pp in the manifests_path directory.
62
+ #
63
+ # An example Puppet manifest to provision the message of the day:
64
+ #
65
+ # # group { "puppet":
66
+ # # ensure => "present",
67
+ # # }
68
+ # #
69
+ # # File { owner => 0, group => 0, mode => 0644 }
70
+ # #
71
+ # # file { '/etc/motd':
72
+ # # content => "Welcome to your Vagrant-built virtual machine!
73
+ # # Managed by Puppet.\n"
74
+ # # }
75
+ #
76
+ # config.vm.provision :puppet do |puppet|
77
+ # puppet.manifests_path = "manifests"
78
+ # puppet.manifest_file = "site.pp"
79
+ # end
80
+
81
+ # Enable provisioning with chef solo, specifying a cookbooks path, roles
82
+ # path, and data_bags path (all relative to this Vagrantfile), and adding
83
+ # some recipes and/or roles.
84
+ #
85
+ # config.vm.provision :chef_solo do |chef|
86
+ # chef.cookbooks_path = "../my-recipes/cookbooks"
87
+ # chef.roles_path = "../my-recipes/roles"
88
+ # chef.data_bags_path = "../my-recipes/data_bags"
89
+ # chef.add_recipe "mysql"
90
+ # chef.add_role "web"
91
+ #
92
+ # # You may also specify custom JSON attributes:
93
+ # chef.json = { :mysql_password => "foo" }
94
+ # end
95
+
96
+ # Enable provisioning with chef server, specifying the chef server URL,
97
+ # and the path to the validation key (relative to this Vagrantfile).
98
+ #
99
+ # The Opscode Platform uses HTTPS. Substitute your organization for
100
+ # ORGNAME in the URL and validation key.
101
+ #
102
+ # If you have your own Chef Server, use the appropriate URL, which may be
103
+ # HTTP instead of HTTPS depending on your configuration. Also change the
104
+ # validation key to validation.pem.
105
+ #
106
+ # config.vm.provision :chef_client do |chef|
107
+ # chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"
108
+ # chef.validation_key_path = "ORGNAME-validator.pem"
109
+ # end
110
+ #
111
+ # If you're using the Opscode platform, your validator client is
112
+ # ORGNAME-validator, replacing ORGNAME with your organization name.
113
+ #
114
+ # If you have your own Chef Server, the default validation client name is
115
+ # chef-validator, unless you changed the configuration.
116
+ #
117
+ # chef.validation_client_name = "ORGNAME-validator"
118
+ end
@@ -0,0 +1,20 @@
1
+ Host <%= host_key %>
2
+ HostName <%= ssh_host %>
3
+ User <%= ssh_user %>
4
+ Port <%= ssh_port %>
5
+ UserKnownHostsFile /dev/null
6
+ StrictHostKeyChecking no
7
+ PasswordAuthentication no
8
+ <% if private_key_path.include?(" ") -%>
9
+ IdentityFile "<%= private_key_path %>"
10
+ <% else -%>
11
+ IdentityFile <%= private_key_path %>
12
+ <% end -%>
13
+ IdentitiesOnly yes
14
+ LogLevel FATAL
15
+ <% if forward_agent -%>
16
+ ForwardAgent yes
17
+ <% end -%>
18
+ <% if forward_x11 -%>
19
+ ForwardX11 yes
20
+ <% end -%>
@@ -0,0 +1,14 @@
1
+ <% if !warnings.empty? -%>
2
+ Warnings:
3
+ <% warnings.each do |warning| -%>
4
+ * <%= warning %>
5
+ <% end -%>
6
+
7
+ <% end -%>
8
+ <% if !errors.empty? -%>
9
+ Errors:
10
+ <% errors.each do |error| -%>
11
+ * <%= error %>
12
+ <% end -%>
13
+
14
+ <% end -%>
@@ -0,0 +1,7 @@
1
+ <% errors.each do |section, list| -%>
2
+ <%= section %>:
3
+ <% list.each do |error| -%>
4
+ * <%= error %>
5
+ <% end -%>
6
+
7
+ <% end -%>
@@ -0,0 +1,4 @@
1
+ Description='A basic dhcp ethernet connection'
2
+ Interface=eth<%= options[:interface] %>
3
+ Connection=ethernet
4
+ IP=dhcp
@@ -0,0 +1,5 @@
1
+ Connection=ethernet
2
+ Description='A basic static ethernet connection'
3
+ Interface=eth<%= options[:interface] %>
4
+ IP=static
5
+ Address=('<%= options[:ip]%>/24')
@@ -0,0 +1,10 @@
1
+ [Unit]
2
+ Description=Clustered etcd
3
+ #After=docker.service
4
+
5
+ [Service]
6
+ Restart=always
7
+ ExecStart=/usr/bin/etcd -c 4001 -s 7001 -h <%= options[:my_ip] %> <% if options[:connection_string] %>-C <%= options[:connection_string] %><% end %> -d /home/core/etcd
8
+
9
+ [Install]
10
+ WantedBy=local.target
@@ -0,0 +1,11 @@
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 dhcp
5
+ <% if !options[:use_dhcp_assigned_default_route] %>
6
+ post-up route del default dev $IFACE
7
+ <% else %>
8
+ # needed as some newer distribution do not properly load routes, ubuntu 12.04
9
+ post-up dhclient $IFACE
10
+ <% end %>
11
+ #VAGRANT-END
@@ -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,12 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ NM_CONTROLLED=no
4
+ BOOTPROTO=none
5
+ ONBOOT=yes
6
+ IPADDR=<%= options[:ip] %>
7
+ NETMASK=<%= options[:netmask] %>
8
+ DEVICE=eth<%= options[:interface] %>
9
+ <%= options[:gateway] ? "GATEWAY=#{options[:gateway]}" : '' %>
10
+ <%= options[:mac_address] ? "HWADDR=#{options[:mac_address]}" : '' %>
11
+ PEERDNS=no
12
+ #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 @@
1
+ inet <%= options[:ip] %> <%= options[:netmask] %> NONE
@@ -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,8 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ BOOTPROTO=none
4
+ IPADDR=<%= options[:ip] %>
5
+ NETMASK=<%= options[:netmask] %>
6
+ DEVICE=eth<%= options[:interface] %>
7
+ PEERDNS=no
8
+ #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,10 @@
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
+ PEERDNS=no
8
+ STARTMODE='auto'
9
+ USERCONTROL='no'
10
+ #VAGRANT-END
@@ -0,0 +1,1248 @@
1
+ en:
2
+ vagrant:
3
+ boot_completed: |-
4
+ Machine booted and ready!
5
+ boot_waiting: |-
6
+ Waiting for machine to boot. This may take a few minutes...
7
+ cfengine_bootstrapping: |-
8
+ Bootstrapping CFEngine with policy server: %{policy_server}...
9
+ cfengine_bootstrapping_policy_hub: |-
10
+ Performing additional bootstrap for policy hubs...
11
+ cfengine_cant_autodetect_ip: |-
12
+ Vagrant was unable to automatically detect the IP address of the
13
+ running machine to use as the policy server address. Please specify
14
+ the policy server address manually, or verify that the networks are
15
+ configured properly internally.
16
+ cfengine_cant_detect: |-
17
+ Vagrant doesn't support detecting whether CFEngine is installed
18
+ for the guest OS running in the machine. Vagrant will assume it is
19
+ installed and attempt to continue.
20
+ cfengine_detected_ip: |-
21
+ Detected policy server IP address: %{address}...
22
+ cfengine_installing: |-
23
+ Installing CFEngine onto machine...
24
+ cfengine_installing_files_path: |-
25
+ Copying the 'files_path' files...
26
+ cfengine_no_bootstrap: |-
27
+ CFEngine doesn't require bootstrap. Not bootstrapping.
28
+ cfengine_single_run: |-
29
+ CFEngine running in "single run" mode. Will execute one file.
30
+ cfengine_single_run_execute: |-
31
+ Executing run file for CFEngine...
32
+ chef_client_cleanup_failed: |-
33
+ Cleaning up the '%{deletable}' for Chef failed. The stdout and
34
+ stderr are shown below. Vagrant will continue destroying the machine,
35
+ so please clean up these resources manually.
36
+
37
+ stdout: %{stdout}
38
+
39
+ stderr: %{stderr}
40
+ chef_config_knife_not_found: |-
41
+ The `knife` application was not found! This is required by Vagrant
42
+ to automatically delete Chef nodes and clients.
43
+ chef_run_list_empty: |-
44
+ Warning: Chef solo run list is empty. This may not be what you want.
45
+ provisioner_cleanup: |-
46
+ Running cleanup tasks for '%{name}' provisioner...
47
+
48
+ cfengine_config:
49
+ classes_array: |-
50
+ The 'classes' configuration must be an array.
51
+ files_path_not_directory: |-
52
+ The 'files_path' must point to a valid directory.
53
+ invalid_mode: |-
54
+ The mode must be 'bootstrap' or 'single_run'
55
+ policy_server_address: |-
56
+ The policy server address must be set for bootstrapping.
57
+ run_file_not_found: |-
58
+ The 'run_file' specified could not be found.
59
+
60
+ virtualbox:
61
+ config:
62
+ id_in_pre_import: |-
63
+ The ':id' parameter is not available in "pre-import" customizations.
64
+ invalid_event: |-
65
+ %{event} is not a valid event for customization. Valid events
66
+ are: %{valid_events}
67
+
68
+ general:
69
+ batch_unexpected_error: |-
70
+ An unexpected error ocurred when executing the action on the
71
+ '%{machine}' machine. Please report this as a bug:
72
+
73
+ %{message}
74
+ batch_vagrant_error: |-
75
+ An error occurred while executing the action on the '%{machine}'
76
+ machine. Please handle this error then try again:
77
+
78
+ %{message}
79
+ config_upgrade_messages: |-
80
+ There were warnings and/or errors while loading your Vagrantfile
81
+ for the machine '%{name}'.
82
+
83
+ Your Vagrantfile was written for an earlier version of Vagrant,
84
+ and while Vagrant does the best it can to remain backwards
85
+ compatible, there are some cases where things have changed
86
+ significantly enough to warrant a message. These messages are
87
+ shown below.
88
+
89
+ %{output}
90
+ moving_home_dir: "Moving old Vagrant home directory to new location: %{directory}"
91
+ home_dir_migration_failed: |-
92
+ Both an old and new Vagrant home directory exist. Only the new one will
93
+ be used. Please merge the old directory into the new directory if you'd
94
+ like to use the old data as well.
95
+
96
+ Old: %{old}
97
+ New: %{new}
98
+ in_bundler: |-
99
+ You appear to be running Vagrant in a Bundler environment. Because
100
+ Vagrant should be run within installers (outside of Bundler), Vagrant
101
+ will assume that you're developing plugins and will change its behavior
102
+ in certain ways to better assist plugin development.
103
+ not_in_installer: |-
104
+ You appear to be running Vagrant outside of the official installers.
105
+ Note that the installers are what ensure that Vagrant has all required
106
+ dependencies, and Vagrant assumes that these dependencies exist. By
107
+ running outside of the installer environment, Vagrant may not function
108
+ properly. To remove this warning, install Vagrant using one of the
109
+ official packages from vagrantup.com.
110
+ upgraded_v1_dotfile: |-
111
+ A Vagrant 1.0.x state file was found for this environment. Vagrant has
112
+ gone ahead and auto-upgraded this to the latest format. Everything
113
+ should continue working as normal. Beware, however, that older versions
114
+ of Vagrant may no longer be used with this environment.
115
+
116
+ However, in case anything went wrong, the old dotfile was backed up
117
+ to the location below. If everything is okay, it is safe to remove
118
+ this backup.
119
+
120
+ Backup: %{backup_path}
121
+
122
+ #-------------------------------------------------------------------------------
123
+ # Translations for exception classes
124
+ #-------------------------------------------------------------------------------
125
+ errors:
126
+ active_machine_with_different_provider: |-
127
+ An active machine was found with a different provider. Vagrant
128
+ currently allows each machine to be brought up with only a single
129
+ provider at a time. A future version will remove this limitation.
130
+ Until then, please destroy the existing machine to up with a new
131
+ provider.
132
+
133
+ Machine name: %{name}
134
+ Active provider: %{active_provider}
135
+ Requested provider: %{requested_provider}
136
+ ansible_failed: |-
137
+ Ansible failed to complete successfully. Any error output should be
138
+ visible above. Please fix these errors and try again.
139
+ ansible_playbook_app_not_found: |-
140
+ The "ansible-playbook" program could not be found! Please verify
141
+ that "ansible-playbook" is available on the PATH of your host
142
+ system, and try again.
143
+
144
+ If you haven't installed Ansible yet, please install Ansible
145
+ on your system. Vagrant can't do this for you in a safe, automated
146
+ way. Please see ansible.cc for more info.
147
+ base_vm_not_found: The base VM with the name '%{name}' was not found.
148
+ batch_multi_error: |-
149
+ An error occurred while executing multiple actions in parallel.
150
+ Any errors that occurred are shown below.
151
+
152
+ %{message}
153
+ boot_bad_state: |-
154
+ The guest machine entered an invalid state while waiting for it
155
+ to boot. Valid states are '%{valid}'. The machine is in the
156
+ '%{invalid}' state. Please verify everything is configured
157
+ properly and try again.
158
+
159
+ If the provider you're using has a GUI that comes with it,
160
+ it is often helpful to open that and watch the machine, since the
161
+ GUI often has more helpful error messages than Vagrant can retrieve.
162
+ For example, if you're using VirtualBox, run `vagrant up` while the
163
+ VirtualBox GUI is open.
164
+ boot_timeout: |-
165
+ Timed out while waiting for the machine to boot. This means that
166
+ Vagrant was unable to communicate with the guest machine within
167
+ the configured ("config.vm.boot_timeout" value) time period. This can
168
+ mean a number of things.
169
+
170
+ If you're using a custom box, make sure that networking is properly
171
+ working and you're able to connect to the machine. It is a common
172
+ problem that networking isn't setup properly in these boxes.
173
+ Verify that authentication configurations are also setup properly,
174
+ as well.
175
+
176
+ If the box appears to be booting properly, you may want to increase
177
+ the timeout ("config.vm.boot_timeout") value.
178
+ box_config_changing_box: |-
179
+ While loading the Vagrantfile, the provider override specified
180
+ a new box. This box, in turn, specified a different box. This isn't
181
+ allowed, as it could lead to infinite recursion of Vagrant configuration
182
+ loading. Please fix this.
183
+ box_metadata_file_not_found: |-
184
+ The "metadata.json" file for the box '%{name}' was not found.
185
+ Boxes require this file in order for Vagrant to determine the
186
+ provider it was made for. If you made the box, please add a
187
+ "metadata.json" file to it. If someone else made the box, please
188
+ notify the box creator that the box is corrupt. Documentation for
189
+ box file format can be found at the URL below:
190
+
191
+ http://docs.vagrantup.com/v2/boxes/format.html
192
+ box_not_found: Box '%{name}' with '%{provider}' provider could not be found.
193
+ box_provider_doesnt_match: |-
194
+ The box you attempted to add doesn't match the provider you specified.
195
+
196
+ Provider expected: %{expected}
197
+ Provider of box: %{actual}
198
+ box_upgrade_required: |-
199
+ The box '%{name}' is still stored on disk in the Vagrant 1.0.x
200
+ format. This box must be upgraded in order to work properly with
201
+ this version of Vagrant.
202
+ cfengine_bootstrap_failed: |-
203
+ Failed to bootstrap CFEngine. Please see the output above to
204
+ see what went wrong and address the issue.
205
+ cfengine_install_failed: |-
206
+ After installing CFEngine, Vagrant still can't detect a proper
207
+ CFEngine installation. Please verify that CFEngine was properly
208
+ installed, as the installation may have failed.
209
+ cfengine_not_installed: |-
210
+ CFEngine appears to not be installed on the guest machine. Vagrant
211
+ can attempt to install CFEngine for you if you set the "install"
212
+ setting to "true", but this setting was not set. Please install
213
+ CFEngine on the guest machine or enable the "install" setting for
214
+ Vagrant to attempt to install it for you.
215
+ cli_invalid_options: |-
216
+ An invalid option was specified. The help for this command
217
+ is available below.
218
+
219
+ %{help}
220
+ cli_invalid_usage: |-
221
+ This command was not invoked properly. The help for this command is
222
+ available below.
223
+
224
+ %{help}
225
+ command_unavailable: |-
226
+ The executable '%{file}' Vagrant is trying to run was not
227
+ found in the PATH variable. This is an error. Please verify
228
+ this software is installed and on the path.
229
+ command_unavailable_windows: |-
230
+ The executable '%{file}' Vagrant is trying to run was not
231
+ found in the %PATH% variable. This is an error. Please verify
232
+ this software is installed and on the path.
233
+ config_invalid: |-
234
+ There are errors in the configuration of this machine. Please fix
235
+ the following errors and try again:
236
+
237
+ %{errors}
238
+ config_upgrade_errors: |-
239
+ Because there were errors upgrading your Vagrantfiles, Vagrant
240
+ can no longer continue. Please fix the errors above and try again.
241
+ copy_private_key_failed: |-
242
+ Vagrant failed to copy the default insecure private key into your
243
+ home directory. This is usually caused by a permissions error.
244
+ Please make sure the permissions of the source is readable and
245
+ the destination is writable.
246
+
247
+ Source: %{source}
248
+ Destination: %{destination}
249
+ destroy_requires_force: |-
250
+ Destroy doesn't have a TTY to ask for confirmation. Please pass the
251
+ `--force` flag to force a destroy, otherwise attach a TTY so that
252
+ the destroy can be confirmed.
253
+ dotfile_is_directory: |-
254
+ The local file Vagrant uses to store data ".vagrant" already exists
255
+ and is a directory! If you are in your home directory, then please run
256
+ this command in another directory. If you aren't in a home directory,
257
+ then please rename ".vagrant" to something else, or configure Vagrant
258
+ to use another filename by modifying `config.vagrant.dotfile_name`.
259
+ dotfile_upgrade_json_error: |-
260
+ A Vagrant 1.0.x local state file was found. Vagrant is able to upgrade
261
+ this to the latest format automatically, however various checks are
262
+ put in place to verify data isn't incorrectly deleted. In this case,
263
+ the old state file was not valid JSON. Vagrant 1.0.x would store state
264
+ as valid JSON, meaning that this file was probably tampered with or
265
+ manually edited. Vagrant's auto-upgrade process cannot continue in this
266
+ case.
267
+
268
+ In most cases, this can be resolve by simply removing the state file.
269
+ Note however though that if Vagrant was previously managing virtual
270
+ machines, they may be left in an "orphan" state. That is, if they are
271
+ running or exist, they'll have to manually be removed.
272
+
273
+ If you're unsure what to do, ask the Vagrant mailing list or contact
274
+ support.
275
+
276
+ State file path: %{state_file}
277
+ downloader_error: |-
278
+ An error occurred while downloading the remote file. The error
279
+ message, if any, is reproduced below. Please fix this error and try
280
+ again.
281
+
282
+ %{message}
283
+ downloader_interrupted: |-
284
+ The download was interrupted by an external signal. It did not
285
+ complete.
286
+ environment_locked: |-
287
+ An instance of Vagrant is already running. Only one instance of Vagrant
288
+ may run at any given time to avoid problems with VirtualBox inconsistencies
289
+ occurring. Please wait for the other instance of Vagrant to end and then
290
+ try again.
291
+ environment_non_existent_cwd: |-
292
+ The working directory for Vagrant doesn't exist! This is the
293
+ specified working directory:
294
+
295
+ %{cwd}
296
+ forward_port_adapter_not_found: |-
297
+ The adapter to attach a forwarded port to was not found. Please
298
+ verify that the given adapter is setup on the machine as a NAT
299
+ interface.
300
+
301
+ Host port: %{host}
302
+ Guest port: %{guest}
303
+ Adapter: %{adapter}
304
+ gem_command_in_bundler: |-
305
+ You cannot run the `vagrant plugin` command while in a bundler environment.
306
+ This should generally never happen unless Vagrant is installed outside
307
+ of the official installers or another gem is wrongly attempting to
308
+ use Vagrant internals directly. Please properly install Vagrant to
309
+ fix this. If this error persists, please contact support.
310
+ guest_capability_invalid: |-
311
+ The registered guest capability '%{cap}' for the
312
+ detected guest OS '%{guest}' is invalid. The capability does
313
+ not implement the proper method. This is a bug with Vagrant or the
314
+ plugin that implements this capability. Please report a bug.
315
+ guest_capability_not_found: |-
316
+ Vagrant attempted to execute the capability '%{cap}'
317
+ on the detect guest OS '%{guest}', but the guest doesn't
318
+ support that capability. This capability is required for your
319
+ configuration of Vagrant. Please either reconfigure Vagrant to
320
+ avoid this capability or fix the issue by creating the capability.
321
+ guest_not_detected: |-
322
+ The guest operating system of the machine could not be detected!
323
+ Vagrant requires this knowledge to perform specific tasks such
324
+ as mounting shared folders and configuring networks. Please add
325
+ the ability to detect this guest operating system to Vagrant
326
+ by creating a plugin or reporting a bug.
327
+ home_dir_not_accessible: |-
328
+ The home directory you specified is not accessible. The home
329
+ directory that Vagrant uses must be both readable and writable.
330
+
331
+ You specified: %{home_path}
332
+ interrupted: |-
333
+ Vagrant exited after cleanup due to external interrupt.
334
+ local_data_dir_not_accessible: |-
335
+ The directory Vagrant will use to store local environment-specific
336
+ state is not accessible. The directory specified as the local data
337
+ directory must be both readable and writable for the user that is
338
+ running Vagrant.
339
+
340
+ Local data directory: %{local_data_path}
341
+ linux_mount_failed: |-
342
+ Failed to mount folders in Linux guest. This is usually beacuse
343
+ the "vboxsf" file system is not available. Please verify that
344
+ the guest additions are properly installed in the guest and
345
+ can work properly. The command attempted was:
346
+
347
+ %{command}
348
+ linux_nfs_mount_failed: |-
349
+ Mounting NFS shared folders failed. This is most often caused by the NFS
350
+ client software not being installed on the guest machine. Please verify
351
+ that the NFS client software is properly installed, and consult any resources
352
+ specific to the linux distro you're using for more information on how to
353
+ do this.
354
+ linux_shell_expand_failed: |-
355
+ Vagrant failed to determine the shell expansion of the guest path
356
+ for one of your shared folders. This is an extremely rare error case
357
+ and most likely indicates an unusual configuration of the guest system.
358
+ Please report a bug with your Vagrantfile.
359
+ machine_guest_not_ready: |-
360
+ Guest-specific operations were attempted on a machine that is not
361
+ ready for guest communication. This should not happen and a bug
362
+ should be reported.
363
+ machine_not_found: |-
364
+ The machine with the name '%{name}' was not found configured for
365
+ this Vagrant environment.
366
+ machine_state_invalid: |-
367
+ An internal error has occurred! The provider of the machine you're
368
+ trying to work with reported an invalid state. This is a bug with
369
+ the provider you're using, and not with Vagrant itself or with
370
+ any configuration you may have done. Please report this bug to
371
+ the proper location.
372
+ multi_vm_required: |-
373
+ A multi-vm environment is required for name specification to this command.
374
+ multi_vm_target_required: |-
375
+ This command requires a specific VM name to target in a multi-VM environment.
376
+ nfs_cant_read_exports: |-
377
+ Vagrant can't read your current NFS exports! The exports file should be
378
+ readable by any user. This is usually caused by invalid permissions
379
+ on your NFS exports file. Please fix them and try again.
380
+ nfs_no_guest_ip: |-
381
+ No guest IP was given to the Vagrant core NFS helper. This is an
382
+ internal error that should be reported as a bug.
383
+ nfs_no_host_ip: |-
384
+ No host IP was given to the Vagrant core NFS helper. This is
385
+ an internal error that should be reported as a bug.
386
+ nfs_no_hostonly_network: |-
387
+ NFS requires a host-only network with a static IP to be created.
388
+ Please add a host-only network with a static IP to the machine
389
+ for NFS to work.
390
+ no_env: |-
391
+ A Vagrant environment is required to run this command. Run `vagrant init`
392
+ to set one up in this directory, or change to a directory with a
393
+ Vagrantfile and try again.
394
+ plugin_gem_error: |-
395
+ An error occurred within RubyGems, the underlying system used to
396
+ manage Vagrant plugins. The output of the errors are shown below:
397
+
398
+ %{output}
399
+ plugin_install_bad_entry_point: |-
400
+ Attempting to load the plugin '%{name}' failed, because
401
+ the entry point doesn't exist. The entry point attempted was
402
+ '%{entry_point}'. If this is not correct, please manually
403
+ specify an `--entry-point` when installing the plugin.
404
+ plugin_install_license_not_found: |-
405
+ The license file to install could not be found. Please verify
406
+ the path you gave is correct. The path to the license file given
407
+ was: '%{path}'
408
+ plugin_install_not_found: |-
409
+ The plugin '%{name}' could not be found in local or remote
410
+ repositories. Please check the name of the plugin and try again.
411
+ plugin_load_error: |-
412
+ The plugin "%{plugin}" could not be found. Please make sure that it is
413
+ properly installed via `vagrant plugin`. Note that plugins made for
414
+ Vagrant 1.0.x are not compatible with 1.1+ and this error will likely
415
+ continue to show when you use `plugin install` with a 1.0.x plugin.
416
+ plugin_load_failed: |-
417
+ Failed to load the "%{plugin}" plugin. View logs for more details.
418
+ plugin_load_failed_with_output: |-
419
+ Failed to load the "%{plugin}" plugin. The output from loading
420
+ the plugin is shown below. View the logs for complete details.
421
+
422
+ stdout: %{stdout}
423
+
424
+ stderr: %{stderr}
425
+ plugin_not_found: |-
426
+ The plugin '%{name}' could not be found. Please install this plugin
427
+ prior to attempting to do anything with it.
428
+ plugin_not_installed: |-
429
+ The plugin '%{name}' is not installed. Please install it first.
430
+ port_collision_resume: |-
431
+ This VM cannot be resumed, because the forwarded ports would collide
432
+ with a running program (it could be another virtual machine). Normally,
433
+ Vagrant will attempt to fix this for you but VirtualBox only allows
434
+ forwarded ports to change if the VM is powered off. Therefore, please
435
+ reload your VM or stop the other program to continue.
436
+ provider_not_found: |-
437
+ The provider '%{provider}' could not be found, but was requested to
438
+ back the machine '%{machine}'. Please use a provider that exists.
439
+ provisioner_flag_invalid: |-
440
+ '%{name}' is not a known provisioner. Please specify a valid
441
+ provisioner.
442
+ scp_permission_denied: |-
443
+ Failed to upload a file to the guest VM via SCP due to a permissions
444
+ error. This is normally because the user running Vagrant doesn't have
445
+ read permission on the file. Please set proper permissions on the file:
446
+
447
+ %{path}
448
+ scp_unavailable: |-
449
+ SSH server on the guest doesn't support SCP. Please install the necessary
450
+ software to enable SCP on your guest operating system.
451
+ shared_folder_create_failed: |-
452
+ Failed to create the following shared folder on the host system. This is
453
+ usually because Vagrant does not have sufficient permissions to create
454
+ the folder.
455
+
456
+ %{path}
457
+
458
+ Please create the folder manually or specify another path to share.
459
+ ssh_authentication_failed: |-
460
+ SSH authentication failed! This is typically caused by the public/private
461
+ keypair for the SSH user not being properly set on the guest VM. Please
462
+ verify that the guest VM is setup with the proper public key, and that
463
+ the private key path for Vagrant is setup properly as well.
464
+ ssh_bad_exit_status: |-
465
+ The following SSH command responded with a non-zero exit status.
466
+ Vagrant assumes that this means the command failed!
467
+
468
+ %{command}
469
+
470
+ Stdout from the command:
471
+
472
+ %{stdout}
473
+
474
+ Stderr from the command:
475
+
476
+ %{stderr}
477
+ ssh_connect_eacces: |-
478
+ SSH is getting permission denied errors when attempting to connect
479
+ to the IP for SSH. This is usually caused by network rules and not being
480
+ able to connect to the specified IP. Please try changing the IP on
481
+ which the guest machine binds to for SSH.
482
+ ssh_connection_refused: |-
483
+ SSH connection was refused! This usually happens if the VM failed to
484
+ boot properly. Some steps to try to fix this: First, try reloading your
485
+ VM with `vagrant reload`, since a simple restart sometimes fixes things.
486
+ If that doesn't work, destroy your VM and recreate it with a `vagrant destroy`
487
+ followed by a `vagrant up`. If that doesn't work, contact a Vagrant
488
+ maintainer (support channels listed on the website) for more assistance.
489
+ ssh_connection_reset: |-
490
+ SSH connection was reset! This usually happens when the machine is
491
+ taking too long to reboot. First, try reloading your machine with
492
+ `vagrant reload`, since a simple restart sometimes fixes things.
493
+ If that doesn't work, destroy your machine and recreate it with
494
+ a `vagrant destroy` followed by a `1vagrant up`. If that doesn't work,
495
+ contact support.
496
+ ssh_connection_timeout: |-
497
+ Vagrant timed out while attempting to connect via SSH. This usually
498
+ means that the VM booted, but there are issues with the SSH configuration
499
+ or network connectivity issues. Please try to `vagrant reload` or
500
+ `vagrant up` again.
501
+ ssh_disconnected: |-
502
+ The SSH connection was unexpectedly closed by the remote end. This
503
+ usually indicates that SSH within the guest machine was unable to
504
+ properly start up. Please boot the VM in GUI mode to check whether
505
+ it is booting properly.
506
+ ssh_no_route: |-
507
+ While attempting to connect with SSH, a "no route to host" (EHOSTUNREACH)
508
+ error was received. Please verify your network settings are correct
509
+ and try again.
510
+ ssh_host_down: |-
511
+ While attempting to connect with SSH, a "host is down" (EHOSTDOWN)
512
+ error was received. Please verify your SSH settings are correct
513
+ and try again.
514
+ ssh_is_putty_link: |-
515
+ The `ssh` executable found in the PATH is a PuTTY Link SSH client.
516
+ Vagrant is only compatible with OpenSSH SSH clients. Please install
517
+ an OpenSSH SSH client or manually SSH in using your existing client
518
+ using the information below.
519
+
520
+ Host: %{host}
521
+ Port: %{port}
522
+ Username: %{username}
523
+ Private key: %{key_path}
524
+ ssh_key_bad_owner: |-
525
+ The private key to connect to the machine via SSH must be owned
526
+ by the user running Vagrant. This is a strict requirement from
527
+ SSH itself. Please fix the following key to be owned by the user
528
+ running Vagrant:
529
+
530
+ %{key_path}
531
+ ssh_key_bad_permissions: |-
532
+ The private key to connect to this box via SSH has invalid permissions
533
+ set on it. The permissions of the private key should be set to 0600, otherwise SSH will
534
+ ignore the key. Vagrant tried to do this automatically for you but failed. Please set the
535
+ permissions on the following file to 0600 and then try running this command again:
536
+
537
+ %{key_path}
538
+ ssh_key_type_not_supported: |-
539
+ The private key you're attempting to use with this Vagrant box uses
540
+ an unsupported encryption type. The SSH library Vagrant uses does not support
541
+ this key type. Please use `ssh-rsa` or `ssh-dss` instead. Note that
542
+ sometimes keys in your ssh-agent can interfere with this as well,
543
+ so verify the keys are valid there in addition to standard
544
+ file paths.
545
+ ssh_not_ready: |-
546
+ The provider for this Vagrant-managed machine is reporting that it
547
+ is not yet ready for SSH. Depending on your provider this can carry
548
+ different meanings. Make sure your machine is created and running and
549
+ try again. Additionally, check the output of `vagrant status` to verify
550
+ that the machine is in the state that you expect. If you continue to
551
+ get this error message, please view the documentation for the provider
552
+ you're using.
553
+ ssh_port_not_detected: |-
554
+ Vagrant couldn't determine the SSH port for your VM! Vagrant attempts to
555
+ automatically find a forwarded port that matches your `config.ssh.guest_port`
556
+ (default: 22) value and uses this for SSH. Alternatively, if `config.ssh.port`
557
+ is set, it will use this.
558
+
559
+ However, in this case Vagrant was unable to find a forwarded port that matches
560
+ the guest port and `config.ssh.port` is not set!
561
+
562
+ Please make sure that you have a forwarded port that goes to the configured
563
+ guest port value, or specify an explicit SSH port with `config.ssh.port`.
564
+ ssh_unavailable: "`ssh` binary could not be found. Is an SSH client installed?"
565
+ ssh_unavailable_windows: |-
566
+ `ssh` executable not found in any directories in the %PATH% variable. Is an
567
+ SSH client installed? Try installing Cygwin, MinGW or Git, all of which
568
+ contain an SSH client. Or use the PuTTY SSH client with the following
569
+ authentication information shown below:
570
+
571
+ Host: %{host}
572
+ Port: %{port}
573
+ Username: %{username}
574
+ Private key: %{key_path}
575
+ ui_expects_tty: |-
576
+ Vagrant is attempting to interface with the UI in a way that requires
577
+ a TTY. Most actions in Vagrant that require a TTY have configuration
578
+ switches to disable this requirement. Please do that or run Vagrant
579
+ with TTY.
580
+ unimplemented_provider_action: |-
581
+ Vagrant attempted to call the action '%{action}' on the provider
582
+ '%{provider}', but this provider doesn't support this action. This
583
+ is probably a bug in either the provider or the plugin calling this
584
+ action, and should be reported.
585
+ vagrantfile_exists: |-
586
+ `Vagrantfile` already exists in this directory. Remove it before
587
+ running `vagrant init`.
588
+ vagrantfile_load_error: |-
589
+ There was an error loading a Vagrantfile. The file being loaded
590
+ and the error message are shown below. This is usually caused by
591
+ a syntax error.
592
+
593
+ Path: %{path}
594
+ Message: %{message}
595
+ vagrantfile_syntax_error: |-
596
+ There is a syntax error in the following Vagrantfile. The syntax error
597
+ message is reproduced below for convenience:
598
+
599
+ %{file}
600
+ vboxmanage_error: |-
601
+ There was an error while executing `VBoxManage`, a CLI used by Vagrant
602
+ for controlling VirtualBox. The command and stderr is shown below.
603
+
604
+ Command: %{command}
605
+
606
+ Stderr: %{stderr}
607
+ vboxmanage_not_found_error: |-
608
+ The "VBoxManage" command or one of its dependencies could not
609
+ be found. Please verify VirtualBox is properly installed. You can verify
610
+ everything is okay by running "VBoxManage --version" and verifying
611
+ that the VirtualBox version is outputted.
612
+ virtualbox_broken_version_040214: |-
613
+ Vagrant detected you have VirtualBox 4.2.14 installed. VirtualBox
614
+ 4.2.14 contains a critical bug that causes it to not work with
615
+ Vagrant. VirtualBox 4.2.16+ fixes this problem. Please upgrade
616
+ VirtualBox.
617
+ virtualbox_invalid_version: |-
618
+ Vagrant has detected that you have a version of VirtualBox installed
619
+ that is not supported. Please install one of the supported versions
620
+ listed below to use Vagrant:
621
+
622
+ %{supported_versions}
623
+ virtualbox_kernel_module_not_loaded: |-
624
+ VirtualBox is complaining that the kernel module is not loaded. Please
625
+ run `VBoxManage --version` or open the VirtualBox GUI to see the error
626
+ message which should contain instructions on how to fix this error.
627
+ virtualbox_install_incomplete: |-
628
+ VirtualBox is complaining that the installation is incomplete. Please
629
+ run `VBoxManage --version` to see the error message which should contain
630
+ instructions on how to fix this error.
631
+ virtualbox_no_room_for_high_level_network: |-
632
+ There is no available slots on the VirtualBox VM for the configured
633
+ high-level network interfaces. "private_network" and "public_network"
634
+ network configurations consume a single network adapter slot on the
635
+ VirtualBox VM. VirtualBox limits the number of slots to 8, and it
636
+ appears that every slot is in use. Please lower the number of used
637
+ network adapters.
638
+ virtualbox_not_detected: |-
639
+ Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
640
+ Vagrant uses the `VBoxManage` binary that ships with VirtualBox, and requires
641
+ this to be available on the PATH. If VirtualBox is installed, please find the
642
+ `VBoxManage` binary and add it to the PATH environmental variable.
643
+ vm_creation_required: |-
644
+ VM must be created before running this command. Run `vagrant up` first.
645
+ vm_inaccessible: |-
646
+ Your VM has become "inaccessible." Unfortunately, this is a critical error
647
+ with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox
648
+ and clear out your inaccessible virtual machines or find a way to fix
649
+ them.
650
+ vm_name_exists: |-
651
+ A VirtualBox machine with the name '%{name}' already exists.
652
+ Please use another name or delete the machine with the existing
653
+ name, and try again.
654
+ vm_no_match: |-
655
+ No virtual machines matched the regular expression given.
656
+ vm_not_found: |-
657
+ A VM by the name of %{name} was not found.
658
+ vm_not_running: |-
659
+ VM must be running to open SSH connection. Run `vagrant up`
660
+ to start the virtual machine.
661
+
662
+ #-------------------------------------------------------------------------------
663
+ # Translations for config validation errors
664
+ #-------------------------------------------------------------------------------
665
+ config:
666
+ common:
667
+ bad_field: "The following settings shouldn't exist: %{fields}"
668
+ error_empty: "`%{field}` must be not be empty."
669
+ chef:
670
+ cookbooks_path_empty: "Must specify a cookbooks path for chef solo."
671
+ environment_path_required: "When 'environment' is specified, you must provide 'environments_path'."
672
+ cookbooks_path_missing: |-
673
+ Cookbook path doesn't exist: %{path}
674
+ custom_config_path_missing: |-
675
+ Path specified for "custom_config_path" does not exist.
676
+ server_url_empty: "Chef server URL must be populated."
677
+ validation_key_path: "Validation key path must be valid path to your chef server validation key."
678
+ loader:
679
+ bad_v1_key: |-
680
+ Unknown configuration section '%{key}'. If this section was part of
681
+ a Vagrant 1.0.x plugin, note that 1.0.x plugins are incompatible with 1.1+.
682
+ root:
683
+ bad_key: |-
684
+ Unknown configuration section '%{key}'.
685
+ ssh:
686
+ private_key_missing: "`private_key_path` file must exist: %{path}"
687
+ vm:
688
+ base_mac_invalid: "Base MAC address for eth0/NAT must be set. Contact box maintainer for more information."
689
+ box_missing: "A box must be specified."
690
+ box_not_found: "The box '%{name}' could not be found."
691
+ hostname_invalid_characters: |-
692
+ The hostname set for the VM should only contain letters, numbers,
693
+ and hyphens.
694
+ network_invalid: |-
695
+ The network type '%{type}' is not valid. Please use
696
+ 'hostonly' or 'bridged'.
697
+ network_ip_invalid: |-
698
+ The host only network IP '%{ip}' is invalid.
699
+ network_ip_ends_one: |-
700
+ The host only network IP '%{ip}' must not end in a 1, as this
701
+ is reserved for the host machine.
702
+ nfs_not_supported: |-
703
+ It appears your machine doesn't support NFS, or there is not an
704
+ adapter to enable NFS on this machine for Vagrant. Please verify
705
+ that `nfsd` is installed on your machine, and try again. If you're
706
+ on Windows, NFS isn't supported. If the problem persists, please
707
+ contact Vagrant support.
708
+ nfs_requires_host: |-
709
+ Using NFS shared folders requires a host to be specified
710
+ using `config.vagrant.host`.
711
+ network_ip_ends_in_one: |-
712
+ Static IPs cannot end in ".1" since that address is always
713
+ reserved for the router. Please use another ending.
714
+ network_ip_required: |-
715
+ An IP is required for a private network.
716
+ network_fp_host_not_unique: |-
717
+ Forwarded port '%{host}' (host port) is declared multiple times
718
+ with the protocol '%{protocol}'.
719
+ network_fp_requires_ports: |-
720
+ Forwarded port definitions require a "host" and "guest" value
721
+ network_type_invalid: |-
722
+ Network type '%{type}' is invalid. Please use a valid network type.
723
+ provisioner_not_found: |-
724
+ The '%{name}' provisioner could not be found.
725
+ shared_folder_guestpath_duplicate: |-
726
+ A shared folder guest path is used multiple times. Shared
727
+ folders must all map to a unique guest path: %{path}
728
+ shared_folder_guestpath_relative: |-
729
+ The shared folder guest path must be absolute: %{path}
730
+ shared_folder_hostpath_missing: |-
731
+ The host path of the shared folder is missing: %{path}
732
+ shared_folder_nfs_owner_group: |-
733
+ Shared folder that have NFS enabled do no support owner/group
734
+ attributes. Host path: %{path}
735
+ shared_folder_mount_options_array: |-
736
+ Shared folder mount options specified by 'mount_options' must
737
+ be an array of options.
738
+
739
+ #-------------------------------------------------------------------------------
740
+ # Translations for commands. e.g. `vagrant x`
741
+ #-------------------------------------------------------------------------------
742
+ commands:
743
+ common:
744
+ vm_already_running: |-
745
+ VirtualBox VM is already running.
746
+ vm_not_created: "VM not created. Moving on..."
747
+ vm_not_running: "VM is not currently running. Please, first bring it up with `vagrant up` then run this command."
748
+ box:
749
+ remove_must_specify_provider: |-
750
+ Multiple providers were found for the box '%{name}'. Please specify
751
+ the specific provider for the box you want to remove. The list of
752
+ providers backing this box is:
753
+
754
+ '%{providers}'
755
+
756
+ To remove the box for a specific provider, run the following command,
757
+ filling in PROVIDER with one of the providers above:
758
+
759
+ vagrant box remove '%{name}' PROVIDER
760
+ no_installed_boxes: "There are no installed boxes! Use `vagrant box add` to add some."
761
+ removing: |-
762
+ Removing box '%{name}' with provider '%{provider}'...
763
+ destroy:
764
+ confirmation: "Are you sure you want to destroy the '%{name}' VM? [y/N] "
765
+ will_not_destroy: |-
766
+ The VM '%{name}' will not be destroyed, since the confirmation
767
+ was declined.
768
+ init:
769
+ success: |-
770
+ A `Vagrantfile` has been placed in this directory. You are now
771
+ ready to `vagrant up` your first virtual environment! Please read
772
+ the comments in the Vagrantfile as well as documentation on
773
+ `vagrantup.com` for more information on using Vagrant.
774
+ plugin:
775
+ installed_license: |-
776
+ The license for '%{name}' was successfully installed!
777
+ installing_license: |-
778
+ Installing license for '%{name}'...
779
+ no_plugins: |-
780
+ No plugins installed.
781
+ installed: |-
782
+ Installed the plugin '%{name} (%{version})'!
783
+ installing: |-
784
+ Installing the '%{name}' plugin. This can take a few minutes...
785
+ uninstalling: |-
786
+ Uninstalling the '%{name}' plugin...
787
+ post_install: |-
788
+ Post install message from the '%{name}' plugin:
789
+
790
+ %{message}
791
+ status:
792
+ aborted: |-
793
+ The VM is in an aborted state. This means that it was abruptly
794
+ stopped without properly closing the session. Run `vagrant up`
795
+ to resume this virtual machine. If any problems persist, you may
796
+ have to destroy and restart the virtual machine.
797
+ gurumeditation: |-
798
+ The VM is in the "guru meditation" state. This is a rare case which means
799
+ that an internal error in VitualBox caused the VM to fail. This is always
800
+ the sign of a bug in VirtualBox. You can try to bring your VM back online
801
+ with a `vagrant up`.
802
+ inaccessible: |-
803
+ The VM is inaccessible! This is a rare case which means that VirtualBox
804
+ can't find your VM configuration. This usually happens when upgrading
805
+ VirtualBox, moving to a new computer, etc. Please consult VirtualBox
806
+ for how to handle this issue.
807
+ output: |-
808
+ Current machine states:
809
+
810
+ %{states}
811
+
812
+ %{message}
813
+ not_created: |-
814
+ The environment has not yet been created. Run `vagrant up` to
815
+ create the environment. If a machine is not created, only the
816
+ default provider will be shown. So if a provider is not listed,
817
+ then the machine is not created for that environment.
818
+ paused: |-
819
+ The VM is paused. This VM may have been paused via the VirtualBox
820
+ GUI or the VBoxManage command line interface. To unpause, please
821
+ use the VirtualBox GUI and/or VBoxManage command line interface so
822
+ that vagrant would be able to control the VM again.
823
+ poweroff: |-
824
+ The VM is powered off. To restart the VM, simply run `vagrant up`
825
+ running: |-
826
+ The VM is running. To stop this VM, you can run `vagrant halt` to
827
+ shut it down forcefully, or you can run `vagrant suspend` to simply
828
+ suspend the virtual machine. In either case, to restart it again,
829
+ simply run `vagrant up`.
830
+ saving: |-
831
+ The VM is currently saving its state. In a few moments this state
832
+ should transition to "saved." Please run `vagrant status` again
833
+ in a few seconds.
834
+ saved: |-
835
+ To resume this VM, simply run `vagrant up`.
836
+ stuck: |-
837
+ The VM is "stuck!" This is a very rare state which means that
838
+ VirtualBox is unable to recover the current state of the VM.
839
+ The only known solution to this problem is to restart your
840
+ machine, sorry.
841
+ listing: |-
842
+ This environment represents multiple VMs. The VMs are all listed
843
+ above with their current state. For more information about a specific
844
+ VM, run `vagrant status NAME`.
845
+ up:
846
+ upping: |-
847
+ Bringing machine '%{name}' up with '%{provider}' provider...
848
+ version:
849
+ output: "Vagrant version %{version}"
850
+
851
+ #-------------------------------------------------------------------------------
852
+ # Translations for Vagrant middleware acions
853
+ #-------------------------------------------------------------------------------
854
+ actions:
855
+ runner:
856
+ waiting_cleanup: "Waiting for cleanup before exiting..."
857
+ exit_immediately: "Exiting immediately, without cleanup!"
858
+ vm:
859
+ boot:
860
+ booting: Booting VM...
861
+ failed_to_boot: |-
862
+ Failed to connect to VM via SSH. Please verify the VM successfully booted
863
+ by looking at the VirtualBox GUI.
864
+ failed_to_run: |-
865
+ The VM failed to remain in the "running" state while attempting to boot.
866
+ This is normally caused by a misconfiguration or host system incompatibilities.
867
+ Please open the VirtualBox GUI and attempt to boot the virtual machine
868
+ manually to get a more informative error message.
869
+ bridged_networking:
870
+ available: |-
871
+ Available bridged network interfaces:
872
+ bridging: |-
873
+ Bridging adapter #%{adapter} to '%{bridge}'
874
+ enabling: |-
875
+ Enabling bridged network...
876
+ preparing: |-
877
+ Preparing bridged networking...
878
+ specific_not_found: |-
879
+ Specific bridge '%{bridge}' not found. You may be asked to specify
880
+ which network to bridge to.
881
+ check_box:
882
+ not_found: |-
883
+ Box '%{name}' was not found. Fetching box from specified URL for
884
+ the provider '%{provider}'. Note that if the URL does not have
885
+ a box for this provider, you should interrupt Vagrant now and add
886
+ the box yourself. Otherwise Vagrant will attempt to download the
887
+ full box prior to discovering this error.
888
+ not_specified: |-
889
+ No base box was specified! A base box is required as a staring point
890
+ for every vagrant virtual machine. Please specify one in your Vagrantfile
891
+ using `config.vm.box`
892
+ does_not_exist: |-
893
+ Specified box `%{name}` does not exist!
894
+
895
+ The box must be added through the `vagrant box add` command. Please view
896
+ the documentation associated with the command for more information.
897
+ check_guest_additions:
898
+ not_detected: |-
899
+ No guest additions were detected on the base box for this VM! Guest
900
+ additions are required for forwarded ports, shared folders, host only
901
+ networking, and more. If SSH fails on this machine, please install
902
+ the guest additions and repackage the box to continue.
903
+
904
+ This is not an error message; everything may continue to work properly,
905
+ in which case you may ignore this message.
906
+ version_mismatch: |-
907
+ The guest additions on this VM do not match the installed version of
908
+ VirtualBox! In most cases this is fine, but in rare cases it can
909
+ cause things such as shared folders to not work properly. If you see
910
+ shared folder errors, please update the guest additions within the
911
+ virtual machine and reload your VM.
912
+
913
+ Guest Additions Version: %{guest_version}
914
+ VirtualBox Version: %{virtualbox_version}
915
+ clear_forward_ports:
916
+ deleting: Clearing any previously set forwarded ports...
917
+ clear_network_interfaces:
918
+ deleting: Clearing any previously set network interfaces...
919
+ clear_shared_folders:
920
+ deleting: Cleaning previously set shared folders...
921
+ customize:
922
+ failure: |-
923
+ A customization command failed:
924
+
925
+ %{command}
926
+
927
+ The following error was experienced:
928
+
929
+ %{error}
930
+
931
+ Please fix this customization and try again.
932
+ running: Running '%{event}' VM customizations...
933
+ destroy:
934
+ destroying: Destroying VM and associated drives...
935
+ destroy_network:
936
+ destroying: Destroying unused networking interface...
937
+ disable_networks:
938
+ disabling: Disabling host only networks...
939
+ discard_state:
940
+ discarding: Discarding saved state of VM...
941
+ export:
942
+ create_dir: Creating temporary directory for export...
943
+ exporting: Exporting VM...
944
+ power_off: "The Vagrant virtual environment you are trying to package must be powered off."
945
+ forward_ports:
946
+ auto_empty: |-
947
+ Vagrant found a port collision for the specified port and virtual machine.
948
+ While this port was marked to be auto-corrected, the ports in the
949
+ auto-correction range are all also used.
950
+
951
+ VM: %{vm_name}
952
+ Forwarded port: %{guest_port} => %{host_port}
953
+ collision_error: |-
954
+ Vagrant cannot forward the specified ports on this VM, since they
955
+ would collide with some other application that is already listening
956
+ on these ports. The forwarded port to %{host_port} is already in use
957
+ on the host machine.
958
+
959
+ To fix this, modify your current projects Vagrantfile to use another
960
+ port. Example, where '1234' would be replaced by a unique host port:
961
+
962
+ config.vm.network :forwarded_port, guest: %{guest_port}, host: 1234
963
+
964
+ Sometimes, Vagrant will attempt to auto-correct this for you. In this
965
+ case, Vagrant was unable to. This is usually because the guest machine
966
+ is in a state which doesn't allow modifying port forwarding.
967
+ fixed_collision: |-
968
+ Fixed port collision for %{guest_port} => %{host_port}. Now on port %{new_port}.
969
+ forwarding: Forwarding ports...
970
+ forwarding_entry: |-
971
+ -- %{guest_port} => %{host_port} (adapter %{adapter})
972
+ non_nat: |-
973
+ VirtualBox adapter #%{adapter} not configured as "NAT". Skipping port
974
+ forwards on this adapter.
975
+ privileged_ports: |-
976
+ You are trying to forward to privileged ports (ports <= 1024). Most
977
+ operating systems restrict this to only privileged process (typically
978
+ processes running as an administrative user). This is a warning in case
979
+ the port forwarding doesn't work. If any problems occur, please try a
980
+ port higher than 1024.
981
+ halt:
982
+ force: |-
983
+ Forcing shutdown of VM...
984
+ graceful: |-
985
+ Attempting graceful shutdown of VM...
986
+ hostname:
987
+ setting: "Setting hostname..."
988
+ import:
989
+ importing: Importing base box '%{name}'...
990
+ failure: |-
991
+ The VM import failed! Try running `VBoxManage import` on the box file
992
+ manually for more verbose error output.
993
+ match_mac:
994
+ matching: Matching MAC address for NAT networking...
995
+ no_base_mac: |-
996
+ No base MAC address was specified. This is required for the NAT networking
997
+ to work properly (and hence port forwarding, SSH, etc.). Specifying this
998
+ MAC address is typically up to the box and box maintiner. Please contact
999
+ the relevant person to solve this issue.
1000
+ network:
1001
+ adapter_collision: |-
1002
+ More than one network have been assigned to the same adapter. Please
1003
+ make sure your networks you've configured in your Vagrantfile do not
1004
+ overlap.
1005
+ configuring: |-
1006
+ Configuring and enabling network interfaces...
1007
+ dhcp_already_attached: |-
1008
+ A host only network interface you're attempting to configure via DHCP
1009
+ already has a conflicting host only adapter with DHCP enabled. The
1010
+ DHCP on this adapter is incompatible with the DHCP settings. Two
1011
+ host only network interfaces are not allowed to overlap, and each
1012
+ host only network interface can have only one DHCP server. Please
1013
+ reconfigure your host only network or remove the virtual machine
1014
+ using the other host only network.
1015
+ no_adapters: |-
1016
+ No available adapters on the virtual machine were found to accomodate
1017
+ for all configured networks. VirtualBox virtual machines have 8
1018
+ network interfaces available usually, so please lower the number of
1019
+ networks to below 8.
1020
+ preparing: |-
1021
+ Preparing network interfaces based on configuration...
1022
+ host_only_network:
1023
+ collides: |-
1024
+ The specified host network collides with a non-hostonly network!
1025
+ This will cause your specified IP to be inaccessible. Please change
1026
+ the IP or name of your host only network to not match that of
1027
+ a bridged or non-hostonly network.
1028
+ creating: "Creating new host only network for environment..."
1029
+ enabling: "Enabling host only network..."
1030
+ not_found: |-
1031
+ The specified host network could not be found: '%{name}.'
1032
+ If the name specification is removed, Vagrant will create a new
1033
+ host only network for you. Alternatively, please create the
1034
+ specified network manually.
1035
+ preparing: "Preparing host only network..."
1036
+ nfs:
1037
+ exporting: Exporting NFS shared folders...
1038
+ mounting: Mounting NFS shared folders...
1039
+ persist:
1040
+ dotfile_error: |-
1041
+ The dotfile which Vagrant uses to store the UUID of the project's
1042
+ virtual machine already exists and is not a file! The dotfile is
1043
+ currently configured to be '%{dotfile_path}'
1044
+
1045
+ To change this value, please see `config.vagrant.dotfile_name`
1046
+
1047
+ Are you trying to use Vagrant from your home directory? This is the
1048
+ leading cause of this error message. To resolve this, simply use a
1049
+ different directory. Or, if you really want to run Vagrant from your
1050
+ home directory, modify the `config.vagrant.dotfile_name` configuration
1051
+ key.
1052
+ persisting: "Persisting the VM UUID (%{uuid})..."
1053
+ provision:
1054
+ beginning: "Running provisioner: %{provisioner}..."
1055
+ resume:
1056
+ resuming: Resuming suspended VM...
1057
+ unpausing: |-
1058
+ Unpausing the VM...
1059
+ share_folders:
1060
+ creating: Creating shared folders metadata...
1061
+ mounting: Mounting shared folders...
1062
+ mounting_entry: "-- %{guest_path}"
1063
+ nomount_entry: "-- Automounting disabled: %{host_path}"
1064
+ set_name:
1065
+ setting_name: |-
1066
+ Setting the name of the VM...
1067
+ suspend:
1068
+ suspending: Saving VM state and suspending execution...
1069
+
1070
+ box:
1071
+ unpackage:
1072
+ untar_failure: |-
1073
+ The box failed to unpackage properly. Please verify that the box
1074
+ file you're trying to add is not corrupted and try again. The
1075
+ output from attempting to unpackage (if any):
1076
+
1077
+ %{output}
1078
+ already_exists: |-
1079
+ The box you're attempting to add already exists:
1080
+
1081
+ Name: %{name}
1082
+ Provider: %{formats}
1083
+ add:
1084
+ adding: |-
1085
+ Extracting box...
1086
+ added: |-
1087
+ Successfully added box '%{name}' with provider '%{provider}'!
1088
+ destroy:
1089
+ destroying: "Deleting box '%{name}'..."
1090
+ download:
1091
+ cleaning: "Cleaning up downloaded box..."
1092
+ downloading: "Downloading or copying the box..."
1093
+ interrupted: "Box download was interrupted. Exiting."
1094
+ verify:
1095
+ verifying: "Verifying box..."
1096
+ failed: |-
1097
+ The box file you're attempting to add is invalid. This can be
1098
+ commonly attributed to typos in the path given to the box add
1099
+ command. Another common case of this is invalid packaging of the
1100
+ box itself.
1101
+
1102
+ general:
1103
+ package:
1104
+ packaging: "Packaging additional file: %{file}"
1105
+ compressing: "Compressing package to: %{tar_path}"
1106
+ output_exists: |-
1107
+ The specified file to save the package as already exists. Please
1108
+ remove this file or specify a different file name for outputting.
1109
+ output_is_directory: |-
1110
+ The specified output is a directory. Please specify a path including
1111
+ a filename.
1112
+ requires_directory: |-
1113
+ A directory was not specified to package. This should never happen
1114
+ and is a result of an internal inconsistency.
1115
+ include_file_missing: |-
1116
+ Package include file doesn't exist: %{file}
1117
+
1118
+ downloaders:
1119
+ file:
1120
+ download: "Copying box to temporary location..."
1121
+ file_missing: "The specified path to a file doesn't exist."
1122
+ http:
1123
+ connection_reset: |-
1124
+ The remote server unexpectedly closed the connection. Vagrant was
1125
+ unable to finish downloading the box. Please try again. If this
1126
+ problem persists, please try downloading the box manually outside
1127
+ of Vagrant, then adding the box from the filesystem.
1128
+ connection_timeout: |-
1129
+ Vagrant timed out while attempting to connect to the HTTP host.
1130
+ Please check your internet and proxy settings and try again.
1131
+ download: "Downloading box: %{url}"
1132
+ socket_error: |-
1133
+ An error occurred while trying to download the specified box. This most
1134
+ often happens if there is no internet connection or the address is
1135
+ invalid.
1136
+ status_error: |-
1137
+ Bad status code: %{status}
1138
+
1139
+ Please verify that the box exists and is accessible. Also verify that
1140
+ this computer is properly connected to the internet.
1141
+
1142
+ hosts:
1143
+ bsd:
1144
+ nfs_export: |-
1145
+ Preparing to edit /etc/exports. Administrator privileges will be required...
1146
+ nfs_prune: |-
1147
+ Pruning invalid NFS exports. Administrator privileges will be required...
1148
+ linux:
1149
+ nfs_export: |-
1150
+ Preparing to edit /etc/exports. Administrator privileges will be required...
1151
+ nfs_prune: |-
1152
+ Pruning invalid NFS exports. Administrator privileges will be required...
1153
+ arch:
1154
+ nfs_export:
1155
+ prepare: "Preparing to edit /etc/exports. Administrator privileges will be required..."
1156
+ freebsd:
1157
+ nfs_whitespace: |-
1158
+ FreeBSD hosts do not support sharing directories with whitespace in
1159
+ their path. Please adjust your path accordingly.
1160
+
1161
+ provisioners:
1162
+ chef:
1163
+ chef_not_detected: |-
1164
+ The chef binary (either `chef-solo` or `chef-client`) was not found on
1165
+ the VM and is required for chef provisioning. Please verify that chef
1166
+ is installed and that the binary is available on the PATH.
1167
+ cookbook_folder_not_found_warning:
1168
+ "The cookbook path '%{path}' doesn't exist. Ignoring..."
1169
+ json: "Generating chef JSON and uploading..."
1170
+ client_key_folder: "Creating folder to hold client key..."
1171
+ upload_validation_key: "Uploading chef client validation key..."
1172
+ upload_encrypted_data_bag_secret_key: "Uploading chef encrypted data bag secret key..."
1173
+ running_client: "Running chef-client..."
1174
+ running_client_again: "Running chef-client again (failed to converge)..."
1175
+ running_solo: "Running chef-solo..."
1176
+ running_solo_again: "Running chef-solo again (failed to converge)..."
1177
+ missing_shared_folders: |-
1178
+ Shared folders that Chef requires are missing on the virtual machine.
1179
+ This is usually due to configuration changing after already booting the
1180
+ machine. The fix is to run a `vagrant reload` so that the proper shared
1181
+ folders will be prepared and mounted on the VM.
1182
+ no_convergence: |-
1183
+ Chef never successfully completed! Any errors should be visible in the
1184
+ output above. Please fix your recipes so that they properly complete.
1185
+ not_detected: |-
1186
+ The `%{binary}` binary appears to not be in the PATH of the guest. This
1187
+ could be because the PATH is not properly setup or perhaps chef is not
1188
+ installed on this guest. Chef provisioning can not continue without
1189
+ chef properly installed.
1190
+ server_url_required: |-
1191
+ Chef server provisioning requires that the `config.chef.chef_server_url` be set to the
1192
+ URL of your chef server. Examples include "http://12.12.12.12:4000" and
1193
+ "http://myserver.com:4000" (the port of course can be different, but 4000 is the default)
1194
+ server_validation_key_required: |-
1195
+ Chef server provisioning requires that the `config.chef.validation_key_path` configuration
1196
+ be set to a path on your local machine of the validation key used to register the
1197
+ VM with the chef server.
1198
+ server_validation_key_doesnt_exist: |-
1199
+ The validation key set for `config.chef.validation_key_path` does not exist! This
1200
+ file needs to exist so it can be uploaded to the virtual machine.
1201
+ deleting_from_server: "Deleting %{deletable} \"%{name}\" from Chef server..."
1202
+
1203
+ file:
1204
+ no_dest_file: "File destination must be specified."
1205
+ no_source_file: "File source must be specified."
1206
+ path_invalid: "File upload source file %{path} must exist"
1207
+
1208
+ puppet:
1209
+ not_detected: |-
1210
+ The `%{binary}` binary appears to not be in the PATH of the guest. This
1211
+ could be because the PATH is not properly setup or perhaps Puppet is not
1212
+ installed on this guest. Puppet provisioning can not continue without
1213
+ Puppet properly installed.
1214
+ running_puppet: "Running Puppet with %{manifest}..."
1215
+ manifest_missing: |-
1216
+ The configured Puppet manifest is missing. Please specify a path to an
1217
+ existing manifest:
1218
+
1219
+ %{manifest}
1220
+ manifests_path_missing: "The manifests path specified for Puppet does not exist: %{path}"
1221
+ missing_shared_folders: |-
1222
+ Shared folders that Puppet requires are missing on the virtual machine.
1223
+ This is usually due to configuration changing after already booting the
1224
+ machine. The fix is to run a `vagrant reload` so that the proper shared
1225
+ folders will be prepared and mounted on the VM.
1226
+ module_path_missing: "The configured module path doesn't exist: %{path}"
1227
+
1228
+ puppet_server:
1229
+ not_detected: |-
1230
+ The `%{binary}` binary appears to not be in the PATH of the guest. This
1231
+ could be because the PATH is not properly setup or perhaps Puppet is not
1232
+ installed on this guest. Puppet provisioning can not continue without
1233
+ Puppet properly installed.
1234
+ running_puppetd: "Running Puppet agent..."
1235
+
1236
+ shell:
1237
+ args_not_string: "Shell provisioner `args` must be a string."
1238
+ no_path_or_inline: "One of `path` or `inline` must be set."
1239
+ path_and_inline_set: "Only one of `path` or `inline` may be set."
1240
+ path_invalid: "`path` for shell provisioner does not exist on the host system: %{path}"
1241
+ running: "Running: %{script}"
1242
+ upload_path_not_set: "`upload_path` must be set for the shell provisioner."
1243
+
1244
+ ansible:
1245
+ no_playbook: "`playbook` must be set for the Ansible provisioner."
1246
+ playbook_path_invalid: "`playbook` for the Ansible provisioner does not exist on the host system: %{path}"
1247
+ inventory_path_invalid: "`inventory_path` for the Ansible provisioner does not exist on the host system: %{path}"
1248
+ extra_vars_not_hash: "`extra_vars` for the Ansible provisioner must be a hash"