Mitchell Hashimoto
8a56d0ae5e
core: be sure to close tempfile handle so Windows can delete it
2014-01-15 11:24:03 -08:00
Mitchell Hashimoto
aabe5124c4
core: don't test fork(1) on Windows
2014-01-15 11:12:13 -08:00
Mitchell Hashimoto
0fcce91d69
core: fix more cases where ".path" was being called on strings
2014-01-15 11:10:38 -08:00
Mitchell Hashimoto
008dd8e6e7
core: fix tests failing on WIndows dueo to bad temp dir gen
2014-01-15 11:09:00 -08:00
Mitchell Hashimoto
e85e355ddb
core: fix Windows failures on machine tests
2014-01-15 11:01:38 -08:00
Mitchell Hashimoto
b386e1dbbd
test: allow skipping certain tests on Windows
2014-01-15 10:54:50 -08:00
Mitchell Hashimoto
37e9553bf5
core: don't use Tempdir for tests, use Dir.mktmpdir
...
Tempdir didn't work on Windows, just spun forever.
2014-01-15 10:48:19 -08:00
Mitchell Hashimoto
2ca498a5dd
provisioners/docker: build images using new DSL
2014-01-14 09:22:55 -08:00
Mitchell Hashimoto
31b239fba2
provisioners/docker: unit tests for config
...
/cc @fgrehm - I'm starting to unit test more and more of the plugins.
Just showing you an example because it is quite easy. :)
2014-01-14 08:27:34 -08:00
Mitchell Hashimoto
8d771de9ba
Merge pull request #2820 from mitchellh/f-rsync-listen
...
`rsync-auto` command
2014-01-14 07:38:38 -08:00
Mitchell Hashimoto
04f1854840
synced_folders/rsync: unit tests for the callback, fix bug
2014-01-13 22:01:09 -08:00
Mitchell Hashimoto
9cf0387e00
core: interrupt in Cli exits with 1
2014-01-13 21:42:40 -08:00
Mitchell Hashimoto
ae9b74464d
core: MixinSyncedFolders#synced_folders does scoped hash override
2014-01-13 11:39:11 -08:00
Mitchell Hashimoto
b4b62daf5c
synced_folders/rsync: expand host paths relative to root path
2014-01-13 11:34:49 -08:00
Mitchell Hashimoto
309d12a16b
synced_folders/rsync: `vagrant rsync` syncs the folders
2014-01-13 11:25:29 -08:00
Mitchell Hashimoto
59218ded68
synced_folders/rsync: move rsync logic out to helper
2014-01-13 11:01:50 -08:00
Mitchell Hashimoto
8bc36824bf
commands/list-commands: lists all commands primary and non-primary
2014-01-11 09:32:13 -08:00
Mitchell Hashimoto
08b1aee00d
core: default commands to primary
2014-01-11 09:15:14 -08:00
Mitchell Hashimoto
f05388349c
core: non-primary commands aren't shown in basic `vagrant -h`
2014-01-11 09:07:38 -08:00
Mitchell Hashimoto
13e9f8037a
test: get all the tests passing with new CLI changes
2014-01-11 08:59:13 -08:00
Mitchell Hashimoto
ad99b4f250
core: CLI understands new plugin definition format
2014-01-11 08:53:25 -08:00
Mitchell Hashimoto
4a99cdccdf
core: allow command plugins to have options
2014-01-11 08:38:27 -08:00
Mitchell Hashimoto
7b2a0716f1
synced_folders/rsync: warn if password auth
2014-01-10 20:37:11 -08:00
Mitchell Hashimoto
60f3d224c9
synced_folders/rsync: can exclude files
2014-01-10 18:01:38 -08:00
Mitchell Hashimoto
2e3fcf576c
synced_folders/rsync: allow guests to execute things before
2014-01-10 17:51:44 -08:00
Mitchell Hashimoto
38fbbb6c56
synced_folders/rsync: Initial commit working
2014-01-10 17:40:29 -08:00
Mitchell Hashimoto
213000fd3d
core: update Registry tests to make sure #keys doesn't load
2014-01-10 16:20:33 -08:00
Mitchell Hashimoto
fbcc08b3ee
Merge pull request #2637 from johnbellone/patch-1
...
core: Update Registry with #keys method.
2014-01-10 16:19:53 -08:00
Mitchell Hashimoto
365bef0e61
core: use dummy provider in tests so VirtualBox isn't required
2014-01-10 15:48:42 -08:00
Mitchell Hashimoto
9a58caaf9c
synced_folders/nfs: always prune [GH-2738]
2014-01-10 15:41:57 -08:00
Mitchell Hashimoto
a48ef2ec97
core: more user-friendly errors for caps on guests
2014-01-09 10:24:25 -08:00
Mitchell Hashimoto
ba5400b89b
core: raise user-friendly errors if capabilities exception in Guest
2014-01-09 10:13:33 -08:00
Mitchell Hashimoto
9fe702a000
core: tests for Guest#name
2014-01-09 09:09:40 -08:00
Mitchell Hashimoto
68a355931c
core: test that forking is allowed in a BatchAction
2014-01-08 21:43:46 -08:00
Mitchell Hashimoto
5e835f4201
Merge pull request #2792 from smoyer/redhat_hostname_patch
...
guests/redhat: use FQDN for hostname
2014-01-08 20:58:59 -08:00
Mitchell Hashimoto
7631a38601
core: refactor error initialization logic
...
/cc @tmatilai - This includes a test case for the symbol stuff, should
be okay now.
2014-01-08 19:53:43 -08:00
smoyer
3964298504
This was introduced in 1.4.1 with d26c147
.
...
This PR sets the active hostname back to the name specified in the Vagrantfile (fqdn) and updates the unit tests.
Setting it to the short name causes loads of problems while configuring the system. I've had issues with sudoers hostname matching, Weblogic certificate generation and a few others. Even if I changed all of the Chef recipes, the fqdn is set in /etc/sysconfig/network so the active hostname will switch to the fqdn after a reboot.
2014-01-08 17:49:54 -05:00
Mitchell Hashimoto
010874ffad
core: has_plugin? uses the new plugin manager class to check for gems
2014-01-08 10:50:28 -08:00
Mitchell Hashimoto
09a425030b
core: pass environment into all host caps
2014-01-07 20:34:33 -08:00
Mitchell Hashimoto
5e490e3746
Get tests to pass
2014-01-07 19:26:03 -08:00
Mitchell Hashimoto
93e365bb33
core: Vagrant::Environment uses new host settings
2014-01-07 19:11:08 -08:00
Mitchell Hashimoto
5922241fcb
core: Modify plugin interfaces and API for hosts
2014-01-07 18:38:49 -08:00
Mitchell Hashimoto
04a5e6bcd2
core: Remove Vagrant::Hosts and add Vagrant::Host, a CapabilityHost
2014-01-07 18:34:19 -08:00
Mitchell Hashimoto
c1d56da1ca
core: get tests passing for changes
2014-01-07 16:29:05 -08:00
Mitchell Hashimoto
40babfc3f7
core: modify Guest to use new CapabilityHost mixin
2014-01-07 16:27:12 -08:00
Mitchell Hashimoto
1f760b2c48
core: pass extra args to detect? when detecting capability host
2014-01-07 16:26:58 -08:00
Mitchell Hashimoto
b15cb22e3e
core: errors expose their extra data
2014-01-07 16:15:32 -08:00
Mitchell Hashimoto
1f6095f912
core: Vagrant::CapabilityHost is a module for adding capabilities to
...
things
2014-01-07 16:12:12 -08:00
Mitchell Hashimoto
3f4058471c
core: installing a plugin from a gem doesn't constrain it
2014-01-07 13:56:51 -08:00
Mitchell Hashimoto
b353865da1
core: specific versions "0.1.0" don't equate to "= 0.1.0"
2014-01-07 10:13:30 -08:00