Mitchell Hashimoto
101aa45226
Proxy settings for chef. [closes GH-169]
2011-01-08 23:30:07 -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
Michael Bearne
a1e864e3ff
Merge remote branch 'remotes/upstream/master' into redhat-distro
2011-01-04 09:29:15 +00: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
Michael Bearne
809250861d
Merge remote branch 'remotes/upstream/master'
...
Conflicts:
Gemfile.lock
2010-12-21 10:09:33 +00: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
Michael Bearne
d143fa965e
redhat distribution implemention for host only network
2010-12-16 13:30:44 +00: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
Ben Morris
7df8ab281a
Fixed a syntax error in the autogenerated Vagrantfile
2010-11-17 08:35:54 -08:00
Edward Dale
100f03011a
Fixed bug where multiple nfs shared folders not configured correctly
...
on Linux
http://github.com/mitchellh/vagrant/issues#issue/141
2010-11-15 10:49:35 -08:00
Dreamcat4
abf5f3ccfc
Allow users specify "config.chef.node_name = nil" to get the FQDN
2010-11-15 10:36:24 -08:00
jtimberman
cdd1be4be5
fix opscode platform uri and clarify settings
2010-11-14 19:37:53 -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
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
Mitchell Hashimoto
7bf9c6203d
Fix strange formatting from `vagrant init` [closes GH-142]
2010-08-19 22:15:47 -07:00
Joe Van Dyk
3250b82659
Fixed bug where multiple nfs shared folders not configured correctly
...
http://github.com/mitchellh/vagrant/issues#issue/141
2010-08-18 13:33:58 -07:00
Mitchell Hashimoto
bb58c9ef96
Added IdentitiesOnly flag to ssh-config as well
2010-08-02 19:53:49 -07:00
Mitchell Hashimoto
b6719d00d9
Enable ability to supress newlines in ERB for templates using -%>
2010-08-01 17:26:37 -07:00
Vitor Pellegrino
e4deaec4d2
Added the option to specify a box_url when initting a new Vagrant project
2010-07-31 17:37:57 -07:00
Mitchell Hashimoto
d17765c3dd
`config.chef.recipe_url` to download cookbooks via chef solo [closes GH-121]
2010-07-28 21:35:00 -07:00
Mitchell Hashimoto
523cb1042a
Moved the packaging action out to the General namespace, since it is now generalized
2010-07-27 23:54:24 -07:00
Mitchell Hashimoto
9895f93e1d
Separate vagrantfile creation in packaging and actual packaging
2010-07-27 23:22:10 -07:00
Mitchell Hashimoto
dcd9c2a788
Give proper error message if bad URL given for HTTP box adding
2010-07-24 09:07:37 -07:00
Mitchell Hashimoto
f8909dcbfa
Fix `sed` calls for linux and add proper options for the UID/GID mapping.
2010-07-17 09:58:30 -07:00
Mitchell Hashimoto
67b23be473
Linux NFS support (host)
2010-07-17 09:35:43 -07:00
Mitchell Hashimoto
f9f59282f4
BSD exports template properly takes into effect mapped GID as well
2010-07-15 23:05:04 -07:00
Mitchell Hashimoto
46c462d322
NFS options to configure mapall UID/GID. Vagrant can also detect this automatically (default)
2010-07-15 23:02:31 -07:00
Mitchell Hashimoto
a5643d3239
Error if a forwarded port is below 1024 [closes GH-97]
2010-07-14 21:27:00 -07:00
Brian Donovan
98f66201e4
Fix error message that tells people to install VirtualBox 3.1.x.
2010-07-13 09:06:31 -07:00
Mitchell Hashimoto
5e537f7126
Exports output is in proper format
2010-07-12 22:26:01 -07:00
Mitchell Hashimoto
9f4950375e
Host NFS export
2010-07-12 22:10:17 -07:00
Mitchell Hashimoto
6887f08bf7
Get host IP on NFS middleware and call proper system methods
2010-07-11 21:33:49 -07:00
Mitchell Hashimoto
1e92f0d58f
Started on NFS middleware
2010-07-11 09:44:18 -07:00
Mitchell Hashimoto
8f0d6c8304
Merge branch 'middleware'
2010-07-08 22:05:09 -07:00
Dylan Egan
f5756cdfc5
Allow the node_name to be set for the ChefSolo Provisioner.
2010-07-07 23:26:08 -07:00
Mitchell Hashimoto
cfc87d4ce3
Halt checks if VM is running. No more error messages
2010-07-05 19:41:31 +02:00
Mitchell Hashimoto
ae0d9935a7
Detect if any collisions with non-hostonly networks for networking. [closes GH-102]
2010-07-02 08:37:13 -07:00
Mitchell Hashimoto
e4b13ea758
`vagrant package` checks for output file existing [closes GH-100]
2010-06-29 20:57:09 -07:00
Mitchell Hashimoto
763389ac4e
Crontab entry appends to log file instead of creating every time
2010-06-23 00:02:32 -07:00
Mitchell Hashimoto
97f82d7140
Better, more unified logging for unison
2010-06-22 23:33:20 -07:00
Mitchell Hashimoto
f3c6c7320b
Better unison script locking and proper from/to
2010-06-20 21:34:36 -07:00
Mitchell Hashimoto
47403e16cc
Now checks if `unison` binary is installed before running
2010-06-20 14:38:58 -07:00
Mitchell Hashimoto
e8fd57fbbb
Fixes to unison. Now tested and working.
2010-06-20 14:14:11 -07:00
Mitchell Hashimoto
c7bbfcc5a1
`create_unison` method implemented on the system
2010-06-20 02:16:32 -07:00
Mitchell Hashimoto
5f0695f776
Setup new unison scripts and set configs.
2010-06-20 01:42:31 -07:00
Mitchell Hashimoto
9e931dd350
VirtualBox minimum version bumped to 3.2
2010-06-17 23:08:38 -07:00
Mitchell Hashimoto
3be88f44fa
Warning if guest additions version mismatches [closes GH-96]
2010-06-15 21:58:27 -07:00
Mitchell Hashimoto
b56994d11d
Internal SSH ignores ssh config file. Also added `PasswordAuthentication no` to ssh-config output
2010-06-05 18:52:52 -07:00
John Bender
eec0986bc7
switched directory syncing over to unison
2010-06-05 00:39:25 -07:00
Mitchell Hashimoto
bb7a309cab
Verify ubuntu/debian install for host only networking
2010-06-03 11:35:50 -07:00
Mitchell Hashimoto
73e9debefb
Dynamically insert entry into /etc/network/interfaces file for Ubuntu
2010-06-03 11:09:31 -07:00
Mitchell Hashimoto
d16efa1a34
Join a specific host only network if name is specified.
2010-06-03 00:17:04 -07:00
John Bender
85f4fb230d
resolved rsync issue with crontab entry template [closes gh-90]
2010-05-30 00:35:22 -07:00
Mitchell Hashimoto
503a9acf89
Verify chef binaries exist prior to running chef provisioning [closes GH-89]
2010-05-29 11:33:01 -07:00
Mitchell Hashimoto
8ea9816552
Error and exit if SSH command returns non-zero exit status [closes GH-80]
2010-05-28 23:01:25 -07:00
Mitchell Hashimoto
5f57766365
Primary VM is SSH by default on call to `vagrant ssh`
2010-05-27 23:06:57 -07:00
Mitchell Hashimoto
61bcc761bc
Error message is given if there are no auto ports available.
2010-05-27 17:37:48 -07:00
John Bender
af07bd0d3b
renamed crontab entry template, switched to proper ssh
2010-05-19 00:19:32 -07:00
John Bender
ce6d95c131
rsync mostly complete, few tests left
2010-05-18 23:50:04 -07:00
Mitchell Hashimoto
19be5f141e
`vagrant package` works with multi-VM environments
2010-05-17 14:12:11 -07:00
Mitchell Hashimoto
f30645a967
`vagrant ssh-config` is now multi-vm friendly
2010-05-17 10:52:07 -07:00
Mitchell Hashimoto
fd12018114
`vagrant ssh` works with multi-VM
2010-05-17 01:07:42 -07:00
Mitchell Hashimoto
dec46235cb
Error properly if an invalid VM name is given
2010-05-16 17:46:20 -07:00
Mitchell Hashimoto
709c50e7b6
`vagrant status` updated to work with multi-VM. Global status not yet functional.
2010-05-16 17:40:40 -07:00
Mitchell Hashimoto
af1b098b9d
`vagrant status --global` flag to view global status
2010-05-01 00:24:39 -07:00
Mitchell Hashimoto
1900d1faaa
vagrant status now uses strings.yml instead of hardcoding strings into the command
2010-04-30 23:52:16 -07:00
Mitchell Hashimoto
13c05de702
Rename errors.yml to strings.yml and Error to Translator, since I plan on using it for general strings
2010-04-30 23:42:11 -07:00
Mitchell Hashimoto
95938c652d
New abstraction: Systems. Updated config and environment to properly load configured system.
...
This allows the OS-specific tasks to be pulled out into separate classes, so that other systems could potentially be supported. For now, a "Linux" system has been created.
2010-04-25 01:46:51 -07:00
Mitchell Hashimoto
753ed4c574
Remove `vagrant down` (was deprecated in 0.3.0 to 0.3.2)
2010-04-25 00:34:58 -07:00
Mitchell Hashimoto
28eb56b9f8
Error if OSE version is detected
2010-04-19 17:06:27 -07:00
Mitchell Hashimoto
376cd2f24d
Box verification actually raises error to undo box adding
2010-04-19 15:45:52 -07:00
Mitchell Hashimoto
9f6b6435be
Updated error text to be more clear
2010-04-15 01:19:21 -07:00
Mitchell Hashimoto
575a9f1021
Readded `vagrant down` but as an error message to assist users in migrating to `vagrant destroy`
2010-04-13 23:24:36 -07:00
Mitchell Hashimoto
c630b028fc
`vagrant ssh-config` outputs .ssh/config ready entry for current environment
2010-04-12 21:00:42 -07:00
Mitchell Hashimoto
f8dee9adf9
Base boxes can now be packaged with `vagrant package` by specifying the `--base` parameter.
2010-04-12 16:29:33 -07:00
Mitchell Hashimoto
cbb0c413dc
Load Vagrantfile in include/ directory for boxes if it exists
2010-04-12 00:51:12 -07:00
Mitchell Hashimoto
9498226c83
Package now puts auto-generated Vagrantfile with MAC address in root.
2010-04-12 00:44:04 -07:00
Wade Simmons
15e4b2f411
add support for roles in Chef Solo
2010-04-09 14:01:15 -07:00
Mitchell Hashimoto
008e533c98
Chef configuration is now pulled into Chef provisioner base. Log level is able to be specified.
2010-04-08 23:17:25 -07:00
Mitchell Hashimoto
965e5a12f3
Chef server client.rb uses new templates
2010-04-08 21:07:24 -07:00
Mitchell Hashimoto
47a9d85b4e
Chef solo config uses new template system
2010-04-08 20:56:48 -07:00
Mitchell Hashimoto
419cc02e75
Removed unused error message and modified virtualbox not detected to be more up to date
2010-04-08 20:49:23 -07:00
John Bender
51853e2e8a
updated links on error messages and keys readme to reflect forthcoming windows documentation
2010-03-25 23:07:10 -07:00
Kieran Pilkington
a7d55db213
Make use of YAMLs block literals to remove \n text and make input easier (no escaping of " for example).
2010-03-25 01:46:48 -07:00
Mitchell Hashimoto
3cb583cce7
Remove emacs backup file
2010-03-25 00:46:07 -07:00
John Bender
4e4d1a6978
error for vagrant ssh on windows, error text, mario gem, still need doc pages for links in error.yml
2010-03-25 00:09:31 -07:00
Mitchell Hashimoto
5db99c04d4
Removing references to Vagrant::Env
2010-03-19 21:15:45 -07:00
Mitchell Hashimoto
a2a59b532b
`vagrant ssh` will automatically fix permissions on the private key if necessary
2010-03-19 01:57:28 -07:00
Mitchell Hashimoto
bd3a2417fd
Remove unnecessary newlines from errors.yml
2010-03-17 21:49:28 -07:00
Mitchell Hashimoto
586878a330
Runner uses the proper key/data to output errors
2010-03-17 21:45:20 -07:00
Mitchell Hashimoto
f59b255085
ActionExceptions all use the new error strings by key
2010-03-17 21:38:38 -07:00
Mitchell Hashimoto
18f761b015
Unit tests for each error_and_exit now that the message is testable
2010-03-17 21:15:48 -07:00
Mitchell Hashimoto
3c2e1bd80a
All errors now go through the errors.yml files
2010-03-17 21:08:26 -07:00
Mitchell Hashimoto
ac6c3a4892
Util::Errors class to parse errors from YML and render them via ERB
2010-03-17 20:42:53 -07:00
Mitchell Hashimoto
4229b65a81
`vagrant init` now takes an optional parameter to specify the default box [close GH-6]
2010-03-17 17:15:12 -07:00
Mitchell Hashimoto
aaae366e9d
Updated template Vagrant file to use "base" box by default
2010-03-01 01:16:45 -08:00
Mitchell Hashimoto
7ff428d5c2
`vagrant init` command. Used for initializing directories with vagrant.
2010-02-11 00:51:21 -08:00