Mitchell Hashimoto
|
52a32820db
|
Change the way the config is loaded to be all in one step
|
2010-09-05 01:13:35 -07:00 |
Mitchell Hashimoto
|
ce9ff73ea4
|
Show proper syntax error for Vagrantfiles [closes GH-155]
|
2010-09-04 14:33:53 -07:00 |
Mitchell Hashimoto
|
53aaa4f264
|
Environment is lazy loaded for `vagrant` binary.
|
2010-09-04 11:10:20 -07:00 |
Mitchell Hashimoto
|
f24094bba8
|
Converted more tests to new vagrant env helpers and removed unused code in ResourceLogger
|
2010-09-04 10:47:22 -07:00 |
Mitchell Hashimoto
|
260f1dcec4
|
Refined some tests to use real Vagrantfiles instead of mocks
|
2010-09-03 19:25:48 -07:00 |
Mitchell Hashimoto
|
3470d98fca
|
Load the root path on demand.
|
2010-09-03 14:59:16 -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
|
9590928553
|
If the data store is empty, delete the backing file
|
2010-09-03 12:05:29 -07:00 |
Mitchell Hashimoto
|
e4cb2749a1
|
Clean nil and 'empty?' values in a data store prior to commiting
|
2010-09-03 12:02:44 -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
|
57506c8c00
|
Default cwd to pwd for environment
|
2010-09-03 09:42:05 -07:00 |
Mitchell Hashimoto
|
0a8540996c
|
Action environment uses new indifferent hash util
|
2010-09-03 09:39:30 -07:00 |
Mitchell Hashimoto
|
3c3c9aedc9
|
Data store is a hash with indifferent access
|
2010-09-03 09:35:07 -07:00 |
Mitchell Hashimoto
|
59e1e43c74
|
Autoload the util classes. HashWithIndifferentAccess for data store
|
2010-09-03 09:33:15 -07:00 |
Mitchell Hashimoto
|
0f70812142
|
Load the host on demand in the environment
|
2010-09-03 00:48:38 -07:00 |
Mitchell Hashimoto
|
01df63ef6e
|
Lazy load the environment "actions." Removes one more load from the environment load chain
|
2010-09-03 00:35:18 -07:00 |
Mitchell Hashimoto
|
f72979df79
|
Added global data hash to environment. "system"-wide data bag for vagrant
|
2010-09-03 00:21:57 -07:00 |
Mitchell Hashimoto
|
d65194d66e
|
Only initialize a logger on the parent environment
|
2010-09-02 21:24:59 -07:00 |
Mitchell Hashimoto
|
32aa5ef4d1
|
Update changelog for backwards incompat change.
|
2010-09-02 21:20:47 -07:00 |
Mitchell Hashimoto
|
a84ea6a5b8
|
Load data store keys as symbols, not strings.
|
2010-09-02 21:19:44 -07:00 |
Mitchell Hashimoto
|
52e3c4d3b3
|
Persisting a VM uuid is now implicitly done by Vagrant::VM
|
2010-09-02 21:12:11 -07:00 |
Mitchell Hashimoto
|
d5f351786c
|
Fix "provisioning enabled with" message to have proper string
|
2010-09-02 13:48:41 -07:00 |
Mitchell Hashimoto
|
33e2b93139
|
Some basic cleanup of 'if' logic
|
2010-09-02 13:02:09 -07:00 |
Mitchell Hashimoto
|
2d80c32479
|
Remove the ActiveList. This will make a comeback using DataStore in the future.
|
2010-09-02 13:00:47 -07:00 |
Mitchell Hashimoto
|
d74d95d0cd
|
Get rid of exceptions/ folder.
|
2010-09-02 11:56:04 -07:00 |
Mitchell Hashimoto
|
9002b22fac
|
Data store is now a hash and lazy load the local data store on the environment
|
2010-09-02 11:47:19 -07:00 |
Mitchell Hashimoto
|
4d87f198d7
|
Vagrant::DataStore which will be used soon for the dotfile in the project directory
|
2010-09-01 22:00:59 -07:00 |
Mitchell Hashimoto
|
43cdcb7808
|
Config can now be deserialized as well as serialized to JSON
|
2010-09-01 21:01:15 -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
|
f697ca543e
|
Extremely basic Radar integration
|
2010-09-01 19:46:11 -07:00 |
Mitchell Hashimoto
|
fb6caa7730
|
Replace the ERB syntax with proper I18n interpolation
|
2010-09-01 19:17:50 -07:00 |
Mitchell Hashimoto
|
44963824a3
|
Add proper message when Vagrant is quit from interrupt
|
2010-09-01 18:07:47 -07:00 |
Mitchell Hashimoto
|
0094f066ca
|
Warden properly handles interrupts
|
2010-09-01 16:15:24 -07:00 |
Mitchell Hashimoto
|
71101c9d3d
|
Raise interrupt error earlier so the rescue chain actually gets called
|
2010-09-01 14:58:22 -07:00 |
Mitchell Hashimoto
|
f00955dfa1
|
Remove superfluous util module includes
|
2010-09-01 14:52:44 -07:00 |
Mitchell Hashimoto
|
60c20565b2
|
Replace straight abort on interrupt with clean exit via exception
|
2010-09-01 14:50:15 -07:00 |
Mitchell Hashimoto
|
d0bd47a5d7
|
Properly translate "cleaning up" messages when Ctrl-C
|
2010-09-01 14:40:35 -07:00 |
Mitchell Hashimoto
|
a13f587bc0
|
Environment#error! removed (along with error? and so on)
|
2010-09-01 14:37:37 -07:00 |
Mitchell Hashimoto
|
3da94252b5
|
Get rid of util.rb. No longer used.
|
2010-09-01 14:30:31 -07:00 |
Mitchell Hashimoto
|
bb97b388f9
|
Convert VM errors to I18n exceptions
|
2010-09-01 14:26:53 -07:00 |
Mitchell Hashimoto
|
f708bf65a7
|
Simply typo fix
|
2010-09-01 10:55:03 -07:00 |
Mitchell Hashimoto
|
ae6e42dbbc
|
Scope SSH errors to proper exception classes
|
2010-09-01 10:47:34 -07:00 |
Mitchell Hashimoto
|
e7f06d7fb7
|
Remove ExceptionCatcher since exceptions are the way to report errors now
|
2010-09-01 10:04:37 -07:00 |
Mitchell Hashimoto
|
364233527e
|
SSH no longer raises ActionException. Raises VagrantError
|
2010-09-01 10:00:49 -07:00 |
Mitchell Hashimoto
|
786a0f443a
|
Provisioners raise exceptions
|
2010-09-01 09:36:22 -07:00 |
Mitchell Hashimoto
|
f85821c268
|
Refactor VagrantError to be more flexible so not as many subclasses will be needed
|
2010-09-01 08:27:29 -07:00 |
Mitchell Hashimoto
|
cf91f578fb
|
Downloaders now raise exceptions instead of erroring environment
|
2010-09-01 07:22:14 -07:00 |
Mitchell Hashimoto
|
a7197b3566
|
Autoload errors. If nothing bad happens, all those error classes don't use any memory :)
|
2010-09-01 07:15:37 -07:00 |
Mitchell Hashimoto
|
39663f6f11
|
Finish replacement of "env.error!" with exceptions in VM actions
|
2010-09-01 07:13:37 -07:00 |
Mitchell Hashimoto
|
b72cf4c57c
|
Convert NFS to new Warden style with 'recover' method
|
2010-08-30 20:09:26 -07:00 |