Mitchell Hashimoto
4c6673270a
Ruby 1.8 compatibility
2011-07-11 20:13:19 -07:00
Mitchell Hashimoto
0dacd78b10
Add `forwarded_port_destination` to find SSH port by that instead of key. [closes GH-375]
2011-07-10 22:41:35 -07:00
Mitchell Hashimoto
0515d9a61e
Add more logging but default to it off for now until we add more later
2011-07-10 21:41:52 -07:00
Mitchell Hashimoto
ad36340674
Specify program names for previous logging locations
2011-07-10 16:50:26 -07:00
Mitchell Hashimoto
907c3b318a
Logging of `vagrant`, action running, and warden
2011-07-10 16:48:00 -07:00
Mitchell Hashimoto
be3f7ffbfc
Log all console output
2011-07-10 16:21:41 -07:00
Mitchell Hashimoto
8248679fab
Fix bug with loading Vagrantfiles with new case changing
2011-07-10 16:08:39 -07:00
Mitchell Hashimoto
11dc005d75
Basic logging
2011-07-10 15:57:28 -07:00
Mitchell Hashimoto
0db2ec9d43
Remove ResourceLogger and PlainLogger
2011-07-10 15:35:45 -07:00
Mitchell Hashimoto
050677b359
ResourceLogger doesn't need to be thread-safe. Vagrant is not multi-threaded.
2011-07-10 14:52:22 -07:00
Mitchell Hashimoto
aaa09749e4
Only get the home path on the root environment
2011-07-10 14:19:34 -07:00
Mitchell Hashimoto
442584fbac
Change default home directory to ~/.vagrant.d [closes GH-333]
2011-07-09 18:55:33 -07:00
Mitchell Hashimoto
52c5c79edf
Retry connection on Net::SSH::Disconnect [closes GH-313]
2011-07-09 17:02:41 -07:00
Mitchell Hashimoto
5143556065
Standardize on Util::Platform
2011-07-09 16:51:04 -07:00
Mitchell Hashimoto
1aed9f0f38
Remove leopard/tiger checking and just retry exec using safe_exec
2011-07-09 16:37:12 -07:00
Mitchell Hashimoto
874a9763f5
Only one copy of Vagrant can run at any given time. [closes GH-364]
...
This is to protect against issues with VirtualBox overwriting
each other.
2011-07-09 16:21:38 -07:00
Mitchell Hashimoto
a8af0f47d3
Vagrantfile created should be capitalized still
2011-07-09 15:23:03 -07:00
Mitchell Hashimoto
24337b0ca4
vagrantfile now is lowercase. backwards compatible, though. [closes GH-399]
2011-07-09 15:18:52 -07:00
Mitchell Hashimoto
1cf379a1f0
Be smart about loading files in Vagrant::SSH
2011-07-09 11:21:37 -07:00
Mitchell Hashimoto
881045a85f
Find a way to autoload 'vagrant/ssh' since that is a slow loader.
...
This involved realizing that requiring 'openssl' in the context
of an autoload causes some strange exceptions down the road. See this
gist for the error: https://gist.github.com/dd0b105bf9edcb7daa85
2011-07-09 11:12:15 -07:00
Mitchell Hashimoto
8b2d4bfe92
Update CHANGELOG, minor style changes
2011-07-08 18:19:36 -07:00
Michael Linderman
5bf4efe071
Don't delete package file if package output exists
2011-07-08 18:18:04 -07:00
Mitchell Hashimoto
0b02deb37a
Share folders go into the modify pipeline
2011-07-08 12:07:27 -07:00
Mitchell Hashimoto
d797e48389
Clear shared folders uses new modify pipeline
2011-07-08 12:05:18 -07:00
Mitchell Hashimoto
79c46b4ec1
Forward ports now uses modify pipeline
2011-07-08 12:04:01 -07:00
Mitchell Hashimoto
027b22eca0
Clear forwarded ports to the modify pipeline
2011-07-08 12:02:35 -07:00
Mitchell Hashimoto
6b2feae0e8
Create single interal modify block to sync VM modifications
2011-07-08 11:59:29 -07:00
Mitchell Hashimoto
b876d9ed1d
Move MAC address UI output into the customize block
2011-07-08 00:56:52 -07:00
Mitchell Hashimoto
f3c44fba2f
Clear shared folders now in the context of a single write lock
2011-07-08 00:26:28 -07:00
Mitchell Hashimoto
60708873e4
Clear forwarded ports is now done in context of customize block
2011-07-08 00:20:15 -07:00
Mitchell Hashimoto
268f7f7bc2
Improved lock-reducing of forwarded ports action
2011-07-08 00:03:33 -07:00
Mitchell Hashimoto
911a44523c
Create shared folders in VM customize block to reduce VirtualBox lock time.
2011-07-07 23:49:29 -07:00
Mitchell Hashimoto
1ecd04e0ac
Move port forwarding into customize block to run in a single VM lock.
2011-07-07 23:42:56 -07:00
Mitchell Hashimoto
17e86c40fc
Reload VM after running customization blocks
2011-07-07 23:41:19 -07:00
Mitchell Hashimoto
a0cf0c3761
Match MAC address using VM customize config to speed up `up` time
2011-07-07 23:27:09 -07:00
Mitchell Hashimoto
d77738b37f
Cache SSH connections to VMs.
2011-07-07 23:15:19 -07:00
Mitchell Hashimoto
e625dba5ab
Multiple Chef provisioners no longer overwrite cookbook folders. [closes GH-407]
2011-07-07 22:49:58 -07:00
Mitchell Hashimoto
729d62d1ea
Chef solo no longer overwrites share folders when multiple provisioners exist
2011-07-07 21:38:07 -07:00
Mitchell Hashimoto
5ae483ef85
Provisioners now properly share folders again
2011-07-07 10:38:32 -07:00
Mitchell Hashimoto
19eaddcd3a
Action to call `cleanup` method on provisioners during destroy.
2011-07-06 23:02:19 -07:00
Mitchell Hashimoto
45ce8b845a
Clean up the code for provisioners
2011-07-06 22:57:10 -07:00
Mitchell Hashimoto
563ac35bc0
No longer need the provisioners attr_accessor on the provision action
2011-07-06 22:56:09 -07:00
Mitchell Hashimoto
1de152ae36
Move provisioning prepare up into the `call` method
2011-07-06 22:50:49 -07:00
Mitchell Hashimoto
bdc316f4ef
Provisioner configuration no longer cleared when box is downloaded during an `up`. [closes GH-308]
2011-07-06 22:08:37 -07:00
Mitchell Hashimoto
9287324472
Chef JSON can be set directly with `json =` instead of the old `merge!` trick. [closes GH-314]
2011-07-06 00:44:21 -07:00
Mitchell Hashimoto
c2bccdc65a
Forward agent and forward X11 properly appear in `ssh_config` output. [closes GH-105]
2011-07-06 00:36:05 -07:00
Mitchell Hashimoto
29688eb788
`vagrant ssh` -e flag is now -c [closes GH-323]
2011-07-06 00:29:22 -07:00
Mitchell Hashimoto
5e2e019b7c
`ssh_config` will use VM name if given for host name [closes GH-332]
2011-07-06 00:18:44 -07:00
Mitchell Hashimoto
9e780606f4
Note that NFS doesn't support owner/group settings
2011-07-06 00:07:36 -07:00
Mitchell Hashimoto
6d6087ce73
Update solaris system to respect new owner/group shared folder settings
2011-07-05 23:59:31 -07:00