117 Commits

Author SHA1 Message Date
Mitchell Hashimoto
b8c2b6cde4 Fix test incompat with Ruby 1.8.6 2011-05-12 00:04:11 -07:00
Mitchell Hashimoto
22f085dc5d Tests for mac address setting on host only network 2011-02-08 19:42:32 -08:00
Mitchell Hashimoto
6d6ca39795 Host only networking only doesn't work on 64-bit Windows 2011-01-29 21:03:27 -08:00
Mitchell Hashimoto
8d55bdcae5 Style tweaks and tests added for changing host name 2011-01-28 17:41:48 -08:00
Mitchell Hashimoto
a91ad4d89f Fixed provisioners to the new conventions. Tests passing! 2011-01-11 22:37:09 -08:00
Mitchell Hashimoto
cddccab9ae Provision action works again 2011-01-11 22:13:09 -08:00
James Turnbull
3849355ef6 Basic Puppet Server provisioner 2011-01-06 13:33:22 -08:00
Mitchell Hashimoto
e0c716e454 Fix automount select to accept key/val instead of just val 2011-01-04 20:10:34 -08:00
Mitchell Hashimoto
fb8f0c010b Reload config after downloading box during up [closes GH-231] 2010-12-31 21:41:05 -06:00
Mitchell Hashimoto
e12d96d4df Only automount NFS folders which have guest path specified 2010-12-31 02:24:49 -06:00
Mitchell Hashimoto
c1be64ae61 Shared folders with no guest path are not automounted [closes GH-184] 2010-12-31 02:19:27 -06:00
Mitchell Hashimoto
e19788701e Don't disable networks on halt/destroy. 2010-12-24 19:02:11 -08:00
Mitchell Hashimoto
c32ab0442c Change the mechanism by which useless host only networks are detected and destroyed 2010-12-24 18:57:44 -08:00
Mitchell Hashimoto
4d8e3dc1bf Make this test actually test something 2010-12-24 18:41:18 -08:00
Mitchell Hashimoto
2018fd8645 "vbox-prev" bug still exists, but filename changes for VB4 2010-12-24 18:35:46 -08:00
Mitchell Hashimoto
e4488c415e Update destroy to use new API for VB4 2010-12-24 15:19:31 -08:00
Mitchell Hashimoto
2358130c0e Show error if host only networking on Windows 2010-12-21 19:52:41 -08:00
James Turnbull
6548bc9324 Adds a basic Puppet provisioner to Vagrant
This uses the Puppet binary and assumes a .pp file will be present
on the host machine.

By default it looks for manifests in the `manifests` directory (in the same root as
wherever your Vagrantfile is located). The default file uses the name of the box
being configured, for example `lucid.pp`.  Both options are configurable.
2010-12-07 16:57:00 -08:00
Mitchell Hashimoto
331e0841e5 Box collection reloads after downloading during CheckBox. [closes GH-229] 2010-11-30 20:19:24 -08:00
Mitchell Hashimoto
341e7916f4 Port collision type mismatches fixed. [closes GH-185] 2010-10-09 01:21:52 -07:00
Mitchell Hashimoto
5fcf10d6cd Validations to assure base MAC address is set 2010-10-08 10:44:19 -07:00
Mitchell Hashimoto
eaaf55ea8a up --no-provision works again. This disables provisioning during the process. 2010-10-03 18:34:33 -07:00
Mitchell Hashimoto
bad251a20d NFS no longer attempts to clean exports file if VM is not created, which caused a stack trace during recovery. 2010-09-30 01:16:45 -07:00
Mitchell Hashimoto
ea6904761f Check box action no longer needs to load_box! 2010-09-27 13:42:53 -07:00
Mitchell Hashimoto
7d89d011fb Tests passing again due to config.vm.customize change earlier 2010-09-20 09:47:01 -06:00
Mitchell Hashimoto
036edfcc2a Only destroy the VM if the exception raised is not a Vagrant error 2010-09-14 00:48:31 -06:00
Mitchell Hashimoto
4b8878f5f7 Import uses the string path, rather than the pathname 2010-09-12 16:37:43 -06:00
Mitchell Hashimoto
714c94780c On import, only run destroy action if VM is created 2010-09-12 16:34:49 -06:00
Mitchell Hashimoto
7d73bec776 Disable networks only if VM is created 2010-09-12 16:31:38 -06:00
Mitchell Hashimoto
e11d3bd4f7 Only halt if created and running 2010-09-12 16:29:35 -06:00
Mitchell Hashimoto
4335adc8f4 Only discard state if the VM is created 2010-09-12 16:26:32 -06:00
Mitchell Hashimoto
5ce43a8ae0 Utilize pathname when available instead of doing just a File.join 2010-09-11 10:42:03 -07:00
Mitchell Hashimoto
761da0de63 Remove method calls to "Box.find" and remove method 2010-09-11 10:21:35 -07:00
Mitchell Hashimoto
a0ed4d0da8 Get rid of "mock_action_data" use "action_env" instead 2010-09-08 23:56:35 -07:00
Mitchell Hashimoto
16f3a3face Test helper mock_environment completely gone 2010-09-08 23:51:09 -07:00
Mitchell Hashimoto
5f6e3acf40 Require root path on environment load 2010-09-07 10:52:58 -07:00
Mitchell Hashimoto
ed48170b24 Remove environment "vm_name" property since it was redundant 2010-09-05 23:11:27 -07:00
Mitchell Hashimoto
23c08f2daa Configuration validation for the most common problems added 2010-09-05 11:26:38 -07:00
Mitchell Hashimoto
0f70812142 Load the host on demand in the environment 2010-09-03 00:48:38 -07:00
Mitchell Hashimoto
52e3c4d3b3 Persisting a VM uuid is now implicitly done by Vagrant::VM 2010-09-02 21:12:11 -07:00
Mitchell Hashimoto
a13f587bc0 Environment#error! removed (along with error? and so on) 2010-09-01 14:37:37 -07:00
Mitchell Hashimoto
e7f06d7fb7 Remove ExceptionCatcher since exceptions are the way to report errors now 2010-09-01 10:04:37 -07:00
Mitchell Hashimoto
39663f6f11 Finish replacement of "env.error!" with exceptions in VM actions 2010-09-01 07:13:37 -07:00
Mitchell Hashimoto
b72cf4c57c Convert NFS to new Warden style with 'recover' method 2010-08-30 20:09:26 -07:00
Mitchell Hashimoto
aa00d15206 Few more VM actions converted to exceptions. Lots of errors gone. 2010-08-30 20:07:50 -07:00
Mitchell Hashimoto
72c3340336 About 1/3rd of the VM actions raise exceptions now 2010-08-30 19:39:11 -07:00
Mitchell Hashimoto
21e4477c39 Rip out unison syncing. It never got to see the light of day. Just didn't work out. (NFS replaced it) 2010-08-27 23:31:38 -07:00
Mitchell Hashimoto
1d29ba31fa I18nified all the VM actions 2010-08-27 19:46:50 -07:00
John Bender
e9a9e4abc0 added param expectation to export action recover call for cleanup 2010-08-22 01:08:20 -07:00
John Bender
30a84c6e50 moved export to warden 2010-08-22 00:37:15 -07:00