Mitchell Hashimoto
00aba5ac03
Plugin easy commands.
...
Easy commands are well... easy! They don't offer the full power of
creating a completely custom command class, but they let you do the
basics (what almost everyone needs) with minimal fuss. Example:
class MyPlugin < Vagrant.plugin("1")
name "my-plugin"
easy_command "foo" do |action|
puts "HELLO!"
end
end
NOTE: The "action" stuff isn't done yet, but will be soon!
2012-05-05 18:57:29 -07:00
Mitchell Hashimoto
8850c086b1
Plugins can now have action_hooks
2012-05-05 18:28:07 -07:00
Mitchell Hashimoto
462136cbf2
Use the .vagrantrc for plugins!
2012-05-05 13:08:07 -07:00
Mitchell Hashimoto
d9034da8a4
Remove gem-based plugin loading
2012-05-05 12:57:31 -07:00
Mitchell Hashimoto
3b7030ed2c
Merge pull request #905 from LarsFronius/master
...
Fix for issue #898 - interfaces assigned in wrong order under ruby1.8
2012-05-04 20:52:04 -07:00
Mitchell Hashimoto
359ea23069
Support multiple paths in VBOX_INSTALL_PATH [GH-885]
2012-05-04 20:48:52 -07:00
Mitchell Hashimoto
04df9bc80b
Merge pull request #877 from bitprophet/allow-agents-in-plain-mode
...
Don't use IdentitiesOnly under 'ssh -p'
2012-05-04 20:31:15 -07:00
Jorgen H. Fjeld
6f5a9d13f3
Detect and disable DNS settings that break on Ubuntu 12.04.
2012-05-01 22:24:07 -07:00
Sean Wolfe
e10e8aae86
After changing the file permissions, we need to reload the stat before comparing again. Otherwise we will always throw an exception even if we set the permissions successfully.
2012-05-01 13:26:12 -07:00
Lars Fronius
534faeae7c
Fixes a bug where interfaces are assigned in a wrong order when using ruby1.8, causing vm boot to stop as documented in issue #898
2012-04-26 21:11:16 +02:00
Mitchell Hashimoto
9956e6d012
Better directory structure for plugins
2012-04-20 16:53:01 -07:00
Mitchell Hashimoto
cae80a7716
Make Vagrant::Plugin a module
2012-04-19 21:42:35 -07:00
Mitchell Hashimoto
86a846e445
Remove old command directory
2012-04-19 21:33:26 -07:00
Mitchell Hashimoto
945f3bba67
Remove old commands
2012-04-19 21:29:25 -07:00
Mitchell Hashimoto
deb346d5a1
Remove guest subdirectory
2012-04-19 21:28:24 -07:00
Mitchell Hashimoto
3a79aa0beb
Remove hosts directory
2012-04-19 21:27:16 -07:00
Mitchell Hashimoto
9593ad3fdb
Get rid of provisioners directory
2012-04-19 20:30:14 -07:00
Mitchell Hashimoto
6161c04fcf
Fix some issues with commands not referencing proper classes
2012-04-19 14:02:03 -07:00
Mitchell Hashimoto
1489854d70
Move commands into plugins
2012-04-19 13:59:48 -07:00
Mitchell Hashimoto
661f20bb91
Move hosts to a plugin system
2012-04-18 22:20:45 -07:00
Mitchell Hashimoto
1cbac3167f
Move provisioners into plugins
2012-04-18 21:53:19 -07:00
Mitchell Hashimoto
0d7b9f84e2
Add logging to v1 plugin registration
2012-04-18 21:32:15 -07:00
Mitchell Hashimoto
1b2fa748f9
Move all guests to plugins, even the distros
2012-04-18 21:23:25 -07:00
Mitchell Hashimoto
7766eb6098
Major guests have been moved to plugins
2012-04-18 21:03:03 -07:00
Mitchell Hashimoto
dd459170dd
Start moving guest configuration out into plugins
2012-04-18 17:38:20 -07:00
Mitchell Hashimoto
a23fee4848
Remove old configuration classes
2012-04-18 17:16:03 -07:00
Mitchell Hashimoto
a62e859231
Get rid of the UNSET_VALUE stuff, save it for v2
2012-04-18 17:09:25 -07:00
Mitchell Hashimoto
b38fb5e974
Loader uses the new configuration classes
2012-04-18 17:03:34 -07:00
Mitchell Hashimoto
98d6bf958e
Move core config into a plugin
2012-04-17 22:12:27 -07:00
Mitchell Hashimoto
c0ee3b06ff
Config merging
2012-04-17 10:22:24 -07:00
Mitchell Hashimoto
92ee042fc2
V1 config loading using plugins as a source for config keys
2012-04-16 22:26:38 -07:00
Mitchell Hashimoto
b46daa82bc
Ability to define configuration classes on plugins
2012-04-15 16:04:54 -05:00
Mitchell Hashimoto
2eebc2cb68
Basic Plugin class
2012-04-15 15:34:44 -05:00
Mitchell Hashimoto
4034a2db21
`vagrant destroy` works in "guru meditation" state
2012-04-12 10:18:34 -07:00
Jeff Forcier
e35fac0986
Protip, don't apply changes from old released versions to master
2012-04-09 18:01:03 -07:00
Jeff Forcier
59852e79de
Don't use IdentitiesOnly under 'ssh -p'
2012-04-09 17:57:41 -07:00
Justin Lynn
a20ee32c9a
Need to correctly configure the template's options.
...
pull the config through the bridged interface configuration routine
template debugging
add another test line
set the setting in the correct areas, yay dynamic method calls
2012-04-05 10:58:58 -07:00
Justin Lynn
bf3d3b0245
add use_dhcp_assigned_default_route setting to allow for dhcp bridged interfaces which have a default route assigned by dhcp
2012-04-05 09:21:09 -07:00
Mitchell Hashimoto
00c4193b43
Merge pull request #856 from stevehodgkiss/fix_error_when_changing_users
...
Cleanup any tmp files set by vagrant to fix a permissions issue when switching users.
2012-04-03 21:56:16 -07:00
Mitchell Hashimoto
e98cedf0e1
LogLevel QUIET for SSH to suppress known hosts warning [GH-847]
2012-04-02 09:57:16 -07:00
Mitchell Hashimoto
285a07ebb3
Don't use unless
2012-04-02 09:55:39 -07:00
Steve Hodgkiss
3561c1c5ba
Guests should clean up after themselves
2012-04-02 17:33:54 +10:00
Steve Hodgkiss
092e8a95b3
Cleanup any tmp files set by vagrant to fix a permissions issue when switching users.
2012-04-02 14:56:43 +10:00
David Calavera
e8c5cf09db
fix reading information method for vbox 4.1
2012-03-31 18:58:02 -07:00
David Calavera
b0e6085c0b
Fix importing progress status check
2012-03-31 18:50:45 -07:00
David Calavera
73b31b5a3b
fix regexp matchers
2012-03-30 19:36:35 -07:00
David Calavera
eb07788db1
Remove global variables
2012-03-30 19:36:26 -07:00
Mitchell Hashimoto
1782acdf2e
Fix up some stuff from previous pull request
2012-03-30 19:31:03 -07:00
Hunter Morris
db6cd14f9e
Detect when the VirtualBox installation is incomplete and error
2012-03-30 19:29:39 -07:00
Mitchell Hashimoto
9f6bc9ee03
Catch Errno::ETIMEDOUT for downloading boxes [GH-849]
2012-03-30 19:28:10 -07:00
Mitchell Hashimoto
2ed6695f78
Improve the SSH ready? check [GH-841]
2012-03-28 22:30:01 -07:00
Mitchell Hashimoto
c9d1110b0e
Up version for development
2012-03-28 22:08:55 -07:00
Mitchell Hashimoto
41445466ee
v1.0.2
2012-03-25 10:08:22 -07:00
Mitchell Hashimoto
bfe20a223f
Fail fast if the VM fails to boot properly. [GH-825]
2012-03-25 10:00:27 -07:00
Mitchell Hashimoto
1b4388ee98
Fix a few edge cases where CLI#execute didn't properly return an int
2012-03-25 09:58:57 -07:00
Mitchell Hashimoto
351f9757a1
Backwards compatible with_target_vms, fix failing test
2012-03-23 11:29:10 -04:00
withnale
ff36845259
Allow multiple VMs to be specified for relevant commands
2012-03-23 11:25:35 -04:00
Mitchell Hashimoto
3338b6c134
Support arbitrary exit statuses for CLI commands that aren't exploding
2012-03-23 11:07:35 -04:00
Mitchell Hashimoto
c1445a0130
Check if a port is open prior to forwarding [GH-821]
2012-03-23 10:31:27 -04:00
Mitchell Hashimoto
d08a65e7f7
IsPortOpen utility
2012-03-23 10:26:29 -04:00
Mitchell Hashimoto
3877b71983
Better logging in the SaneDefaults middleware
2012-03-23 10:00:26 -04:00
Seth Chisamore
c137dec14f
Enable DNS proxy (in NAT mode) by default
2012-03-23 09:37:04 -04:00
Mitchell Hashimoto
a1b16fd96d
Merge pull request #816 from Oakie3CR/chef-solo-encrypted-databags
...
Add encrypted data bag options to chef-solo
2012-03-23 06:21:36 -07:00
Mitchell Hashimoto
1749e4cf94
Enable Host IO cache on SATA controller by default
2012-03-22 13:41:48 -07:00
Mitchell Hashimoto
641a8daac8
safe_puts to avoid EPIPE [GH-819]
2012-03-18 17:45:49 -06:00
Hendrik Volkmer
28e391cb61
Disable IdentitiesOnly for SunSSH
...
SunSSH is default on Solaris/OpenSolaris/Illumos. SunSSH does not support
the IdentitiesOnly option. 'vagrant ssh' works when the options is not supplied.
2012-03-18 16:32:15 +01:00
Mitchell Hashimoto
cd92d6483f
Update CHANGELOG
2012-03-15 09:52:28 -06:00
Remco Vermeulen
728dbe5a4f
Make sure that the private_key_path is expanded before checking existence.
...
This allows for paths like ~/.ssh/some_key to be defined in the Vagrantfile.
2012-03-14 12:02:31 +01:00
Christian Rigdon
b4e24c91f5
Add encrypted databag options to chef-solo
2012-03-13 16:27:11 -06:00
Benedikt Böhm
aa06f06d1a
add change_host_name support for gentoo
2012-03-13 14:56:22 -07:00
Benedikt Böhm
275241caf6
fix interpolation error in VMGuestError strings
2012-03-13 14:56:11 -07:00
Mitchell Hashimoto
3ff4be3632
Nicer error for unsupported SSH key type [GH-805]
2012-03-13 14:27:16 -07:00
Mitchell Hashimoto
0245245daa
Update CHANGELOG
2012-03-13 14:19:34 -07:00
R. Tyler Croy
95ebd5b4ca
Allow provisioners to prepare, even if they're not enabled
...
Fixes #801
2012-03-13 05:08:33 -07:00
Mitchell Hashimoto
5bc27e46d3
v1.0.1
2012-03-11 16:10:30 -07:00
Mitchell Hashimoto
07fa6d5dc4
ssh-config -h shows help [GH-793]
2012-03-11 10:38:23 -07:00
Mitchell Hashimoto
b38083fb9b
OpenBSD guest [GH-773]
2012-03-10 14:03:09 -08:00
Mitchell Hashimoto
8ea5e15b48
`vagrant reload` accepts `--no-provision` and `--provision-with`
2012-03-10 13:57:18 -08:00
Mitchell Hashimoto
37b8a13179
Add the :facter option for puppet server [GH-790]
2012-03-09 12:16:27 -08:00
Mitchell Hashimoto
0b28910b77
Update CHANGELOG + Style
2012-03-09 10:18:40 -08:00
Daniel Simmons
38212969c6
Don't attempt to calculate percentage if total is not set
...
Prevents a FloatDomainError if the total is zero or not known. Fixes #788 .
2012-03-09 11:10:30 +00:00
Mitchell Hashimoto
f8fa859b5f
Raise an error if the CWD is incorrect
2012-03-08 16:57:17 -08:00
Mitchell Hashimoto
6969f791ad
VAGRANT_CWD can be set to set the CWD of `vagrant`.
2012-03-08 16:45:19 -08:00
Mitchell Hashimoto
ce00a56ecb
Even with a custom vagrantfile name, use defaults [GH-778]
2012-03-08 13:24:04 -08:00
Mitchell Hashimoto
bab5d7b685
Silent UI can't respond to `ask`
2012-03-07 22:42:47 -08:00
Mitchell Hashimoto
3046845215
Show nice error if vagrant destroy can't confirm [GH-779]
2012-03-07 22:35:40 -08:00
Mitchell Hashimoto
95b3e9f82f
UI errors if a TTY is required and not given
2012-03-07 22:32:44 -08:00
Mitchell Hashimoto
700938b668
Load rubygems in environment.rb [GH-781]
2012-03-07 22:15:45 -08:00
Mitchell Hashimoto
ef90fb7b0d
Up version for dev
2012-03-06 11:38:11 -08:00
Mitchell Hashimoto
1fd4cb1a4e
Fix a potential exception case by making UUID for VB driver optional
2012-03-06 11:37:36 -08:00
Mitchell Hashimoto
14513a99b3
Ignore me.
2012-03-05 22:17:39 -08:00
Mitchell Hashimoto
40901dc2e6
Make sure a driver is always set on a VM object
2012-03-05 20:42:55 -08:00
Mitchell Hashimoto
97cf6ddfba
Update CHANGELOG
2012-03-04 16:39:35 -08:00
Wayne E. Seguin
9990311f20
Added Fedora 16 handling.
2012-03-04 18:42:37 -05:00
Mitchell Hashimoto
a90f33dcf2
Avoid deadlock behavior on Windows subprocess IO [GH-765]
2012-02-28 09:44:28 -08:00
Achim Herwig
7c1fcbdde0
Added openSuSE as host system.
...
Init script for NFS-server differs.
2012-02-28 11:55:39 +01:00
Mitchell Hashimoto
a8293543e9
Automatically convert all customize arguments to strings.
2012-02-26 14:13:24 -08:00
Mitchell Hashimoto
07a815f9d8
Remove deprecation warnings, the things are gone!
2012-02-25 12:35:58 -08:00
Mitchell Hashimoto
7b9f64f577
Allow data store to work even if file path is nil
2012-02-25 10:41:06 -08:00
Mitchell Hashimoto
6490710d43
Puppet accepts :facter option to override default facts [GH-753]
2012-02-25 10:18:17 -08:00
Mitchell Hashimoto
2c823e98bd
Fix crashing bug with `primary_vm` on Environment
2012-02-24 10:27:34 -08:00
Mitchell Hashimoto
50fb129f53
Make VM#run_action public for plugin devs
2012-02-23 23:01:43 -08:00
Ian Downes
0f63171a4d
Support for bridged networks in FreeBSD
2012-02-23 18:06:40 -08:00
Mitchell Hashimoto
23fe4ef7e2
Fix up the freebsd guest regex
2012-02-22 15:19:45 -08:00
Ian Downes
3ebde12efb
add change_host_name support for FreeBSD
2012-02-22 15:08:18 -08:00
Mitchell Hashimoto
2f420705da
Output version at the top of every log
2012-02-22 10:00:19 -08:00
Mitchell Hashimoto
cf840c88b0
Merge pull request #751 from jjhuff/chef-provision
...
Fix for permissions when re-provisioning chef.
2012-02-20 17:28:31 -08:00
Mitchell Hashimoto
3e5b3d051b
Fix exception when adding boxes due to recent change. [GH-752]
2012-02-20 17:26:22 -08:00
Justin Huff
32f7f98ef4
Fix for permissions when re-provisioning chef.
...
https://github.com/mitchellh/vagrant/issues/748
2012-02-20 09:53:09 -08:00
Jaime Soriano Pastor
c0338dfa4b
NIC type can also be defined for host-only adapters
2012-02-20 12:16:10 +01:00
Mitchell Hashimoto
5eb09aac3f
Up version for RC2
2012-02-19 11:50:54 -08:00
Mitchell Hashimoto
8969605fe2
Check that VirtualBox exists early. [GH-746]
2012-02-19 11:36:25 -08:00
Mitchell Hashimoto
c2fbbe7dee
Better logging for config loading
2012-02-15 18:23:05 -08:00
Mitchell Hashimoto
d4a2e39c3e
Gracefully handle if the type of arg is not correct for bridged.
...
[GH-743]
2012-02-15 18:20:44 -08:00
Mitchell Hashimoto
163da82170
Fix edge case which caused exception in network configuration code.
...
[GH-742]
2012-02-15 11:11:11 -08:00
Mitchell Hashimoto
034477b52a
Add `fsid` to linux exports for NFS. [GH-736]
2012-02-14 23:08:32 -08:00
Mitchell Hashimoto
96a920e4e5
Destroy VMs in reverse order. [GH-739]
2012-02-14 10:42:30 -08:00
Mitchell Hashimoto
2cf146cf6b
Set uuid directly if VM couldn't be found. [GH-725]
...
This fixes a rare edge case where an exception could actually cause
Vagrant to remove the UUID state of a running VM, "losing" it.
2012-02-13 17:39:18 -08:00
Mitchell Hashimoto
888907de91
Up version for 1.0.0.rc1
2012-02-12 11:21:00 -08:00
Mitchell Hashimoto
b64ac0b0d3
Use `binmode` to actually fix GH-727
2012-02-11 10:36:27 -08:00
Mitchell Hashimoto
9e427562ef
Retry VirtualBox commands. [GH-726]
2012-02-10 21:56:59 -08:00
Mitchell Hashimoto
c50c7959f9
Convert lineendings for the other guests as well
2012-02-10 18:14:51 -08:00
Mitchell Hashimoto
ba42fffed0
Convert line endings to Unix-style [GH-727]
2012-02-10 18:07:59 -08:00
Mitchell Hashimoto
5c49d693d4
You can no longer output a package to a directory [GH-730]
2012-02-10 17:57:40 -08:00
Mitchell Hashimoto
99ec766efe
Get rid of tabs
2012-02-10 17:57:40 -08:00
John Bender
b8db119d50
expose virtualbox base driver methods execute and raw
2012-02-09 23:04:21 -08:00
Mitchell Hashimoto
02fe7b6a9a
Merge branch '0-9-6-regression'
2012-02-09 00:45:30 -08:00
Mitchell Hashimoto
ea19bddb04
v0.9.7
2012-02-10 00:54:16 -08:00
Mitchell Hashimoto
0ba3824106
Windows subprocess IO works again. [GH-721]
2012-02-10 00:53:22 -08:00
Mitchell Hashimoto
aa18ea3fd0
Fix issue where starting a VM failure was false negative [GH-720]
2012-02-09 00:04:47 -08:00
Mitchell Hashimoto
f81fb58cd9
Fix puppet inheritence for config [GH-722]
2012-02-08 22:28:19 -08:00
Bob Van Zant
ae62c9bd68
Convert example host only IPs to RFC1918
2012-02-08 14:50:33 -08:00
Mitchell Hashimoto
9882918903
`destroy` takes a `--force` flag [GH-699]
2012-02-07 22:58:01 -08:00
Mitchell Hashimoto
6ed6c0c085
`destroy` asks for confirmation. [GH-699]
2012-02-07 22:54:51 -08:00
Mitchell Hashimoto
fbcb2c6ddc
Merge branch 'f-vagrant-gem'
2012-02-07 22:42:34 -08:00
Mitchell Hashimoto
6224f79557
Up version for development. 1.0 folks.
2012-02-07 21:32:50 -08:00
Mitchell Hashimoto
600e8ae036
v0.9.6
2012-02-07 21:30:29 -08:00
Mitchell Hashimoto
6f45cdc1ed
Some code cleanup
2012-02-07 21:20:33 -08:00
Mike Lundy
00953073e7
Add Gentoo support for NFS
2012-02-07 21:14:47 -08:00
Mitchell Hashimoto
c9fe21cf72
Merge pull request #719 from semarj/master
...
Fix the ifdown/ifup issue for once and for all?
2012-02-07 21:00:07 -08:00
semarj
64a26dae18
Update lib/vagrant/guest/redhat.rb
2012-02-07 17:42:28 -06:00
Mitchell Hashimoto
a25a691913
Don't forward ports if there aren't any to forward
2012-02-07 15:40:35 -08:00
Paul Handly
a0e60d641d
Uncolorize puppet provisioner output
2012-02-07 14:52:16 -08:00
John Bender
ea9dadd41e
update the action_env test helper for the new environment structure
2012-02-06 22:47:25 -08:00
Mitchell Hashimoto
a3d9615a13
Custom help for `vagrant gem` on top of RubyGems help
2012-02-06 22:52:34 -05:00
Mitchell Hashimoto
13fddfa6f9
Load plugins with the private gem path.
...
This changed plugin loading semantics a tiny bit, since they are
no longer loaded when Vagrant is loaded but instead when the
Vagrant::Environment is initialized. I'll note this in the CHANGELOG.
2012-02-06 22:39:35 -05:00
Mitchell Hashimoto
261a83d60f
Logging statements in plugin loading
2012-02-06 22:31:45 -05:00
Mitchell Hashimoto
4444e7150c
`vagarnt gem` cannot be called within a bundler env
2012-02-06 22:22:28 -05:00
Mitchell Hashimoto
d19f7a44e5
Starting on the `vagrant gem` command.
2012-02-06 22:16:37 -05:00
Mitchell Hashimoto
fd54cf0809
`vagrant ssh` now uses a direct exec() [GH-751]
...
Before, I was using the "super exec" by passing a single string.
Ruby handles this by actually invoking the command with a shell.
This causes some odd issues with file pathes with spaces and
expansion and other things. This no longer happens.
2012-02-06 15:27:28 -05:00
Mitchell Hashimoto
3eff28ac0d
Don't strip color codes with ANSI escape code remover
2012-02-05 13:30:21 +01:00
Mitchell Hashimoto
6c1eafe00e
Update CHANGELOG
2012-02-05 13:23:53 +01:00
Joe Kutner
36f43fa676
moved the closing of subprocess streams to after the process has finished.
2012-02-05 13:21:50 +01:00
Mitchell Hashimoto
3ea04f2577
Up version for dev
2012-02-05 13:17:00 +01:00
Mitchell Hashimoto
fb3d2234cf
v0.9.5
2012-02-05 13:15:42 +01:00
Mitchell Hashimoto
987abb8abc
Fix typo in puppet server I18n
2012-02-04 17:51:45 +01:00
Mitchell Hashimoto
a6a42b31df
Ability to specify `:bridge` to networking [GH-655]
2012-02-04 15:04:28 +01:00
Mitchell Hashimoto
26d9636faf
Better logging with the bridged networking layer
2012-02-04 14:51:55 +01:00
Mitchell Hashimoto
90d7742c9c
More intelligent puppet server cert name handling
2012-02-04 13:57:02 +01:00
Mitchell Hashimoto
ab8b1d3ea6
Fix some issues with puppet server config inheritance
2012-02-04 13:51:36 +01:00
withnail
e90c36ac77
puppet_server certname changes
...
At present, puppet_node is defined by default and must almost always be
overwritten. This changes the logic for puppet_server so puppet_node is
initially undefined and the node name will be set based on this order
1. puppet_node if defined
2. host_name if defined (actually this removes the explicit certname
specification which is cleaner and uses the machine hostname)
3. config.vm.box
2012-02-04 13:50:15 +01:00
withnail
77c1b7c9e2
Only list bridged interfaces that are up [GH-701]
2012-02-01 15:38:57 -08:00
semarj
535bda2a4e
properly restart the interface. Was failing with /sbin/ifup
2012-01-31 22:36:38 -06:00
Scott Sanders
2d327055f3
Do not allow BSD hosts to double-quote in exports
...
This is not allowed on *BSD
2012-01-30 19:52:59 -08:00
Scott Sanders
0ec02fe711
Update comment to better reflect the actual issue
2012-01-30 19:52:36 -08:00
Scott Sanders
28c377848f
Update FreeBSD guest to support networking
...
The latest update to 0.9.x broke FreeBSD networking. This patch fixes
things by moving the code into the right method.
2012-01-30 19:51:58 -08:00
Mitchell Hashimoto
f9a42973d9
Select NFS version with :nfs_version
2012-01-29 13:34:50 -08:00
Mitchell Hashimoto
3a8c44301b
Fix some issues with NFS version selecting
2012-01-29 13:33:35 -08:00
Russ Garrett
ced99edd59
Allow user to choose NFS protocol version, defaulting to 3
...
NFSv4 has siginificant added complexity in the form of ID-mapping which
can cause problems with applications without extra setup. Best to
force version 3 unless the user requests it.
Conflicts:
lib/vagrant/systems/linux.rb
2012-01-29 13:27:42 -08:00
Mitchell Hashimoto
f095939800
Update changelog for GH-690
2012-01-28 21:50:57 -08:00
sathlan
4715400761
The type of nic can be set for bridged network.
...
:nic_type can be specified in the network bridged type. Its value can
be Am79C970A, Am79C973, 82540EM, 82543GC, 82545EM, virtio.
2012-01-28 21:50:04 -08:00
Mitchell Hashimoto
d687473760
Fix crashing issue when all networks don't aut config [GH-689]
2012-01-28 21:48:12 -08:00
Mitchell Hashimoto
f8619007a7
Update version for dev
2012-01-28 17:39:47 -08:00
Mitchell Hashimoto
261dadb1c6
v0.9.4
2012-01-28 17:38:53 -08:00
Mitchell Hashimoto
912e4974db
Registry will now cache result values.
...
This is actually required so that we can do things like this
in plugins:
Vagrant.actions[:up].insert(Foo, Bar)
2012-01-28 17:31:50 -08:00
Mitchell Hashimoto
88ba3a3619
Change middleware internals to make plugin lives easier [GH-684]
2012-01-28 17:31:50 -08:00
Mitchell Hashimoto
e9ae63f3b5
Merge pull request #688 from schisamo/transient-shared-folder-support
...
add vbox driver support for creating transient shared folders
2012-01-28 16:50:27 -08:00
Mitchell Hashimoto
6d7a3d9b64
More accurate VBoxManage error detection.
2012-01-27 12:40:42 -08:00
Seth Chisamore
14c4dc5d53
add vbox driver support for creating transient shared folders
2012-01-27 11:53:42 -08:00
Mitchell Hashimoto
e1dbc7f9b1
Fix some puppet translation
2012-01-27 10:52:27 -08:00
Mitchell Hashimoto
5500058343
Call xpg4/bin/id on Solaris [GH-679]
2012-01-26 09:56:06 -08:00
Mitchell Hashimoto
20fa355502
Uncolorize puppet server output since it does it for us [GH-685]
2012-01-26 09:52:37 -08:00
Mitchell Hashimoto
8d6a33584f
Set the name as a separate step. [GH-669]
2012-01-25 21:16:21 -08:00
Mitchell Hashimoto
195a0d6999
Logging for host detection
2012-01-25 10:42:35 -08:00
Mitchell Hashimoto
f1dd5459f2
Properly detect Arch, Fedora, FreeBSD [GH-683]
2012-01-25 10:39:17 -08:00
Mitchell Hashimoto
0576d6e817
NFS shared folders can have the :create flag, too [GH-667]
2012-01-24 21:54:47 -08:00
Mitchell Hashimoto
e6ea1c6340
NFS shared folders can contain unexpanded guest paths
2012-01-24 21:40:35 -08:00
Mitchell Hashimoto
3cda2e48dc
Setting :auto_config to false will not configure a network. [GH-663]
2012-01-24 21:29:26 -08:00
Mitchell Hashimoto
ce2ea4ea93
Error message when kernel module is not loaded for VirtualBox [GH-677]
2012-01-24 19:30:55 -08:00
Mitchell Hashimoto
f48a2784a0
Regexp escape VM names when matching for them.
2012-01-24 17:03:55 -08:00
Mitchell Hashimoto
0dbd012d6b
Up version for dev
2012-01-24 00:19:04 -08:00
Mitchell Hashimoto
aeaf44db32
v0.9.3
2012-01-24 00:18:10 -08:00
Mitchell Hashimoto
3a5f0cefb3
Remove ANSI escape codes from SSH output
...
Note that the ANSI escape code removal is not complete,
but is fairly comprehensive in terms of the codes that
really muck with the terminal layout.
2012-01-23 19:29:07 -08:00
Mitchell Hashimoto
d1e78f791d
Remove test warnings, add ANSI escape code remover
2012-01-23 19:24:32 -08:00
Ryan Gibbons
2339f3c833
use printf instead of echo
...
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html#tag_20_37_16
2012-01-23 18:11:17 -08:00
Mitchell Hashimoto
17224e3df6
Merge pull request #675 from scoates/755499
...
ignore host-only interface if it is down
2012-01-23 17:57:17 -08:00
Mitchell Hashimoto
ae8b476639
Fix crashing issue with bridged networking [GH-673]
2012-01-23 10:05:03 -08:00
Sean Coates
755499dcf9
ignore interface if it is Ddown (not 100% sure about vbox4.0 support; please test)
2012-01-23 10:38:18 -05:00
Mitchell Hashimoto
f2eff93c38
Proper error handling of missing arguments to all box commands
2012-01-20 15:23:33 -08:00
Mitchell Hashimoto
9fce04c2cd
Test for the correct number of arguments to box add
2012-01-20 15:21:54 -08:00
Mitchell Hashimoto
4252fe94de
Up version for dev
2012-01-20 11:41:12 -08:00
Mitchell Hashimoto
3b4cf0b225
v0.9.2
2012-01-20 11:40:17 -08:00
Mitchell Hashimoto
ce365336cd
Unnecessary line of code
2012-01-20 11:36:12 -08:00
Mitchell Hashimoto
97235ee080
Clean up some impl [GH-666]
2012-01-20 11:25:39 -08:00
Jarmo Pertman
b9046a5594
enable colors on Windows when using ANSICON
2012-01-20 11:21:16 -08:00
Mitchell Hashimoto
4ead6e3f82
If there is only one bridgable interface, just use that [GH-655]
2012-01-19 21:11:42 -08:00
Mitchell Hashimoto
f022e9ee36
Fix issue where chef solo always expected "cookbooks" folder [GH-638]
2012-01-19 21:06:09 -08:00
Mitchell Hashimoto
d487e286f4
Don't merge config keys that start with __.
...
This allows config classes to store internal state somehow.
2012-01-19 20:54:09 -08:00
Mitchell Hashimoto
f87c25bac8
Provide defaults in a proper way for Chef config
2012-01-19 20:47:01 -08:00
Mitchell Hashimoto
28eddafa56
Better logging in linux guest impl
2012-01-19 20:17:10 -08:00
Mitchell Hashimoto
be97cec8b5
Allow shell expansions in shared folder guest paths again [GH-656]
2012-01-19 20:14:05 -08:00
Mitchell Hashimoto
ac48d270eb
Error if :vagrant is used as chef JSON key. [GH-661]
2012-01-19 19:48:57 -08:00
Mitchell Hashimoto
89fb684297
Add a deprecation error for `config.vm.system=` [GH-653]
2012-01-19 17:41:34 -08:00
Mitchell Hashimoto
9b4925d5de
Use ifdown instead of ifconfig down for Ubuntu/Debian
2012-01-19 17:36:29 -08:00
Mitchell Hashimoto
0d455fcf73
Get rid of nil dereference error when reading version [GH-658]
2012-01-19 17:34:06 -08:00
Mitchell Hashimoto
3f3476f323
Use symbol as a hash key for subprocess. Guarantees we always get a string back.
2012-01-19 17:24:22 -08:00
Mitchell Hashimoto
527b79853c
Log output now goes on stderr by stdout
2012-01-19 17:12:18 -08:00
Mitchell Hashimoto
e68eb1f4f3
More verbose logging for SSH
2012-01-19 17:02:18 -08:00
Mitchell Hashimoto
87b03609db
Filter clear screen character out of stderr as well
2012-01-19 15:14:11 -08:00
Ryan Gibbons
8aa1d58b33
filter the clear screen command over ssh connections
2012-01-19 16:03:59 -07:00
Mitchell Hashimoto
3db8db9cdc
Fix reference to a class that doesn't exist
2012-01-19 14:21:26 -08:00
Mitchell Hashimoto
c600d9237b
Properly merge forward_agent and other SSH configs [GH-651]
2012-01-18 18:48:07 -08:00
Mitchell Hashimoto
ce53263a11
Update version for development
2012-01-18 11:14:02 -08:00
Mitchell Hashimoto
231747cb7e
v0.9.1
2012-01-18 11:12:53 -08:00
Ryan Gibbons
a11e99cdae
Switch to using ifconfig <device> down instead of ifdown. ifdown will return non-zero status if device failed to get IP during dhcp.
2012-01-18 11:04:54 -08:00
Ryan Gibbons
cc94f1ee2c
making the same ifdown -> ifconfig change for debian
2012-01-18 11:02:35 -08:00
Mitchell Hashimoto
3ab8aaa1b0
Clarify invalid log level message [GH-645]
2012-01-18 09:40:51 -08:00
Frank Luithle
f3038a4033
Fix 'box help' subcommand for Ruby 1.8.7
...
This is related to Github issue #599 , with a similar fix.
2012-01-18 12:23:43 +01:00
Mitchell Hashimoto
8abada25b9
Fix poor variable reference in puppet server. Also colorize output
2012-01-17 21:16:52 -08:00
Mitchell Hashimoto
d675b7c83c
Replace `test?` call with proper `test` call
2012-01-17 14:43:32 -08:00
Mitchell Hashimoto
06733a070d
NFS action no longer needs to recover from anything
2012-01-17 13:37:52 -08:00
Mitchell Hashimoto
def09573c6
Up version for development
2012-01-17 13:37:36 -08:00
Mitchell Hashimoto
939a667979
v0.9.0
2012-01-17 11:32:18 -08:00
Mitchell Hashimoto
0cf619dec8
Update solaris networks API
2012-01-17 11:30:21 -08:00
Mitchell Hashimoto
f4ea1f800c
Update Arch guest to the new networks API
2012-01-17 11:25:40 -08:00
Mitchell Hashimoto
3a2546907e
Update Gentoo guest to new networks API
2012-01-17 11:17:12 -08:00
Brad Greenlee
0181b167f6
Do expand_path in FileUtils.cp, where it really matters.
2012-01-14 15:19:29 -08:00
Mitchell Hashimoto
f1d5fe27ab
Check for /etc/exports before pruning
2012-01-13 20:38:20 -08:00
Mitchell Hashimoto
8f5232c5cf
`vagrant package --base`
2012-01-13 17:55:01 -08:00
Mitchell Hashimoto
7f10c05b5b
Clean up export progress output
2012-01-13 17:46:39 -08:00
Mitchell Hashimoto
29b5414295
Improve hostname setting for Debian to be more correct [GH-574]
2012-01-13 17:08:03 -08:00
Mitchell Hashimoto
0ee501fb6b
More effective guest addition version check [GH-639]
2012-01-13 16:13:41 -08:00
Mitchell Hashimoto
1927f8ef79
No more `NFSHelpers`
2012-01-12 23:34:06 -08:00
Mitchell Hashimoto
3456bfd2fe
Warn user we're pruning exports
2012-01-12 23:33:17 -08:00
Mitchell Hashimoto
7fdbb68917
Prune NFS exports more cleanly.
2012-01-12 23:30:19 -08:00
Mitchell Hashimoto
829f64406e
Add `attempts` to chef provisioners. [GH-282]
2012-01-12 23:10:30 -08:00
Mitchell Hashimoto
22ff1bb047
Ubuntu will emit a `vagrant-mounted` event. [GH-576]
...
There will be a MOUNTPOINT variable available with this event that
will point to the shared folder that has been mounted.
2012-01-12 22:57:32 -08:00
Mitchell Hashimoto
cfd0e0c30f
Merge pull request #637 from zev/master
...
Fix chef_client variable name error for vm
2012-01-12 22:40:26 -08:00
Zev Blut
481a588bc8
Fix vm variable name to be env[:vm]
2012-01-13 15:38:35 +09:00
Mitchell Hashimoto
5630dc144d
Fix up NFS to use the new VirtualBox drivers
2012-01-12 22:19:23 -08:00
Mitchell Hashimoto
5c2bb9412d
A much cleaner way to find NFS folders to mount
2012-01-12 22:11:59 -08:00
Mitchell Hashimoto
de450f7e63
Always clean the NFS exports
2012-01-12 22:11:59 -08:00
Mitchell Hashimoto
7dc5f8ca80
Revert "Always clear NFS exports for the VM booting [GH-529]"
...
This reverts commit 70705d2861
.
2012-01-12 22:11:59 -08:00
Zev Blut
ed894ab3a3
Fix syntax error for exception message.
2012-01-13 12:56:17 +09:00
Mitchell Hashimoto
70705d2861
Always clear NFS exports for the VM booting [GH-529]
2012-01-12 18:15:53 -08:00
Mitchell Hashimoto
6d212efdbd
Fix ppk path by just... not using ppk anymore. [GH-634]
2012-01-12 18:03:35 -08:00
Mitchell Hashimoto
3834930189
Remove open-uri in http downloader [GH-635]
2012-01-12 17:53:56 -08:00
Mitchell Hashimoto
8cc162f48f
Options after `--` to `vagrant ssh` are passed through to ssh [GH-554]
2012-01-11 23:49:42 -08:00
Mitchell Hashimoto
1f02318a5e
Variable name conflict
2012-01-11 23:23:05 -08:00
Mitchell Hashimoto
a8fe342520
Arbitrary mount options can be passed to shared folders with `:extra` [GH-551]
2012-01-11 23:20:12 -08:00
Mitchell Hashimoto
14d61f61ba
The full options data is sent to mount_shared_folder
2012-01-11 23:14:04 -08:00
Mitchell Hashimoto
f0b77d2f30
Additional fixes + tests for shell expansion [GH-633]
2012-01-11 22:56:15 -08:00
Brad Greenlee
9a242ba718
Do shell expansion before doing the file test in Vagrant::Downloaders::File#prepare so that "~/file/paths" work.
2012-01-11 22:54:11 -08:00
Mitchell Hashimoto
06d4b6a4e5
Don't default config values to nil
2012-01-11 22:35:28 -08:00
Mitchell Hashimoto
5c70dd1658
Remove nil defaults
2012-01-11 22:34:36 -08:00
Mitchell Hashimoto
863ebe2d2f
Custom merging for VM config
2012-01-11 22:12:49 -08:00
Mitchell Hashimoto
b7279ec79d
Custom merging behavior for VM configuration
2012-01-11 21:35:09 -08:00
Mitchell Hashimoto
1e856f7c75
Remove unused configuration key
2012-01-11 21:30:59 -08:00
Mitchell Hashimoto
bfb52ba7dc
Top merges things in each key one by one by calling `merge`
2012-01-11 21:22:55 -08:00
Mitchell Hashimoto
d13dd482b5
Some Config::Top class tests
2012-01-11 21:09:52 -08:00
Mitchell Hashimoto
008132b3cb
Run each config proc only once
2012-01-11 20:59:21 -08:00
Mitchell Hashimoto
7c9c6e34ce
Change caching behavior of config procs for the config loader
2012-01-11 16:58:40 -08:00
Mitchell Hashimoto
43a9f0928a
Update CHANGELOG
2012-01-11 10:01:11 -08:00
Mitchell Hashimoto
fc7111734b
Clean up the Puppet provisioner a bit
2012-01-11 09:56:33 -08:00
Mitchell Hashimoto
73bff1b457
Fix up puppet provisioner a bit
2012-01-11 09:48:18 -08:00
Mitchell Hashimoto
eaf6ce7372
Verify shared folders for puppet
2012-01-11 09:29:30 -08:00
Mitchell Hashimoto
cb6020869f
Prompt for `reload` if shared folders aren't setup for Chef [GH-253]
2012-01-10 22:36:39 -08:00
Mitchell Hashimoto
bb2a473549
Added a `--provision-with` flag to specify provisioners to use. [GH-367]
2012-01-10 22:03:22 -08:00
Mitchell Hashimoto
18cdcb4330
Acceptance tests for chef solo, fixed a bug it found.
2012-01-10 21:08:43 -08:00
Mitchell Hashimoto
0c0d456db2
Add `--force` flag to `box add` [GH-631]
2012-01-10 20:37:33 -08:00
Mitchell Hashimoto
fe012e800f
Printing help due to invalid options should have error exit status
2012-01-10 20:30:18 -08:00
Mitchell Hashimoto
1aa73f7b70
Fix issue where "-c" was error checking...
2012-01-08 23:40:05 -08:00
Mitchell Hashimoto
ef37f692bd
Revert the check for duplicate Vagrantfiles.
...
This is just tricky with case sensitive/insensitive file systems.
Reverting since it doesn't seem worth it.
2012-01-08 23:15:18 -08:00
Mitchell Hashimoto
4f30a834d0
Tests for multivagrantfile being found
2012-01-08 23:04:23 -08:00
Mitchell Hashimoto
8aa4e58ea8
Check for conflicting DHCP servers
2012-01-08 20:33:12 -08:00
Mitchell Hashimoto
4e426249ed
Basic :dhcp configuration works.
2012-01-08 20:33:12 -08:00
Mitchell Hashimoto
8c00d1d652
Raise an error if multiple matching Vagrantfiles are found [GH-588]
2012-01-08 11:54:32 -08:00
Mitchell Hashimoto
89eb256f9d
Proper error handling if the shared folder cannot be created [GH-604]
2012-01-08 11:29:52 -08:00
Mitchell Hashimoto
9cb4597a27
:create flag on shared folders will create on host if it doesnt exist [GH-604]
2012-01-08 11:23:43 -08:00
Mitchell Hashimoto
ba5cd9b88a
Windows host
2012-01-08 11:14:01 -08:00
Mitchell Hashimoto
8d32002c02
Don't clear NFS exports on expected failure [GH-577]
2012-01-07 22:01:44 -08:00
Mitchell Hashimoto
27372ef313
Namespace ssh-config template
2012-01-07 21:56:14 -08:00
Mitchell Hashimoto
acbc0d4b28
Namespace provisioner templates
2012-01-07 21:55:08 -08:00
Mike Fiedler
fbf5237de2
missing require tempfile, and fixed a typo
2012-01-07 21:18:55 -08:00
Mitchell Hashimoto
d07f0f8dd2
Support VirtualBox 4.0
2012-01-07 21:16:40 -08:00
Mitchell Hashimoto
a94cf520c6
Log4r levels need to be defined before we can check for them
2012-01-07 21:16:40 -08:00
Mitchell Hashimoto
7954d4cba8
Driver forwarding to 4.1 works properly
2012-01-07 21:16:40 -08:00
Mitchell Hashimoto
5157cccaef
Delegate all API methods to the proper version driver
2012-01-07 21:16:40 -08:00
Mitchell Hashimoto
767ee2509e
VirtualBox base class for the driver.
2012-01-07 21:16:40 -08:00
Mitchell Hashimoto
cab625c06c
We should verify VirtualBox is detected before looking for the old VM
2012-01-07 21:16:28 -08:00
Mike Fiedler
e05bfb7efc
missing bracket closure fails rake tests
2012-01-07 21:16:28 -08:00
Mitchell Hashimoto
87b1a6660d
Handle invalid log levels more gracefully
2012-01-07 21:16:22 -08:00
Mitchell Hashimoto
a7bde74cf3
VirtualBox driver can handle Windows-style newlines
2012-01-07 21:16:09 -08:00
Mitchell Hashimoto
4b52c39733
More robust VBOX_INSTALL_PATH handling on Windows
2012-01-07 21:15:57 -08:00
Mitchell Hashimoto
75539c2abe
Default host class is the base class
2012-01-07 13:13:17 -08:00
Mitchell Hashimoto
d9f5cbce3e
Initialize the connection ivar for SSH
2012-01-07 11:57:46 -08:00
Mitchell Hashimoto
7fce25e858
Show `attempting graceful shutdown` message from action, not guest
2012-01-07 11:44:53 -08:00
Mitchell Hashimoto
0f580fd2c0
Re-use SSH connection
2012-01-07 11:38:27 -08:00
Mitchell Hashimoto
7d56dbb755
Uploaded files now use temporary files rather than StringIO
2012-01-06 21:42:25 -08:00
Mitchell Hashimoto
275ddae646
Convert everything to the new SSH API
2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
7bdbec4229
Start switching the old SSH API to the new one
2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
d094432238
No longer require `forwarded_port_key` setting, its gone
2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
faaa763d50
SSH connect is now SSH `exec`
2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
19c1340e40
Vagrant::SSH no longer handles actual communication with the VM
2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
8577935121
Syntaxerror
2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
3ffa533011
ssh-config now uses the new ssh_info method
2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
7ed9f8bd73
SSH communication should inherit from Base
2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
47a368fbfd
VM raises SSHPortNotDetected if ssh_info can't get the port
...
Also, I updated the wording on that error message a bit since it
turns out that it is possible through user error that there will
be no SSH port.
2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
acaabd5aa3
Remove forwarded_port_key/destination from config, replace with guest_port
2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
00a31ff27b
Communication abstraction. Started SSH.
2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
396beb9faf
Require tempfile in shell provisioner
2012-01-06 17:36:51 -08:00
Mitchell Hashimoto
67aa4c3819
Get rid of unavailable API
2012-01-05 23:12:28 -08:00
Mitchell Hashimoto
586f506eff
Fix a terrible typo that causes vagrant ssh to fail
2012-01-05 23:08:20 -08:00
Mitchell Hashimoto
d0c85afd47
IdentityFile works again in ssh-config [GH-626]
2012-01-05 23:01:35 -08:00
Mitchell Hashimoto
79e8a6ef0a
Port forwarding definitions with the same guest port will override earlier
2012-01-05 22:58:38 -08:00
Mitchell Hashimoto
e85095d1bf
Subprocess uses readpartial on IO for Windows [GH-610]
...
Windows doesn't support read_nonblock.
2012-01-05 23:48:30 -08:00
Mitchell Hashimoto
467542ef8d
Use VBOX_INSTALL_PATH on Windows to find VBoxManage [GH-609]
2012-01-05 23:12:17 -08:00
Mitchell Hashimoto
323663c4fb
Handle MacPorts strange VirtualBox version formatting [GH-619]
2012-01-04 21:46:46 -08:00
Mitchell Hashimoto
fc3bb6ca92
Code style for RedHat network configurations
2012-01-04 21:43:14 -08:00
Mike Fiedler
a04fce880c
Changes to enable rhel/centos-style bridged & hostonly networking
2012-01-04 21:39:36 -08:00
Mitchell Hashimoto
026a551496
`vagrant ssh -p` is now plain mode
2012-01-04 21:28:30 -08:00
Mitchell Hashimoto
a6c3551064
Merge pull request #621 from bitprophet/clean-ssh-option
...
Allow 'vagrant ssh' to strip most non-port options.
2012-01-04 21:20:12 -08:00
Mitchell Hashimoto
ef1037ff7c
Cleanup puppet provisioner even more
2012-01-04 19:26:25 -08:00
Mitchell Hashimoto
36a59a89fc
Merge pull request #620 from LeftyBC/master
...
Fixup for variable scoping in the puppet provisioner
2012-01-04 19:10:35 -08:00
Elliot Pahl
9c89ed9c06
Fix vm state check in ssh-config.
2012-01-04 19:08:19 -08:00
Colin Moller
0466d76bd8
Merge remote branch 'mitchellh/master'
2012-01-04 16:50:22 -08:00
Mitchell Hashimoto
09e11ae792
Fix forwarded port map which still references "name"
2012-01-04 16:47:03 -08:00
Colin Moller
b572b7dbd6
Merge remote branch 'mitchellh/master'
2012-01-04 16:21:12 -08:00
Mitchell Hashimoto
175d95fcf1
Fix regex syntax for 1.8
2012-01-04 16:18:11 -08:00
Jeff Forcier
e646df5655
Tweak a variable name & help string
2012-01-04 12:47:53 -08:00
Jeff Forcier
72b609f0a6
Allow 'vagrant ssh' to strip most non-port options.
...
Adds a -p flag to 'vagrant ssh' which strips out username, private key
args, allowing the local user's ssh settings to take full effect.
2012-01-04 12:37:23 -08:00
Colin Moller
0f5f607767
Fix scoping for env and config.vm variables in the puppet provisioner.
2012-01-04 12:28:18 -08:00
Mitchell Hashimoto
a1b66f82aa
Consistently generate names for forwarded ports.
...
To do this, I convert the ports to base 32 strings in the format
of "guestport-hostport." This makes a consistent mapping we can use
to look up if the forwarded port is set.
2012-01-03 10:34:35 -08:00
Mitchell Hashimoto
b45286f780
Don't bother enabling/configuring network adapters if there are none
2012-01-03 10:24:31 -08:00
Mitchell Hashimoto
2d1ed88bcd
Forwarded ports no longer require a name paramter
2012-01-03 10:22:42 -08:00
Mitchell Hashimoto
aac9bb5ec5
Make adapter 1-based for forwarded ports as well
2012-01-03 10:11:07 -08:00
Mitchell Hashimoto
7982f01f2e
Check for adapter collisions
2012-01-03 09:34:32 -08:00
Mitchell Hashimoto
20edb5d05a
Error if no available network adapters are found
2012-01-03 08:01:26 -08:00
Mitchell Hashimoto
09945fe4f9
Better documentation and error messages for unsupported guest features
2012-01-03 07:50:01 -08:00
Mitchell Hashimoto
99d3565132
Delete old networking actions
2012-01-02 19:53:29 -08:00
Mitchell Hashimoto
97f7fa633d
Re-implement how networking is done internally
2012-01-02 19:51:38 -08:00
Mitchell Hashimoto
76a77432b8
Clear all network adapters during the boot process
2012-01-01 22:02:30 -08:00
Mitchell Hashimoto
22d042cb94
Vagrant now asks what adapter to bridge to
2012-01-01 00:05:47 -08:00
Mitchell Hashimoto
567c09df21
Allow a MAC address to be specified for bridges
2011-12-31 19:13:51 -08:00
Mitchell Hashimoto
c48a31d6bd
Fix template paths for other guests
2011-12-31 19:08:56 -08:00
Mitchell Hashimoto
474ac3a63d
Enabling bridged networks on Debian
2011-12-31 11:53:04 -08:00
Mitchell Hashimoto
42883cbd20
Bridged networking basics.
2011-12-31 11:35:09 -08:00
Mitchell Hashimoto
8f3a7ce22d
Rename Network action to HostOnlyNetwork
2011-12-31 01:04:06 -08:00
Mitchell Hashimoto
f7125b1dd7
Default host only adapters to #1 again
2011-12-31 00:55:37 -08:00
Mitchell Hashimoto
77b915f06a
Logging, and prepare code to automatically find next available adapter
2011-12-31 00:34:08 -08:00
Mitchell Hashimoto
b36e3c447e
Add a deprecation error for the old style of configuring host only networks
2011-12-30 23:39:16 -08:00
Mitchell Hashimoto
b5b3805157
Add validation once again for host only networks
2011-12-31 10:55:37 +09:00
Mitchell Hashimoto
c64f5e8d05
Refactor the Network action a bit
2011-12-31 05:03:17 +09:00
Mitchell Hashimoto
3f0bd6def4
Fix regex warning for Ruby 1.8.7
2011-12-31 04:22:44 +09:00
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
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
Jeff Rafter
64ae5bcdf9
Rework indexes on chef solo provisioner to fix roles, data_bags [closes GH-425]
2011-07-22 23:02:16 -07:00
Mitchell Hashimoto
6300bebe72
Disable SSH caching for now
2011-07-21 14:55:03 -07:00
Mitchell Hashimoto
fddc058e43
Reconnect SSH if the session closes
2011-07-21 10:53:58 -07:00
Mitchell Hashimoto
0b34364881
Up version for development
2011-07-20 18:41:59 -07:00
Mitchell Hashimoto
ce553707d0
v0.8.1 - Fix Psych issue
2011-07-20 18:28:37 -07:00
Mitchell Hashimoto
8368d9c6d1
Up version for development
2011-07-20 17:53:20 -07:00
Mitchell Hashimoto
530c4f29e0
v0.8.0
2011-07-20 17:52:14 -07:00
Mitchell Hashimoto
667405c4d7
Require VirtualBox 4.1.x
2011-07-19 14:32:27 -07:00
Mitchell Hashimoto
92f4ab63da
Network: Use new 4.1.x attribute host_only_interface
2011-07-19 14:24:26 -07:00
Mitchell Hashimoto
b3f0242dc0
Nitpick loading of configuration
2011-07-15 18:46:04 -07:00
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
Mitchell Hashimoto
27ff6bd1df
Superficial change for linux system
2011-07-05 23:57:56 -07:00
Mitchell Hashimoto
8733a745ce
Can now specify owner/group of shared folders. [closes GH-350]
2011-07-05 23:53:23 -07:00
Mitchell Hashimoto
179845a36e
Host only network works properly on multiple adapters [closes GH-365]
2011-07-05 23:35:15 -07:00
Mitchell Hashimoto
b4c9ec60de
Ability to provide inline script for shell provisioner [closes GH-395]
2011-07-05 23:16:22 -07:00
Mitchell Hashimoto
dcaca22810
Show nice error message for bad HTTP downloads [closes GH-403]
2011-07-05 22:48:02 -07:00
Dan Bode
ad834feccc
(368) Added local network config code for Suse.
...
Networking in SUSE works almost exactly like redhat.
The only difference is the location of the networking scripts.
This has been verified as working on SLES11sp1, but requires a previously configured
eth1 interface (as with redhat)
I have also verified that I can still bring up a localnet on rhel 4,5
2011-07-03 17:35:59 -07:00
Mitchell Hashimoto
8bb2403ce0
Add error message specifically for chef_server change
2011-07-03 17:29:05 -07:00
Mitchell Hashimoto
c27d857387
Rename :chef_server to :chef_client. [GH-359]
2011-07-03 17:20:06 -07:00
Mitchell Hashimoto
d493a51ca2
v0.8.0.dev
2011-07-03 17:07:59 -07:00
Mitchell Hashimoto
578c384bf5
v0.7.6
2011-07-02 22:07:22 -07:00
Alan Shields
33538d2900
Set the home directory to /root when using sudo
...
Encountered this issue while using puppet. Created configuration file /root/.my.cnf
but mysql was looking for /home/vagrant/.my.cnf
Passing -H to sudo causes sudo to set env HOME=/root/
2011-07-02 21:43:53 -07:00
Jamie Winsor
7c89ef3de2
Add support for Chef encrypted data bags: http://wiki.opscode.com/display/chef/Encrypted+Data+Bags
...
Add two configuration options to chef_server provision:
encrypted_data_bag_secret_key_path - the location of your encrypted secret key on your local machine
encrypted_data_bag_secret - the location you wish to place the key on the target machine and the value of Chef::Config[:encrypted_data_bag_secret]. Default value of "/etc/chef/encrypted_data_bag".
2011-07-02 21:20:22 -07:00
Mitchell Hashimoto
096c8b284f
Do not load a plugin if it depends on invalid version of Vagrant
2011-07-02 09:27:28 -07:00
Mitchell Hashimoto
46c8bd09d3
Load prerelease plugins if available
2011-07-02 09:23:43 -07:00
Mitchell Hashimoto
338b3ac094
Run Chef commands in a single command [GH-390]
2011-06-16 18:04:55 -06:00
Ryan Schlesinger
a061428e50
Adding nfs option for chef solo.
2011-06-13 14:21:00 -07:00
Maksim Horbul
23bb514100
provide absolute paths for solo.rb and dna.js in order to make it work correctly with the restart cookbook https://github.com/dreamcat4/site-cookbooks/tree/COOK-245/restart/
2011-06-13 14:08:21 -07:00
Mitchell Hashimoto
f79084b1db
Touch RedHat network config to force it to exist [GH-381]
2011-06-09 23:20:17 -04:00
Mitchell Hashimoto
3582a8f2aa
Up version for development
2011-05-16 13:03:04 -07:00
Mitchell Hashimoto
79b62a8ee7
v0.7.5
2011-05-16 13:02:17 -07:00
Mitchell Hashimoto
c117dba4ab
Refactor and tests for GH-342 (chef enhancements)
2011-05-16 12:49:05 -07:00
Ryan Schlesinger
ab2fff4b5b
Adding extra runtime config options for chef.
...
Adding chef.binary_path and chef.binary_env to the config options for controlling where to find chef-solo/chef-client and how to run them.
2011-05-16 12:41:08 -07:00
Mitchell Hashimoto
f30ef2b8a9
Merge https://github.com/rcreasey/vagrant
2011-05-16 12:37:21 -07:00
Mitchell Hashimoto
f96a6363e2
No more RubyGems deprecation messages!
2011-05-16 12:32:33 -07:00
tH34UT0m4t0R
e72753874d
add port option to ssh config
2011-05-13 17:23:24 -07:00
Ryan C. Creasey
41404d9685
added data_bags_path to ChefSolo Provisioners; updated templates to accomodate.
2011-05-12 08:07:55 -07:00
Mitchell Hashimoto
6630dfe2d7
Up version for development
2011-05-12 00:19:22 -07:00
Mitchell Hashimoto
0360198971
v0.7.4
2011-05-12 00:18:40 -07:00
Tony La
593e2e628f
Ruby 1.8.6 Hash#select returns an array of results
...
Which results in a "odd number of arguments for Hash" error.
2011-05-11 23:58:12 -07:00
Will St. Clair
efd7c790e6
Suppress the "added to known hosts file" warning
...
Vagrant already disables StrictHostKeyChecking and redirects UserKnownHostsFile to /dev/null, so we may as well suppress the meaningless warning also.
2011-05-11 23:37:46 -07:00
Pat Collins
1134c0b7d6
Don't provide a default for the environment. That way currently the environment that is currently set for a node on the server is not mistakenly overridden with "_default".
2011-05-11 23:31:40 -07:00
Pat Collins
5f751d5a77
Provide a method to specify a Chef environment in a Vagrantfile.
2011-05-11 23:31:36 -07:00
Mitchell Hashimoto
e7e9dc5c4d
Up version for dev
2011-04-19 22:45:43 -07:00
Mitchell Hashimoto
b6fccbc1b7
v0.7.3
2011-04-19 22:44:44 -07:00
Mitchell Hashimoto
6d669d70de
Retry all SSH commands on Net::SSH::Disconnect
2011-04-19 22:25:56 -07:00
Mitchell Hashimoto
234c47a3a7
Retryable can take multiple exceptions to retry on
2011-04-19 22:24:52 -07:00
Mitchell Hashimoto
0953c41446
Some stylistic changes regarding arch commit
2011-04-19 22:04:55 -07:00
Tim Joseph Dumol
2c091c98cc
Added Arch Linux as under vagrant/hosts
...
Added NFS support for Arch Linux under vagrant/hosts by adding
vagrant/hosts/arch and a platform test for Arch Linux.
2011-04-19 22:03:21 -07:00
Mitchell Hashimoto
2cfa79ac6d
Setting hostname on Debian (not Ubuntu) should now work [closes GH-307]
2011-02-28 23:38:30 -08:00
Dimitri Aivaliotis
6f9387adc6
added :file_cache_path and :file_backup_path as configurable parameters
...
removed deprecated :file_store_path parameter
2011-02-25 19:33:01 -08:00
Jason Yan
b1bc49c0f3
Fix issue with port forwarding not respecting protocol option.
2011-02-25 19:30:27 -08:00
Mitchell Hashimoto
77a1b9a6ef
Fix issue with unknown terminal type output for sudo commands
2011-02-16 16:23:08 -08:00
Mitchell Hashimoto
e6f2406694
Up version for development
2011-02-08 23:12:03 -08:00
Mitchell Hashimoto
cebb01c9d6
v0.7.2
2011-02-08 23:11:25 -08:00
Mitchell Hashimoto
3c45df0a88
Can now configure what shell to sudo with (default: bash)
2011-02-08 23:06:05 -08:00
Mitchell Hashimoto
c1373f4eca
Failed SSH commands show output in error message. [closes GH-285]
2011-02-08 22:47:36 -08:00
Mitchell Hashimoto
41e98c97d6
Fix issue with "mount_nfs_fail" translation missing
2011-02-08 22:29:32 -08:00
Mitchell Hashimoto
34a3102325
Make code a bit more readable
2011-02-08 22:27:16 -08:00
Mitchell Hashimoto
a0dacb0fc2
NFS folders with spaces should now work [GH-293]
2011-02-08 21:14:20 -08:00
Mitchell Hashimoto
22f085dc5d
Tests for mac address setting on host only network
2011-02-08 19:42:32 -08:00
Vishvananda Ishaya
e2d5c12870
support macs in xx:xx:xx:xx:xx:xx format as well
2011-02-08 19:27:24 -08:00
Vishvananda Ishaya
6416bf8ef6
it is mac_address not mac
2011-02-08 19:27:18 -08:00
Vishvananda Ishaya
5c1e2cdd07
missed a >
2011-02-08 19:26:49 -08:00
Vishvananda Ishaya
211f9d46af
allow specification of mac in network command
2011-02-08 19:26:45 -08:00