351 Commits

Author SHA1 Message Date
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
5f6e3acf40 Require root path on environment load 2010-09-07 10:52:58 -07:00
Mitchell Hashimoto
1478818939 Run "environment_load" action on environment load 2010-09-06 23:36:48 -07:00
Mitchell Hashimoto
0a8540996c Action environment uses new indifferent hash util 2010-09-03 09:39:30 -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
d5f351786c Fix "provisioning enabled with" message to have proper string 2010-09-02 13:48:41 -07:00
Mitchell Hashimoto
0094f066ca Warden properly handles interrupts 2010-09-01 16:15:24 -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
f00955dfa1 Remove superfluous util module includes 2010-09-01 14:52:44 -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
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
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
d8c4985046 I18n for general actions 2010-08-27 20:50:27 -07:00
Mitchell Hashimoto
367a51fae8 Box actions now use I18n 2010-08-27 20:47:21 -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
3fdcd50ea0 Add a report progress feature to the UI 2010-08-25 22:20:14 -07:00
Mitchell Hashimoto
9ab5a7c2b1 Switch the actions over to using the new UI objects. 2010-08-25 22:13:55 -07:00
John Bender
5c56e46739 Merge branch 'warden' 2010-08-25 00:26:07 -07:00
Mitchell Hashimoto
4844d6c12f Moved standard library requirements to the files which use them. Cleaned up vagrant.rb quite a bit. 2010-08-23 21:43:46 -07:00
John Bender
c248db2bf9 recover argument count wrong 2010-08-22 00:52:37 -07:00
John Bender
220fff0c19 moved unpackage to warden 2010-08-22 00:49:54 -07:00
John Bender
30a84c6e50 moved export to warden 2010-08-22 00:37:15 -07:00
John Bender
c519f14626 moved rescue to recover 2010-08-22 00:08:54 -07:00
John Bender
0c011e80c7 action general package moved to warden cleanup 2010-08-22 00:08:54 -07:00
John Bender
c0121ac08e box download action switched to warden rescue 2010-08-22 00:08:54 -07:00
John Bender
99f7b62c83 first middleware, import, moved to rescue for cleanup 2010-08-22 00:08:54 -07:00
John Bender
36f0eb8feb rescue upgraded to handle return values or calls with env errors. added error and exit call/interupt handling 2010-08-22 00:08:54 -07:00
John Bender
4e732631d8 tests for begin rescue 2010-08-22 00:08:54 -07:00
John Bender
b251d9b954 begin rescue added 2010-08-22 00:08:54 -07:00
John Bender
114511742e tests added for basic warden call forwarding 2010-08-22 00:08:54 -07:00