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
|
cf823cadb5
|
Action warden doesn't do recovery process on SystemExit exceptions, allowing double ctrl-C to work properly again.
|
2010-10-01 10:08:38 -07:00 |
|
Mitchell Hashimoto
|
61314c5e21
|
Only check for box directory if it is set during unpackage recovery [related to GH-170]
|
2010-10-01 09:20:18 -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
|
f37710a4bd
|
Remove logger helper from action environment class
|
2010-09-20 09:44:51 -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
|
7c42300002
|
Expose the exception which triggers recovery methods through the "vagrant.error" environmental hash
|
2010-09-13 23:43:37 -06:00 |
|
Mitchell Hashimoto
|
d5ad387f27
|
New vagrant package option --vagrantfile and changed semantics of --include (see CHANGELOG)
|
2010-09-12 23:20:13 -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
|
02cfb60387
|
Verify box with a string path, not pathname
|
2010-09-12 15:39:37 -06:00 |
|
Mitchell Hashimoto
|
79b303a1fc
|
Send string, not pathname, to Minitar for decompression
|
2010-09-12 14:00:48 -07: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
|
8164644615
|
Converted most "mock_environment" tests to "vagrant_env" which uses real filesystem
|
2010-09-07 11:41:52 -07:00 |
|
Mitchell Hashimoto
|
5f6e3acf40
|
Require root path on environment load
|
2010-09-07 10:52:58 -07:00 |
|
Mitchell Hashimoto
|
1a5836ee23
|
Don't clear registered actions hash in tests ever
|
2010-09-06 19:52:46 -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
|
0a8540996c
|
Action environment uses new indifferent hash util
|
2010-09-03 09:39:30 -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
|
71101c9d3d
|
Raise interrupt error earlier so the rescue chain actually gets called
|
2010-09-01 14:58:22 -07:00 |
|
Mitchell Hashimoto
|
60c20565b2
|
Replace straight abort on interrupt with clean exit via exception
|
2010-09-01 14:50:15 -07:00 |
|
Mitchell Hashimoto
|
a13f587bc0
|
Environment#error! removed (along with error? and so on)
|
2010-09-01 14:37:37 -07:00 |
|
Mitchell Hashimoto
|
3da94252b5
|
Get rid of util.rb. No longer used.
|
2010-09-01 14:30:31 -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
|
a7197b3566
|
Autoload errors. If nothing bad happens, all those error classes don't use any memory :)
|
2010-09-01 07:15: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
|
98bce8f836
|
General package action raises exceptions instead of using env.error
|
2010-08-28 13:54:59 -07:00 |
|
Mitchell Hashimoto
|
3e1ccf0c4f
|
Convert box actions to raise exceptions rather than error environment
|
2010-08-28 12:31:55 -07:00 |
|
Mitchell Hashimoto
|
ccc45ebd7a
|
Begin moving from error_and_exit to exceptions. Fail hard!
|
2010-08-28 12:23:40 -07:00 |
|
Mitchell Hashimoto
|
354a82a177
|
Make some minor changes to warden to reduce the array reversals
|
2010-08-28 00:00:21 -07:00 |
|
Mitchell Hashimoto
|
efbfd335ad
|
Remove the ErrorHalt middleware, since Warden takes care of this on a larger scale
|
2010-08-27 23:50:14 -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 |
|
Mitchell Hashimoto
|
aaac5fbf1e
|
Get rid of all Ruby warnings in Vagrant
|
2010-08-25 23:21:23 -07:00 |
|
Mitchell Hashimoto
|
a699122260
|
No more logger usage for outputting to the shell
|
2010-08-25 22:38:24 -07:00 |
|
Mitchell Hashimoto
|
9ab5a7c2b1
|
Switch the actions over to using the new UI objects.
|
2010-08-25 22:13:55 -07:00 |
|