133 Commits

Author SHA1 Message Date
Mitchell Hashimoto
5fcf10d6cd Validations to assure base MAC address is set 2010-10-08 10:44:19 -07:00
Mitchell Hashimoto
e36a9d3a0c Nice error message given if ".vagrant" is a directory and therefore can't be accessed. [closes GH-172] 2010-10-06 18:57:39 -07:00
Mitchell Hashimoto
a17e05475d Init Vagrantfile is now heavily commented with various available options. [closes GH-171] 2010-10-01 09:46:37 -07:00
Mitchell Hashimoto
ed645417c7 Basic validation added for Chef configuration (both solo and server). 2010-09-30 01:09:36 -07:00
Mitchell Hashimoto
c5b81b5998 SSH gives error message if ssh binary is not found. [closes GH-161] 2010-09-29 23:47:17 -07:00
Mitchell Hashimoto
c30b5f4093 SSH gives proper error if VM is not running [closes GH-167] 2010-09-29 23:37:24 -07:00
Mitchell Hashimoto
4a25acaad8 Validation on config.vm.boot_mode 2010-09-21 12:00:45 -06:00
Mitchell Hashimoto
e0bf3f2dff Converted final string that used logger to new i18n 2010-09-20 09:43:37 -06:00
Mitchell Hashimoto
759bbd046b Raise proper exception if SSH connection is refused with message to help people. 2010-09-14 15:00:46 -06:00
Mitchell Hashimoto
d5ad387f27 New vagrant package option --vagrantfile and changed semantics of --include (see CHANGELOG) 2010-09-12 23:20:13 -06:00
Blake Irvin
123e87c13c Added a rough system class for Solaris - solaris.rb 2010-09-09 00:06:23 -07:00
Mitchell Hashimoto
baccbd047d Cleaner upgrade process and backup previous .vagrant file 2010-09-07 10:26:50 -07:00
Mitchell Hashimoto
b7788e3c06 Upgrade command to 0.6.0 format added vagrant upgrade_to_060 2010-09-07 00:50:42 -07:00
Mitchell Hashimoto
1be3f972ae Spelling corrections on translations 2010-09-05 19:33:50 -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
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
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
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
d0bd47a5d7 Properly translate "cleaning up" messages when Ctrl-C 2010-09-01 14:40:35 -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
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
cf91f578fb Downloaders now raise exceptions instead of erroring environment 2010-09-01 07:22:14 -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
aa00d15206 Few more VM actions converted to exceptions. Lots of errors gone. 2010-08-30 20:07:50 -07:00
Mitchell Hashimoto
72c3340336 About 1/3rd of the VM actions raise exceptions now 2010-08-30 19:39:11 -07:00
Mitchell Hashimoto
98bce8f836 General package action raises exceptions instead of using env.error 2010-08-28 13:54:59 -07:00
Mitchell Hashimoto
3e1ccf0c4f Convert box actions to raise exceptions rather than error environment 2010-08-28 12:31:55 -07:00
Mitchell Hashimoto
ccc45ebd7a Begin moving from error_and_exit to exceptions. Fail hard! 2010-08-28 12:23:40 -07:00
Mitchell Hashimoto
21e4477c39 Rip out unison syncing. It never got to see the light of day. Just didn't work out. (NFS replaced it) 2010-08-27 23:31:38 -07:00
Mitchell Hashimoto
ce080e908f Cleaned up most command string literals and SSH 2010-08-27 21:12:18 -07:00
Mitchell Hashimoto
12ce76ffd0 Convert provisioners and systems to I18n 2010-08-27 21:02:11 -07:00
Mitchell Hashimoto
eee7ced10b Hosts use I18n 2010-08-27 20:53:04 -07:00
Mitchell Hashimoto
d8c4985046 I18n for general actions 2010-08-27 20:50:27 -07:00
Mitchell Hashimoto
367a51fae8 Box actions now use I18n 2010-08-27 20:47:21 -07:00
Mitchell Hashimoto
1d29ba31fa I18nified all the VM actions 2010-08-27 19:46:50 -07:00
Mitchell Hashimoto
0b03502bf2 Converted final error_and_exit in ssh.rb to exceptions 2010-08-27 00:05:40 -07:00
Mitchell Hashimoto
bab369e856 SSHAuthenticationFailed error 2010-08-27 00:01:27 -07:00
Mitchell Hashimoto
500a63c269 Fix some bugs in the SSH tests, replace one error_and_exit with an exception 2010-08-26 23:51:30 -07:00
Mitchell Hashimoto
58237db675 Remove unused methods in environment and their translations 2010-08-26 23:30:24 -07:00
Mitchell Hashimoto
afab53bf9f Scope errors into the Errors namespace. VirtualBox version errors converted to I18n 2010-08-26 23:21:28 -07:00
Mitchell Hashimoto
5c4293ae39 vagrant box list warning uses en.yml 2010-08-26 22:53:27 -07:00
Mitchell Hashimoto
1102eb77cc vagrant status output now uses the new I18n locale 2010-08-26 22:50:09 -07:00
Mitchell Hashimoto
e28947f18d Use I18n gem for string database. Refactor exceptions to use I18n. 2010-08-26 21:56:38 -07:00
Mitchell Hashimoto
48b7596357 Init command. Tests for the base command. 2010-08-24 10:27:36 -07:00