1768 Commits

Author SHA1 Message Date
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
5b87165e97 Multistep tests pass again. 2011-12-05 21:08:31 -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
60db1c8394 Add rake task to run new unit tests 2011-12-05 18:35:59 -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
e154ae7c6d Update TODO 2011-12-03 19:06:38 -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
0b38802329 Update CHANGELOG for logging 2011-12-03 17:18:42 -08:00
Mitchell Hashimoto
fe65dd0dd5 Remove VAGRANT_DEBUG.
VAGRANT_LOG handles it all now.
2011-12-03 17:16:49 -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
271d1a92f0 Allow enabling of logging with VAGRANT_LOG 2011-12-03 16:11:31 -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
4d71b7bba3 Update test task to work again 2011-12-03 15:44:57 -08:00
Mitchell Hashimoto
fe442faefa Move unit tests into the unit_legacy folder 2011-12-03 15:44:08 -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
52f3f8aa67 Get rid of env.logger in bin/vagrant 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 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
923f8e1622 Update CHANGELOG 2011-11-30 12:46:56 -08:00