Commit Graph

1514 Commits

Author SHA1 Message Date
Mitchell Hashimoto b66755cf26 Proper number of arguments for Puppet provisioner 2011-12-31 04:21:17 +09:00
Mitchell Hashimoto 0d2cf4bbe7 Upgrade to ChildProcess 0.2.4 for LaunchError 2011-12-26 19:55:10 -08:00
Mitchell Hashimoto 7e4d652702 Make export in general VBoxManage friendly 2011-12-26 19:06:44 -08:00
Mitchell Hashimoto fbe984b32d Check for package files before any exports or anything [GH-597] 2011-12-26 18:48:38 -08:00
Mitchell Hashimoto 6a1864011d Require things as they're needed 2011-12-26 18:36:18 -08:00
Mitchell Hashimoto ab0276c4a9 VM::Modify no longer exists 2011-12-26 18:35:19 -08:00
Mitchell Hashimoto e0998b0b0f Use proper UI with VM 2011-12-26 18:14:09 -08:00
Mitchell Hashimoto 4428daf344 A regex string can be passed to commands in Multi-VM 2011-12-26 18:12:02 -08:00
Mitchell Hashimoto 8f522225a1 Fix issue that could cause config loader to fail if no block given to a subvm 2011-12-26 18:07:39 -08:00
Mitchell Hashimoto ad7f4c79ad Make requiring a single VM target in a command more DRY 2011-12-26 17:59:18 -08:00
Mitchell Hashimoto 0887a18079 Make some fixes to get tests passing on Ruby 1.8.7 2011-12-26 17:45:55 -08:00
Mitchell Hashimoto fd331ee785 Util::Busy calls the callbacks in reverse order 2011-12-26 17:03:29 -08:00
Mitchell Hashimoto bfc85d7f14 Handle interrupts well with VirtualBox. 2011-12-26 17:00:41 -08:00
Mitchell Hashimoto f65a6c3c6f `vagrant ssh -c` stderr now goes to stderr on the host as well 2011-12-26 10:03:12 -08:00
Mitchell Hashimoto e07280593d `vagrant ssh -c` will now exit with the same exit status of the command [GH-598] 2011-12-26 09:58:10 -08:00
Mitchell Hashimoto 72b249fd19 Do port forwarding threshold check in the `call` method 2011-12-25 15:36:15 -08:00
Mitchell Hashimoto ca938f041c Check currently forwarded ports when looking for collisions [GH-606] 2011-12-25 13:13:01 -08:00
Mitchell Hashimoto 81ad053f8a Check for port collisions after clearing forwarded ports on `up` 2011-12-25 10:18:49 -08:00
Mitchell Hashimoto d80ff0a27f Pull out port collision detection/correction into the CheckPortCollision middleware 2011-12-25 10:13:08 -08:00
Mitchell Hashimoto e870d1b29e Discarding state works with VBoxManage 2011-12-25 09:53:54 -08:00
Mitchell Hashimoto 76f605f08d Nice error message if port collisions are detected on `resume` [GH-602] 2011-12-25 09:48:49 -08:00
Mitchell Hashimoto cc9abc8b9b Fix up some subprocess comments 2011-12-22 21:55:57 -08:00
Mitchell Hashimoto c0fabbe2bd Fix interrupted? call in boot 2011-12-22 21:50:20 -08:00
Mitchell Hashimoto 963bdff9fd Use Vagrant::Util::Subprocess for acceptance tests 2011-12-22 21:46:43 -08:00
Mitchell Hashimoto b72b70a845 DataStore: Remove the file_path check in commit 2011-12-22 21:20:31 -08:00
Mitchell Hashimoto 40fdab3de8 DataStore tests and slight modifications 2011-12-22 21:18:59 -08:00
Mitchell Hashimoto 40689b556b Logging in the DataStore class 2011-12-22 20:46:03 -08:00
Mitchell Hashimoto 3cd262ed75 Unit tests for Vagrant::Action::Builder 2011-12-22 20:17:45 -08:00
Mitchell Hashimoto 9f498ccb06 Subprocess now works properly with Ruby 1.8.7 2011-12-22 16:22:41 -08:00
Mitchell Hashimoto 5e5e0f69dc `vagrant ssh` works again 2011-12-22 13:48:22 -08:00
Mitchell Hashimoto dfeafa3776 Fix halt issues and acceptance test associated with it 2011-12-22 13:38:30 -08:00
Mitchell Hashimoto 36632c4bb7 Handle the case properly where the VM in `.vagrant` doesn't exist anymore 2011-12-22 13:03:08 -08:00
Mitchell Hashimoto 3eede78876 Get rid of 64-bit Windows error since it should work now 2011-12-22 12:51:20 -08:00
Mitchell Hashimoto e31ef01679 NAT checking for forwarded ports 2011-12-22 11:47:52 -08:00
Mitchell Hashimoto 1e21fdd67a Do a block_given check on import so you can call it w/o a block 2011-12-22 11:31:47 -08:00
Mitchell Hashimoto 698ad0af7e Import progress works again 2011-12-22 11:29:58 -08:00
Mitchell Hashimoto 4093e79027 Removed deprecation notice for chef_server to chef_client 2011-12-21 23:27:43 -08:00
Mitchell Hashimoto ecbf7df859 Host only networks now work with VBoxManage 2011-12-21 22:27:06 -08:00
Mitchell Hashimoto 79460f6122 Subprocess: Check if data is empty after the process exits as well 2011-12-21 22:12:22 -08:00
Mitchell Hashimoto 271c3827a1 Subprocess: catch any stdout/stderr left over after process exits 2011-12-21 21:58:23 -08:00
Mitchell Hashimoto 63720cc750 Fix reload with VBoxManage 2011-12-21 16:48:19 -08:00
Mitchell Hashimoto a3395f94ab Catch and handle customization errors 2011-12-21 16:37:59 -08:00
Mitchell Hashimoto e1d0ce19ce Customizations are back in! 2011-12-21 16:25:58 -08:00
Mitchell Hashimoto 306945dd26 Nice error messages if VBoxManage command fails 2011-12-21 15:41:14 -08:00
Mitchell Hashimoto 0aae0dd588 Box verification works with VBoxManage 2011-12-21 15:34:51 -08:00
Mitchell Hashimoto d030c62820 Remove unused classes from autoload 2011-12-21 15:25:20 -08:00
Mitchell Hashimoto 177eb828af Remove customize action, this will need rethinking 2011-12-21 15:24:43 -08:00
Mitchell Hashimoto 7a70755362 Destroying unused network interfaces via VBoxManage 2011-12-21 15:17:10 -08:00
Mitchell Hashimoto d2e33768f3 CleanMachineFolder action works with VBoxManage 2011-12-21 14:45:14 -08:00
Mitchell Hashimoto 4c7059eaf6 Remove virtualbox dep 2011-12-21 14:36:51 -08:00
Mitchell Hashimoto 8eb1770b9d Fix issue where we may not get the full output in a subprocess 2011-12-21 14:28:43 -08:00
Mitchell Hashimoto d5981978a1 Resuming works better 2011-12-21 14:15:03 -08:00
Mitchell Hashimoto a6e5078e4b VM suspending works 2011-12-21 14:12:35 -08:00
Mitchell Hashimoto 8360bcf61b Fix guest loading w/ VBoxManage 2011-12-21 13:54:51 -08:00
Mitchell Hashimoto 9cb0578c64 VM halt works. 2011-12-21 13:41:10 -08:00
Mitchell Hashimoto 48ea8173c6 Lots more VBoxManage 2011-12-21 13:37:59 -08:00
Mitchell Hashimoto 7527f6b7b6 Check for guest additions right after import 2011-12-21 12:11:48 -08:00
Mitchell Hashimoto a39df9f150 Forwarded ports 2011-12-20 22:28:47 -08:00
Mitchell Hashimoto c59defa7e8 Drivers now take a UUID 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto a8e4e62264 Make more things VBoxManage compatible 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto 96868e5d29 Import and destroy work with the new driver interface 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto 2de7a1424d Load VirtualBox VM in the VM class 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto 9debf5abe9 Attach a driver to each VM. Use that to detect VirtualBox. 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto ee389c33f7 `vagrant --help` now works for Ruby 1.8.7 [GH-599] 2011-12-20 16:28:45 -08:00
Mitchell Hashimoto 6a191f968c Fix autoload typo for redhat guest [GH-600] 2011-12-20 16:27:51 -08:00
Mitchell Hashimoto f9b3e89373 Enable provisioning by default [GH-601] 2011-12-20 16:27:08 -08:00
Mitchell Hashimoto a8f5ed1863 Require vagrant environments for some commands. 2011-12-18 13:26:15 -08:00
Mitchell Hashimoto 98df762f8c `vagrant init` uses new OptParse based CLI 2011-12-17 21:06:00 -08:00
Mitchell Hashimoto 1770ad1ee5 "provision.enabled" is once again honored. [GH-591] 2011-12-17 20:28:45 -08:00
Mitchell Hashimoto c2e3a3050a Ruby 1.8.7 compatibility 2011-12-17 20:22:46 -08:00
Mitchell Hashimoto 9bdff4c507 Styling 2011-12-17 19:53:57 -08:00
Mitchell Hashimoto e29c5436e1 Box commands 2011-12-17 19:52:48 -08:00
Mitchell Hashimoto 780722386b `vagrant status` 2011-12-17 17:36:11 -08:00
Mitchell Hashimoto 1176c65138 `vagrant ssh-config` 2011-12-17 17:29:52 -08:00
Mitchell Hashimoto e34f0a8af7 `vagrant ssh` 2011-12-17 17:24:02 -08:00
Mitchell Hashimoto 19adc3189d `vagrant package` 2011-12-17 16:58:54 -08:00
Mitchell Hashimoto bdc39aa2e0 Suspend command 2011-12-17 12:04:35 -08:00
Mitchell Hashimoto 91d19b91e4 Improved help output for `vagrant` cli 2011-12-17 12:02:19 -08:00
Mitchell Hashimoto a327eadd5f Fix a nomethoderror on a nil 2011-12-17 11:54:21 -08:00
Mitchell Hashimoto c5ec4b4a30 Provision, reload, resume 2011-12-17 11:53:26 -08:00
Mitchell Hashimoto 6c7e88c3ec `vagrant halt` 2011-12-17 11:14:56 -08:00
Mitchell Hashimoto 7a76fd7e05 Remove the 0.6.0 upgrade command. We're far passed that :) 2011-12-17 11:11:02 -08:00
Mitchell Hashimoto 45d07a8382 Remove old Thor base classes 2011-12-17 11:10:42 -08:00
Mitchell Hashimoto e71007d47e `vagrant destroy` 2011-12-17 11:05:49 -08:00
Mitchell Hashimoto b292008f3b Change parse_options a bit to automatically add help and detect invalid options 2011-12-17 09:25:46 -08:00
Mitchell Hashimoto 43cadfe830 `vagrant up` 2011-12-17 09:14:05 -08:00
Mitchell Hashimoto 7191a54ed7 Print help and exit on "-h" 2011-12-17 08:18:43 -08:00
Mitchell Hashimoto a4a77dc420 Remove the old version command. 2011-12-16 23:39:49 -08:00
Mitchell Hashimoto 27491b554c Remove thor from requirements. Start revamping Vagrant::CLI 2011-12-16 23:34:30 -08:00
Mitchell Hashimoto 5f567f30d8 Provisioner output is now colorized based on stdout/stderr [GH-595] 2011-12-16 17:55:12 -08:00
Mitchell Hashimoto f37778c848 Don't output json_class with the config json 2011-12-16 17:38:19 -08:00
Mitchell Hashimoto 7157bd9cdb Re-namespace messages for systems to the vagrant.guest 2011-12-15 21:07:43 -08:00
Mitchell Hashimoto 1fcca71ce9 Re-namespace all systems to the Vagrant::Guest module 2011-12-15 21:05:19 -08:00
Mitchell Hashimoto 5fe50c8b5d Change config.vm.system to config.vm.guest. Rename internals. 2011-12-15 20:55:16 -08:00
Mitchell Hashimoto eda286b476 Config classes are registered via a registry now 2011-12-15 20:32:33 -08:00
Mitchell Hashimoto 7ab6ab31f8 Another tweak to chef to get it to work with new system 2011-12-14 23:37:47 -08:00
Mitchell Hashimoto 345ee35e16 When import recovers, don't validate when calling destroy 2011-12-14 23:35:46 -08:00
Mitchell Hashimoto a23ebf7220 Fix chef configuration 2011-12-14 23:31:21 -08:00
Mitchell Hashimoto e602af8c3a Convert chef provisioners to new format 2011-12-14 23:19:46 -08:00
Mitchell Hashimoto e5303a82e0 Autoload provisioners. 2011-12-14 22:49:14 -08:00