49 Commits

Author SHA1 Message Date
Mitchell Hashimoto
8d24f779f0 Provisioner config object should have access to the top config 2011-01-13 16:54:34 -08:00
Mitchell Hashimoto
25ea67a9f7 Get rid of Ruby 1.8.7 warning in tests 2011-01-08 21:22:16 -08:00
Mitchell Hashimoto
a5d8193982 Allow multiple Vagrant::Config.run in a single Vagrantfile again 2011-01-06 19:05:31 -08:00
Mitchell Hashimoto
b8c84b67b7 Vagrantfiles are loaded only once, instead of 4+ times [closes GH-238] 2011-01-06 19:00:29 -08:00
Mitchell Hashimoto
e258395346 Rewrite of Vagrant::Config, on the path to fix bug with multiple loading Vagrantfiles 2011-01-06 18:35:58 -08:00
Mitchell Hashimoto
6337cefb8b Disable Vagrantfile validation completely on load. see coming commits... 2010-10-12 21:08:33 -07:00
Mitchell Hashimoto
f90016bb6f Only validate on the second-pass of loading configuration 2010-10-08 10:52:34 -07:00
Mitchell Hashimoto
ba9cb19808 Configuration only validates on final Vagrantfile proc, allowing multi-VM to work correctly 2010-10-08 09:44:17 -07:00
Mitchell Hashimoto
588ead6e45 Top config class is now available in all Vagrant::Config::Base subclasses. Useful for validation. 2010-09-30 00:50:50 -07:00
Mitchell Hashimoto
1199c89a4a Fix issues with Ruby 1.8.7 where Vagrant wouldn't even run 2010-09-27 12:10:17 -07:00
Mitchell Hashimoto
86465a36c0 Change method by which configuration classes register themselves to be cleaner 2010-09-11 09:02:55 -07:00
Mitchell Hashimoto
8164644615 Converted most "mock_environment" tests to "vagrant_env" which uses real filesystem 2010-09-07 11:41:52 -07:00
Mitchell Hashimoto
23c08f2daa Configuration validation for the most common problems added 2010-09-05 11:26:38 -07:00
Mitchell Hashimoto
9cc64fcb34 Configuration classes can now be validated. Nice error message shown in case of failure. 2010-09-05 11:02:48 -07:00
Mitchell Hashimoto
ad5ecf1c7f Remove unused code in Config 2010-09-05 10:18:05 -07:00
Mitchell Hashimoto
f85579a4de Give a nice error message if there is a syntax error in Vagrantfile [closes GH-154] 2010-09-03 14:23:47 -07:00
Mitchell Hashimoto
b8a4188fa3 Config class is now responsible for loading configuration. Cleans up environment. 2010-09-03 11:16:38 -07:00
Mitchell Hashimoto
d2d2404961 Split config classes out into multiple files for better organization 2010-09-01 20:37:11 -07:00
Mitchell Hashimoto
aaac5fbf1e Get rid of all Ruby warnings in Vagrant 2010-08-25 23:21:23 -07:00
Mitchell Hashimoto
8e82fb2691 Fix tests so they run on Ruby 1.9.2 2010-07-19 20:32:07 -07:00
Mitchell Hashimoto
aee49a61ab Add Config::Top#deep_clone method to deep clone Vagrant configuration. 2010-07-17 00:02:13 -07:00
Mitchell Hashimoto
b0879dea6a Rethinking Unison foundation. Tearing things out. 2010-06-19 11:34:37 -07:00
John Bender
eec0986bc7 switched directory syncing over to unison 2010-06-05 00:39:25 -07:00
Mitchell Hashimoto
7a093340bf VM definition blocks are now stackable. [closes GH-94] 2010-06-03 19:20:15 -07:00
Mitchell Hashimoto
687b925d2e Concept of a 'primary' VM in a multi-VM environment added. This VM will be the default for actions in a multi-VM environment. 2010-05-27 22:54:11 -07:00
John Bender
ce6d95c131 rsync mostly complete, few tests left 2010-05-18 23:50:04 -07:00
John Bender
7ac7af15d3 rsync for shared folders added 2010-05-18 23:45:07 -07:00
Mitchell Hashimoto
124a9ab19d Environment properly loads VMs 2010-05-08 15:34:43 -07:00
Mitchell Hashimoto
af383e222a Get rid of more references to Vagrant.config. Only one remains. 2010-05-07 22:57:25 -07:00
Mitchell Hashimoto
7419563b80 Added config.vm.define which will be used for multi-VMs 2010-05-07 21:19:11 -07:00
Mitchell Hashimoto
aa52d977a8 Wrapping tests in meaningful context 2010-04-11 23:42:11 -07:00
Mitchell Hashimoto
945710e068 Config JSON doesn't include 'env' 2010-04-11 23:39:22 -07:00
Mitchell Hashimoto
5db99c04d4 Removing references to Vagrant::Env 2010-03-19 21:15:45 -07:00
Mitchell Hashimoto
e84b17e215 Config#execute! returns the newly loaded configuration 2010-03-18 12:28:58 -07:00
Mitchell Hashimoto
a7652244d5 Move stacked proc runner to the util directory 2010-03-18 12:08:33 -07:00
Mitchell Hashimoto
dcbfe709f3 VM customization through Vagrantfile (modifying RAM, name, etc.) 2010-03-15 15:41:53 -07:00
Mitchell Hashimoto
83ddfa6695 Shared folder UID/GID now defaults to the SSH username 2010-03-15 15:13:07 -07:00
Mitchell Hashimoto
0062207ab3 Configuration now uses the new StackedProcRunner module 2010-03-15 14:27:34 -07:00
Mitchell Hashimoto
39a8a5fd94 Vagrant.config.home now returns nil if home is nil, otherwise expands path 2010-03-13 01:53:12 -08:00
John Bender
e35e2fbb04 expand path fix 2010-03-12 01:34:36 -08:00
John Bender
00eecf5bdd moved to key based ssh 2010-03-12 01:19:45 -08:00
Mitchell Hashimoto
d81e5dc28d Remove all "chef" configuration and moved chef solo provisioning to its own class 2010-03-10 14:27:02 -08:00
Mitchell Hashimoto
6cfddb6c38 Tests to verify that the instance method exists for configs 2010-03-10 12:29:51 -08:00
Mitchell Hashimoto
19d00a8802 Config class now allows classes to dynamically register configuration keys. 2010-03-10 12:25:53 -08:00
Mitchell Hashimoto
3daf48b70c Config class now properly uses class variables. Not sure how this one slipped through the cracks. 2010-03-10 01:07:24 -08:00
Mitchell Hashimoto
66bc5a19e2 Revamped provisioning JSON generation which includes the entire configuration tree. Plus better testing all around for JSON generation + configuration. 2010-03-04 22:14:44 -08:00
Mitchell Hashimoto
3b198e208d Config clearing. 2010-02-23 21:39:56 -08:00
Mitchell Hashimoto
03079d9fa6 Get rid of "VAGRANT_ENV" since that was just a hack. Log output location configurable now. 2010-02-10 13:59:25 -08:00
Mitchell Hashimoto
c1998d2127 And then God said unto thee, "You shall be named Vagrant." 2010-02-09 23:08:23 -08:00