Commit Graph

1642 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto b428072bb5 Provisioners use the registry. Cleaned up the way config classes are searched for. 2011-12-14 22:43:45 -08:00
Mitchell Hashimoto 9e4475cb77 Test running shell scripts inline 2011-12-14 19:02:10 -08:00
Mitchell Hashimoto 6dbade0fc6 Get shell provisioning working again, acceptance test to prove it 2011-12-13 23:45:56 -08:00
Mitchell Hashimoto ee33588d10 Clean up system loading quite a bit 2011-12-12 00:03:28 -08:00
Mitchell Hashimoto c66d846cb7 Fix issue which caused NFS to not work with new config 2011-12-11 23:30:17 -08:00
Mitchell Hashimoto fd9b752938 Make host class available to all actions 2011-12-11 23:27:53 -08:00
Mitchell Hashimoto daeb7ea726 Send new `id` element into NFS methods for hosts 2011-12-11 23:26:04 -08:00
Mitchell Hashimoto cdc01c449d Re-order things in vagrant.rb slightly 2011-12-11 23:24:23 -08:00
Mitchell Hashimoto 668bab0ba9 Better host loading scheme 2011-12-11 23:22:44 -08:00
Mitchell Hashimoto b8d40ea463 Registry is enumerable 2011-12-11 18:29:42 -08:00
Mitchell Hashimoto e201d9cacf Rename action registry to just Vagrant::Registry 2011-12-11 18:22:06 -08:00
Mitchell Hashimoto ad03163eff Tweak timeouts so SSh detection works 2011-12-11 16:41:51 -08:00
Mitchell Hashimoto 48f0a50e61 More logging in SSH class 2011-12-11 16:39:36 -08:00
Mitchell Hashimoto e5c2f38d7c Fix validate calls to provisioners 2011-12-11 16:33:50 -08:00
Mitchell Hashimoto 05ae297fd2 Copy insecure private key to user owned directory [GH-580] 2011-12-11 16:32:25 -08:00
Mitchell Hashimoto 98b8d858c4 Error message for improperly packaged boxes [GH-198] 2011-12-10 21:49:00 -08:00
Mitchell Hashimoto 7d8f6e511b Fix syntax error 2011-12-10 21:30:54 -08:00
Mitchell Hashimoto f44f1831ef Special error message if SCP is unavailable [GH-568] 2011-12-10 21:30:04 -08:00
Mitchell Hashimoto 98448d5557 Merge branch '089' 2011-12-10 21:11:36 -08:00
Mitchell Hashimoto b67dc75dfc v0.8.10 2011-12-10 21:08:13 -08:00
Mitchell Hashimoto 00c40f82b1 Return true on ssh up? 2011-12-10 21:07:45 -08:00
Mitchell Hashimoto c4eeda2025 v0.8.9 2011-12-10 20:43:20 -08:00
Mitchell Hashimoto b65cb54636 Remove the "echo hello" check because it does nothing. 2011-12-10 20:42:34 -08:00
Hedgehog a4423270f7 sleeping with the fiSSHes? 2011-12-10 20:33:12 -08:00
Mitchell Hashimoto 99b43fbeb8 Use shutdown instead of `halt` [GH-575] 2011-12-10 20:29:58 -08:00
Mitchell Hashimoto e9f8e4dc91 Revert 8bb6d375 since it actually didn't help at all. 2011-12-10 20:23:52 -08:00
Mitchell Hashimoto 5762775998 Reorganize little methods and remove unused methods 2011-12-10 20:22:44 -08:00
Mitchell Hashimoto 4006befe7f Trivial whitespace change 2011-12-10 20:20:01 -08:00
Mitchell Hashimoto 069a1c1348 Try to actually create directory before showing home directory error 2011-12-10 17:37:18 -08:00
Mitchell Hashimoto d9e2c8b788 Raise a nice error if home directory is not accessible 2011-12-10 17:14:07 -08:00
Mitchell Hashimoto d05c6f9d61 Get regression working again 2011-12-10 16:38:01 -08:00
Mitchell Hashimoto baba6af4ff Resource prefixes in UI output work 2011-12-10 16:17:09 -08:00
Mitchell Hashimoto 40b9254d5a Environment reloading works 2011-12-10 16:07:28 -08:00
Mitchell Hashimoto a1d3f8b4dd Fix typo to get networking working again 2011-12-10 14:27:59 -08:00
Mitchell Hashimoto 448e9429ac Get rid of broken env.ui calls in actions 2011-12-10 14:23:22 -08:00
Mitchell Hashimoto 697fb7eaaf Get rid of more env.env calls 2011-12-10 14:22:04 -08:00
Mitchell Hashimoto 9e58e45c69 Fix resume action to work properly 2011-12-10 14:18:40 -08:00
Mitchell Hashimoto 71c39126e5 Fix suspend action to work again 2011-12-10 14:15:18 -08:00
Mitchell Hashimoto 2a7f0d8a85 Return nil if no root path to determine dotfile 2011-12-10 13:56:34 -08:00
Mitchell Hashimoto 6093dcc26d Fix systems dependence on env 2011-12-10 13:44:45 -08:00
Mitchell Hashimoto ea7caebe02 Setup the default name for the VM 2011-12-10 13:28:03 -08:00
Mitchell Hashimoto f2666a9b74 Config validation is back in. 2011-12-10 13:21:45 -08:00
Mitchell Hashimoto 5c6ca57409 Throw an error if a box already exists when calling box.add 2011-12-10 13:09:03 -08:00
Mitchell Hashimoto 2f85fe1d4f Return proper dotfile path 2011-12-10 13:02:00 -08:00
Mitchell Hashimoto 93e5bc3969 Tweak actions for new runner 2011-12-10 12:52:42 -08:00
Mitchell Hashimoto b4c5b854e2 SSH working with new changes 2011-12-10 12:49:35 -08:00
Mitchell Hashimoto bfd93eef4e Come a lot farther in getting `up` to work again 2011-12-10 09:54:23 -08:00
Mitchell Hashimoto 1758970a53 Fixing up VM actions to try to get them working again 2011-12-09 20:39:08 -08:00
Mitchell Hashimoto 739d5ffb5f Lazy load attributes for runners. Get box repackage working. 2011-12-09 20:24:34 -08:00
Mitchell Hashimoto d9321ed4d4 Box destroy works again 2011-12-09 18:06:34 -08:00
Mitchell Hashimoto d92f3d8c6d Box add works again with new env stuff 2011-12-09 17:33:30 -08:00
Mitchell Hashimoto b878f1bd66 class => module Action 2011-12-09 17:23:27 -08:00
Mitchell Hashimoto 3edb9c2269 Move all autoloads for actions into action.rb 2011-12-09 17:19:13 -08:00
Mitchell Hashimoto 56663b5952 Remove dependence on Vagrant::Environment on downloaders 2011-12-09 15:18:43 -08:00
Mitchell Hashimoto 0304f78a84 Fix to runner to get interrupts working again 2011-12-09 14:56:56 -08:00
Mitchell Hashimoto f261c0571f Modify box download action to work with new runnerx 2011-12-09 14:55:24 -08:00
Mitchell Hashimoto 3c8261f4ac Add :ui to the globals for the action runner 2011-12-09 14:50:42 -08:00
Mitchell Hashimoto b31c3d458c Action runner supports global parameters 2011-12-09 14:44:43 -08:00
Mitchell Hashimoto bbb8f0ac2c Integrate new action runner/registry into Vagrant::Environment 2011-12-09 14:39:39 -08:00
Mitchell Hashimoto daf711fd80 Separate Vagrant::Action into Runner and Registry 2011-12-09 14:22:03 -08:00
Mitchell Hashimoto 5bfcbcba66 Remove step stuff. Failed experiment for now. Too radical for point release. 2011-12-09 13:40:49 -08:00
Mitchell Hashimoto b5ae4672b7 Raise exception in edge case 2011-12-09 13:30:04 -08:00
Mitchell Hashimoto 2c73de0043 The proper enter/exit sequence is called for multisteps 2011-12-06 18:45:37 -08:00
Mitchell Hashimoto 822226cae4 MultiStep does not allow composing steps that do not work together 2011-12-06 18:31:07 -08:00
Mitchell Hashimoto 73761dc92a MultiStep should do input/output validation 2011-12-06 18:19:18 -08:00
Mitchell Hashimoto 7d3746b292 Multistep can now take parameters from any arbitrary step prior. 2011-12-06 09:46:57 -08:00
Mitchell Hashimoto c5eae41fd8 Revamp Step to be more like a Python with-context 2011-12-05 21:05:41 -08:00
Mitchell Hashimoto 683bbdaa3c Implement multistep 2011-12-04 18:09:18 -08:00
Mitchell Hashimoto 49d299956f Add the "Step" abstraction 2011-12-04 17:14:21 -08:00
Mitchell Hashimoto 833dbf8fc4 Remove box dependence on env 2011-12-04 14:06:05 -08:00
Mitchell Hashimoto 8801bc7b1b Starting to revamp BoxCollection to not depend on env 2011-12-04 11:39:44 -08:00
Mitchell Hashimoto cf7a5db7e7 More environment.rb cleanup 2011-12-04 11:24:18 -08:00
Mitchell Hashimoto f8d628148c Remove all environment `parent` references 2011-12-04 11:16:55 -08:00
Mitchell Hashimoto e2977e8948 Make VM names symbols again, since they're accessed often. 2011-12-03 19:33:44 -08:00
Mitchell Hashimoto b61d9a6d3d load_vms. Broke so many things.
I've changed Vagrant::VM to be slightly more in line with what I
imagined. However, doing this change has definitely broken _everything_.
We now slowly must cobble back together based on this new API.
2011-12-03 19:30:42 -08:00
Mitchell Hashimoto 1921ce17e8 Propery load box configuration 2011-12-03 19:17:08 -08:00
Mitchell Hashimoto 99982fb26e VM-specific configuration now works. 2011-12-03 19:05:50 -08:00
Mitchell Hashimoto 73a672cff1 load_config! is kind of working again.
Specifically: Global configuration load appears to be working. More
unit tests should reveal if proper VM configuration is loading.
2011-12-03 18:31:17 -08:00
Mitchell Hashimoto cb5f6b57f4 Remove Vagrant 0.8.0 transition code. 2011-12-03 18:11:24 -08:00
Mitchell Hashimoto 02cc1447dc Configuration files are only loaded once 2011-12-03 17:42:16 -08:00
Mitchell Hashimoto 15c56a1f4c Configuration loads. Lots of refactor to do still. 2011-12-03 17:29:28 -08:00
Mitchell Hashimoto 1a8c4199b2 Introduce Config::Loader
Config::Loader will be the new class responsible for loading configuration
and replaces the previous dual-role "Vagrant::Config" played. While this
commit is very early-stage, once this new architecture is flushed out, it
will make loading, using, and extending configuration much easier and cleaner.

Additionally, I believe this will help post Vagrant 1.0 if multi-language
configuration is implemented.
2011-12-03 17:12:48 -08:00
Mitchell Hashimoto e38e3cc652 Move VAGRANT_LOG logic into vagrant.rb so VAGRANT_LOG is always available 2011-12-03 17:12:07 -08:00
Mitchell Hashimoto 1355487a04 Environment UI class can now be set through the environment init 2011-12-03 16:07:34 -08:00
Mitchell Hashimoto cb8d00b55f Move the VM accessible check into more relevant actions 2011-12-03 15:37:13 -08:00
Mitchell Hashimoto c37f16b754 Remove final logger reference 2011-12-01 21:56:56 -08:00
Mitchell Hashimoto dd4acb1e3d Convert remaining logger calls outside of environment to log4r 2011-12-01 21:56:56 -08:00
Mitchell Hashimoto e4c0a0bf0a Convert warden to use log4r 2011-12-01 21:56:56 -08:00
Mitchell Hashimoto 0a47c9d6fa Make log4r a first class dependency as we start to switch to it 2011-12-01 21:56:56 -08:00
Mitchell Hashimoto 282bf37350 Get the tests passing 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto 6ea3335de6 DRY up the new UI class a bit 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto d84ec88fae Add color to the colored UI 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto af56c274c0 Add the "Basic" UI for non-colored messages 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto f519434285 Rip out Thor::Shell 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto 9c59f0f357 Upgrade version for development on 0.9.0 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto d4da278f28 v0.8.8 2011-12-01 21:53:54 -08:00
Mitchell Hashimoto 723b3c06fb Append folder name to chef solo cookbooks [GH-511] 2011-11-30 14:54:55 -08:00
Mitchell Hashimoto 27c83aef16 Make the default path to encrypted data bags `/tmp` [GH-512] 2011-11-30 14:26:13 -08:00
Mitchell Hashimoto 24895f2479 Update CHANGELOG 2011-11-30 12:52:05 -08:00
Michael Dellanoce a221235307 Remove windows drive letter from path if running a chef solo provisioner on a Windows guest 2011-11-30 12:51:04 -08:00
Mitchell Hashimoto c1a0b97067 Only check non-OSE versions for checking guest addition versions [GH-514] 2011-11-30 12:46:13 -08:00
Mitchell Hashimoto 8bb6d375f1 Use test SSH commands for additional verification SSH is "up" 2011-11-25 23:48:00 -07:00
Mitchell Hashimoto 15efdf5a1a Remove complicated Net::SSH session caching... thing.x 2011-11-25 23:20:16 -07:00
Mitchell Hashimoto 331b5c20a8 Update CHANGELOG for GH-502 2011-11-24 21:58:40 -07:00
Darrin Wortlehock 4c01a87ab3 Adding support for 'no_proxy' environment variable to suppress proxy in http downloader 2011-11-24 21:54:35 -07:00
Mitchell Hashimoto f6055f8711 Merge remote-tracking branch 'ody/debian/master/honor_config_setting' 2011-11-24 21:49:30 -07:00
John Watson 8a0a1bddb5 Proper support for NFS in FreeBSD 2011-11-24 21:45:23 -07:00
Eriksen Costa 82c679b9a5 Kernel.exec still failing in OS X Leopard [closes GH-544] 2011-11-24 21:32:44 -07:00
Mitchell Hashimoto 2bcd68d323 Slight tweaks for GH-556 2011-11-22 19:05:44 -08:00
Justin Brown dcef64fa0d Remove the chef dependency on the default 'v-root' shared folder. 2011-11-22 19:03:52 -08:00
Mitchell Hashimoto 5d684b9001 Reload the configuration for all VMs after downloading a box. Fixes GH-564 2011-11-21 22:39:12 -08:00
Mitchell Hashimoto bb06a20843 Add `rake acceptance:boxes` to download required boxes for tests 2011-11-13 13:37:30 -08:00
Mitchell Hashimoto 71e23bd27c Remove GlobLoader from util.rb since it doesn't exist anymore 2011-11-13 13:19:16 -08:00
Mitchell Hashimoto f83c1b3c27 Fix regression introduced with cab1e4e 2011-11-05 15:19:03 -07:00
Mitchell Hashimoto cab1e4e49b Make the file download the default for `vagrant box add`. Tests. 2011-11-03 21:56:38 -07:00
Justin Brown 0c2fc0cae2 Make init respect the env's cwd. 2011-10-30 22:48:35 -07:00
Dave Smith 971d406857 Use /etc/nodename for hostname; preferable for this situation 2011-10-30 22:40:21 -07:00
Dave Smith be078aedc4 Add solaris support for host-only networks and setting the hostname 2011-10-30 22:40:10 -07:00
Ticean Bennett dab80649b8 Added Basic Auth support to HTTP downloader. 2011-10-14 18:37:24 +02:00
Mitchell Hashimoto 28cc13ad38 Sort shared folders by length only if they have a guest path 2011-10-14 18:20:10 +02:00
Chris McClimans ec68c0a655 michellh/vagrant#524 2011-10-14 18:15:00 +02:00
Mitchell Hashimoto d4ff392be4 Fix wrong # of argument issue. [closes GH-518]
The second parameter actually is supposed to be options.
2011-10-14 17:19:16 +02:00
Cody Herriges f9c485bf05 Should honor max_tries.
Identified another place where ssh.max_tries was not being used where
  is likely should be.
2011-09-29 15:35:07 -07:00
Cody Herriges 48f3ce5880 Makes the execute method honor max_tries.
Vagrant::SSH.execute is hard coded for only 5 tries, this makes
  starting Debian machines very unreliable.  Debian will reset
  networking when you create a new hostonly NIC or change the hostname
  of the machine and occasionally the coming up part takes longer than
  what is provided by 5 tries.  Making this method honor the max_tries
  config option will make it possible to avoid this.
2011-09-21 13:27:23 -07:00
Mitchell Hashimoto 1bcbaa6df2 up version for development 2011-09-13 13:25:09 -07:00
Mitchell Hashimoto 5716b8dafb v0.8.7 2011-09-13 13:21:29 -07:00
Mitchell Hashimoto 7219f3d05b Show warning if forwarding port less than 1024 [closes GH-487] 2011-09-11 23:56:02 -07:00
Samer Abukhait 99646735d0 Don't do the port threshold check if running under root 2011-09-11 23:26:55 -07:00
Mitchell Hashimoto 1cfef2734a Fix crashing bug if .vagrant is invalid. [closes GH-496] 2011-09-11 23:23:17 -07:00
Mitchell Hashimoto b49553383c Revert "Don't expand VM folders for Chef"
This reverts commit 2665231363.

This actually reverted GH-431
2011-08-29 21:10:37 -07:00
Mitchell Hashimoto f6e6d7e834 Up version for development 2011-08-28 21:00:51 -07:00
Mitchell Hashimoto cf08262be4 v0.8.6 2011-08-28 20:59:17 -07:00
Mitchell Hashimoto b3dc6ba7d0 Check for VM accessibility in ssh_config 2011-08-28 20:41:51 -07:00
Mitchell Hashimoto c569c8b697 Accessibility checks on VM for `ssh` 2011-08-28 20:38:56 -07:00
Mitchell Hashimoto cdfbe4cc31 `vagrant up` on created machines check for inaccessible machines 2011-08-28 20:35:45 -07:00
Mitchell Hashimoto 82d6d5357b `vagrant provision` checks for inaccessible VMs 2011-08-28 20:34:59 -07:00
Mitchell Hashimoto 327a6f9d94 Add a check for VM accessibility before every action 2011-08-28 20:32:22 -07:00
Mitchell Hashimoto 2efe1f9135 Handle inaccessible VMs with "vagrant status" 2011-08-28 20:17:25 -07:00
Mitchell Hashimoto ed422e1151 Fixes to help with inaccessible VMs and forwarded ports 2011-08-28 20:02:15 -07:00
Mitchell Hashimoto e739e68e30 Look for "redhat-release" for Fedora 2011-08-28 14:13:54 -07:00
Mitchell Hashimoto 2665231363 Don't expand VM folders for Chef 2011-08-29 00:51:07 -07:00
Mitchell Hashimoto 14d1b987ae Add validation to args for shell provisioner 2011-08-28 00:02:42 -07:00
Mitchell Hashimoto bf32fb4de8 Args can now be specified to the shell provisioner [closes GH-475] 2011-08-28 00:01:23 -07:00
Mitchell Hashimoto 0f0cb27e50 Use proper nfsd binary on Fedora [closes GH-450] 2011-08-27 23:47:13 -07:00
Mitchell Hashimoto 1c2f80fab4 Distro dispatch for Host classes 2011-08-27 23:39:02 -07:00
Mitchell Hashimoto 5f62231bac Clear the line on box downloads [closes GH-476] 2011-08-27 20:35:52 -07:00
Mitchell Hashimoto d2498cfa99 Up version for development 2011-08-27 20:15:14 -07:00
Mitchell Hashimoto 722ea85a6a Remove "disk_image_format" config, since it isn't used. [closes GH-478] 2011-08-27 19:55:36 -07:00
Mitchell Hashimoto fe072662fd v0.8.5 - RubyGems bugs. Unbelievable. 2011-08-15 20:55:25 -07:00
Mitchell Hashimoto e7f192ccc8 v0.8.4
RubyGems issue
2011-08-15 20:24:12 -07:00
Mitchell Hashimoto 547a056f80 v0.8.3 2011-08-15 20:17:52 -07:00
Mitchell Hashimoto 3c1b16f286 vagrant ssh -c no longer emits prefix and newlines [closes GH-462] 2011-08-14 13:51:20 -07:00
Lewis Marshall 25dee4ac6d Default Vagrant::UI#clear_line to do nothing [closes GH-466]
This needs to be defined as it is used in Vagrant::Action::VM::Import#call
2011-08-13 18:55:38 -07:00
Mitchell Hashimoto cf115c10b1 Fix errno not defined [closes GH-465] 2011-08-13 18:54:32 -07:00
Mitchell Hashimoto 3f9a2814c7 Clean up some of the UI output 2011-08-10 22:17:37 -07:00
Dan Carley 1ec225e052 Add "short" hostname to "/etc/hosts" mimicking Debian behaviour. [closes GH-456] 2011-08-09 23:25:55 -07:00
Mitchell Hashimoto 7df5cf6c9d Fix some issues with the atomic counter and chef-solo 2011-08-03 21:28:29 -07:00
Mitchell Hashimoto 8ff269c341 Chef solo roles_path and data_bag_path should be a string 2011-08-02 23:30:57 -07:00
Greg Thornton 92bb5c423b Changed data_bags_path and roles_path in chef-solo provisioner to strings rather than arrays. [closes GH-446] 2011-08-02 23:30:49 -07:00
Mitchell Hashimoto 9d7433cbe7 Chef client allow empty run list 2011-08-02 23:17:46 -07:00
Thomas Pelletier 860a458a9c archlinux host only network support [closes GH-448] 2011-07-30 12:05:09 -07:00
Dave Simons 1bf3aa69ed set hostname on archlinux [closes GH-439]
Signed-off-by: Dave Simons <dave@inuits.be>
2011-07-30 12:03:18 -07:00
Mitchell Hashimoto f707431410 Fix remote URL chef solo runs. [closes GH-431] 2011-07-30 10:55:48 -07:00
Mitchell Hashimoto 0e7ccf86bc Ignore "OSE" suffix when checking guest additions versions [closes GH-438] 2011-07-30 10:25:58 -07:00
Mitchell Hashimoto 2ca46ced57 Fix message when provision is run on halted machine [closes GH-447] 2011-07-30 09:58:29 -07:00
Mitchell Hashimoto ed8bf34153 Chef client accepts nil run list to load run list from server [closes GH-429] 2011-07-25 21:33:36 -07:00
Mitchell Hashimoto 6217a91b5c ssh: get proper $PATH for exec! [closes GH-426] 2011-07-25 21:22:16 -07:00
Mitchell Hashimoto cd83a4a28f Up version for development 2011-07-22 23:59:02 -07:00
Mitchell Hashimoto 30642dbd62 v0.8.2 2011-07-22 23:57:12 -07:00
Mitchell Hashimoto 14ca7ecc24 Better validation for networking configuration 2011-07-22 23:53:19 -07:00
Paul Nguyen b92a814583 With puppet 2.7.x, the following warning [closes GH-421]
warning: Implicit invocation of 'puppet apply' by passing files (or flags) directly
to 'puppet' is deprecated, and will be removed in the 2.8 series.  Please
invoke 'puppet apply' directly in the future.

Since puppet 2.6, 'puppet apply manifestfile.pp' is the preferred way to apply a puppet manifest file, instead of 'puppet manifestfile.pp'.  The use of puppet without the apply option will be deprecated in 2.8.

Changed the 'commands' array to reflect the new syntax.
2011-07-22 23:30:48 -07:00
Mitchell Hashimoto 1cb613367d Name the shared-folders logical name using atomic counter to allow multiple chef solo provisioners. 2011-07-22 23:09:37 -07:00