Commit Graph

753 Commits

Author SHA1 Message Date
Mitchell Hashimoto 14d1b987ae Add validation to args for shell provisioner 2011-08-28 00:02:42 -07:00
Mitchell Hashimoto 3c1b16f286 vagrant ssh -c no longer emits prefix and newlines [closes GH-462] 2011-08-14 13:51:20 -07:00
Brian J Brennan 18a7b48b89 Change message for virualbox_not_detected to accurately indicate which version of VirtualBox is required. [closes GH-458] 2011-08-09 23:19:13 -07:00
Mitchell Hashimoto 2ca46ced57 Fix message when provision is run on halted machine [closes GH-447] 2011-07-30 09:58:29 -07:00
Mitchell Hashimoto 14ca7ecc24 Better validation for networking configuration 2011-07-22 23:53:19 -07:00
Mitchell Hashimoto a0719d1414 Merge branch 'version_check_40' 2011-07-19 14:40:56 -07:00
Mitchell Hashimoto 09346c2346 v0.7.8 2011-07-19 14:39:49 -07:00
Mitchell Hashimoto 667405c4d7 Require VirtualBox 4.1.x 2011-07-19 14:32:27 -07:00
Sven Fuchs f44df4944c this translation has to be quoted. would otherwise fail on Psych: ~/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/psych.rb:148:in `parse': couldn't parse YAML at line 162 column 21 (Psych::SyntaxError) [closes GH-411] 2011-07-12 22:06:29 -07:00
Mitchell Hashimoto 442584fbac Change default home directory to ~/.vagrant.d [closes GH-333] 2011-07-09 18:55:33 -07:00
Sven Fuchs dcfc87a547 this translation has to be quoted. would otherwise fail on Psych: ~/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/psych.rb:148:in `parse': couldn't parse YAML at line 162 column 21 (Psych::SyntaxError) [closes GH-411] 2011-07-09 17:05:36 -07:00
Mitchell Hashimoto 874a9763f5 Only one copy of Vagrant can run at any given time. [closes GH-364]
This is to protect against issues with VirtualBox overwriting
each other.
2011-07-09 16:21:38 -07:00
Mitchell Hashimoto bdc316f4ef Provisioner configuration no longer cleared when box is downloaded during an `up`. [closes GH-308] 2011-07-06 22:08:37 -07:00
Mitchell Hashimoto 29688eb788 `vagrant ssh` -e flag is now -c [closes GH-323] 2011-07-06 00:29:22 -07:00
Mitchell Hashimoto 9e780606f4 Note that NFS doesn't support owner/group settings 2011-07-06 00:07:36 -07:00
Mitchell Hashimoto b4c9ec60de Ability to provide inline script for shell provisioner [closes GH-395] 2011-07-05 23:16:22 -07:00
Mitchell Hashimoto dcaca22810 Show nice error message for bad HTTP downloads [closes GH-403] 2011-07-05 22:48:02 -07:00
Mitchell Hashimoto 8bb2403ce0 Add error message specifically for chef_server change 2011-07-03 17:29:05 -07:00
Mitchell Hashimoto c27d857387 Rename :chef_server to :chef_client. [GH-359] 2011-07-03 17:20:06 -07:00
Jamie Winsor 7c89ef3de2 Add support for Chef encrypted data bags: http://wiki.opscode.com/display/chef/Encrypted+Data+Bags
Add two configuration options to chef_server provision:
  encrypted_data_bag_secret_key_path - the location of your encrypted secret key on your local machine
  encrypted_data_bag_secret - the location you wish to place the key on the target machine and the value of Chef::Config[:encrypted_data_bag_secret]. Default value of "/etc/chef/encrypted_data_bag".
2011-07-02 21:20:22 -07:00
Mitchell Hashimoto 6fa21d2a62 Fix missing translation [GH-371] 2011-06-13 14:16:48 -07:00
Tim Joseph Dumol 2c091c98cc Added Arch Linux as under vagrant/hosts
Added NFS support for Arch Linux under vagrant/hosts by adding
vagrant/hosts/arch and a platform test for Arch Linux.
2011-04-19 22:03:21 -07:00
Mitchell Hashimoto c1373f4eca Failed SSH commands show output in error message. [closes GH-285] 2011-02-08 22:47:36 -08:00
Mitchell Hashimoto 8d55bdcae5 Style tweaks and tests added for changing host name 2011-01-28 17:41:48 -08:00
Mitchell Hashimoto 94b5074430 Merge branch 'master' of https://github.com/michaelbearne/vagrant 2011-01-28 17:30:15 -08:00
Mitchell Hashimoto 75e283c81a New `shell` provisioner which uploads and executes a script as root on VM 2011-01-23 12:00:50 -08:00
Mitchell Hashimoto b859c03c5e Fix URL in windows SSH error message 2011-01-23 11:26:55 -08:00
Kenneth Vestergaard 484b7290fa add system provider for FreeBSD 2011-01-21 15:58:26 -08:00
Michael Bearne b42925273a Merge remote branch 'remotes/upstream/master' 2011-01-20 09:19:11 +00:00
Mitchell Hashimoto ea7c99e992 Change references to VirtualBox 3.2 to 4.0 2011-01-19 16:42:19 -08:00
Michael Bearne f757184c06 added support for changing host name on up for Debian, Ubuntu and RedHat 2011-01-14 17:51:19 +00:00
Mitchell Hashimoto 9673b7eaee Remove config.ssh.port, it actually never did anything 2011-01-14 00:36:49 -08:00
Mitchell Hashimoto 302f9ff0bb Puppet provisioner can mount/configure module paths from local directory 2011-01-13 21:02:26 -08:00
Mitchell Hashimoto db20f399fb Improved puppet config validation 2011-01-13 17:27:39 -08:00
Mitchell Hashimoto a4a02675ad Add a nice full error message for the old-style provisioner setting 2011-01-12 01:19:21 -08:00
Mitchell Hashimoto eca25d1802 Remove unused error classes/messages 2011-01-11 22:43:35 -08:00
Mitchell Hashimoto cddccab9ae Provision action works again 2011-01-11 22:13:09 -08:00
Mitchell Hashimoto d951d058ce Initial work on this. Tests are completely broken. 2011-01-11 21:07:12 -08:00
Mitchell Hashimoto 766607db49 Raise an error message if host only networking is not supported 2011-01-09 13:34:37 -08:00
Mitchell Hashimoto 0828fb9199 Remove unused I18n translation 2011-01-09 13:26:07 -08:00
Mitchell Hashimoto b9463de5b9 Helpful error message if NFS mount fails in Linux [closes GH-135] 2011-01-09 12:17:46 -08:00
Mitchell Hashimoto 8ce95318c7 Remove check for OSE version, since with VirtualBox 4 this distinction no longer exists. 2011-01-07 01:32:21 -08:00
James Turnbull 3849355ef6 Basic Puppet Server provisioner 2011-01-06 13:33:22 -08:00
Mitchell Hashimoto c1be64ae61 Shared folders with no guest path are not automounted [closes GH-184] 2010-12-31 02:19:27 -06:00
Mitchell Hashimoto 4cbce66ab1 Downloaders have clearer output to note what they're doing 2010-12-31 01:44:30 -06:00
Mitchell Hashimoto 6b74ad103d Box adding via HTTP follows redirects [closes GH-163] 2010-12-31 01:40:30 -06:00
Mitchell Hashimoto b0ce015f40 Up VirtualBox version check to 4.0 2010-12-24 19:15:36 -08:00
Mitchell Hashimoto 2358130c0e Show error if host only networking on Windows 2010-12-21 19:52:41 -08:00
Mitchell Hashimoto 53b3a9c39d Update URL to x64 windows setup guide 2010-12-18 21:18:29 -08:00
Mitchell Hashimoto c3b26dc4bf Show special error if VirtualBox not detected on 64-bit Win 2010-12-18 20:50:32 -08:00
James Turnbull 6548bc9324 Adds a basic Puppet provisioner to Vagrant
This uses the Puppet binary and assumes a .pp file will be present
on the host machine.

By default it looks for manifests in the `manifests` directory (in the same root as
wherever your Vagrantfile is located). The default file uses the name of the box
being configured, for example `lucid.pp`.  Both options are configurable.
2010-12-07 16:57:00 -08:00
Mitchell Hashimoto 16da2746a5 Translation for "stuck" state in VM [closes GH-218] 2010-11-21 00:14:13 -08:00
Mitchell Hashimoto 52023f2fd3 Fix missing translation for chef. 2010-11-08 18:28:05 -08:00
Dr Nic Williams 0545dff2d9 missing translation 'vagrant.errors.chef_not_detected' 2010-11-08 18:26:46 -08:00
Mitchell Hashimoto 9e7ed2cfe5 Update error wording when can't connect to SSH. 2010-10-26 17:00:09 -07:00
Mitchell Hashimoto 6bac0a7ab2 Better box verification/error messages. 2010-10-21 17:58:17 -07:00
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 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 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