Mitchell Hashimoto
13e9f8037a
test: get all the tests passing with new CLI changes
2014-01-11 08:59:13 -08:00
Mitchell Hashimoto
ad99b4f250
core: CLI understands new plugin definition format
2014-01-11 08:53:25 -08:00
Mitchell Hashimoto
4a99cdccdf
core: allow command plugins to have options
2014-01-11 08:38:27 -08:00
Mitchell Hashimoto
6a7e07c53f
provisioners/chef: don't follow symlink when chown
2014-01-11 08:02:59 -08:00
Mitchell Hashimoto
7b2a0716f1
synced_folders/rsync: warn if password auth
2014-01-10 20:37:11 -08:00
Mitchell Hashimoto
bcbcc51f74
Update CHANGELOG
2014-01-10 18:25:14 -08:00
Mitchell Hashimoto
84108bee9a
Merge pull request #2803 from mitchellh/f-rsync
...
rsync Synced Folder Type
This pull requests introduces the `rsync` synced folder type into Vagrant core. This synced folder will do a one-time one-directional sync from the host machine to the guest machine using rsync. This is useful in situations where NFS or native shared folders can't be setup, such as in AWS.
Pretty easy to use: `config.vm.synced_folder ".", "/vagrant", type: "rsync"` No additional configuration necessary, though additional options are available.
In the future, I'd like to add the ability to force a re-sync, as well as to watch for file changes and sync. For now, this is a basic one-time sync.
Having this in core allows remote providers such as OpenStack, AWS, RackSpace, etc. to stop hand-rolling the rsync synced folder mechanism and to rely on the core providing it.
And a shout out to @phinze because this thing is fully unit tested.
Fixes #1926
2014-01-10 18:22:40 -08:00
Mitchell Hashimoto
e73d2c14b3
website/docs: document the rsync synced folder type
2014-01-10 18:15:49 -08:00
Mitchell Hashimoto
55b0dffd36
synced_folders/rsync: output what is being excluded
2014-01-10 18:06:16 -08:00
Mitchell Hashimoto
60f3d224c9
synced_folders/rsync: can exclude files
2014-01-10 18:01:38 -08:00
Mitchell Hashimoto
2e3fcf576c
synced_folders/rsync: allow guests to execute things before
2014-01-10 17:51:44 -08:00
Mitchell Hashimoto
38fbbb6c56
synced_folders/rsync: Initial commit working
2014-01-10 17:40:29 -08:00
Mitchell Hashimoto
213000fd3d
core: update Registry tests to make sure #keys doesn't load
2014-01-10 16:20:33 -08:00
Mitchell Hashimoto
fbcc08b3ee
Merge pull request #2637 from johnbellone/patch-1
...
core: Update Registry with #keys method.
2014-01-10 16:19:53 -08:00
Mitchell Hashimoto
365bef0e61
core: use dummy provider in tests so VirtualBox isn't required
2014-01-10 15:48:42 -08:00
Mitchell Hashimoto
321dc9ed6e
Update CHANGELOG
2014-01-10 15:43:54 -08:00
Mitchell Hashimoto
fcae8dd687
Merge pull request #2766 from graingert/patch-1
...
provisioners/salt: Allow defining of <install-type> and <install-type-args>
2014-01-10 15:43:25 -08:00
Mitchell Hashimoto
9a58caaf9c
synced_folders/nfs: always prune [GH-2738]
2014-01-10 15:41:57 -08:00
Mitchell Hashimoto
c4c265e97e
Update CHANGELOG
2014-01-10 14:46:59 -08:00
Mitchell Hashimoto
94f45f5747
Merge pull request #2800 from miketheman/cpu_vbox_convenince
...
provider/virtualbox: add `cpus=` configuration
2014-01-10 14:45:35 -08:00
Mitchell Hashimoto
a2e4d13926
website/www: fix download link styling
2014-01-10 09:48:44 -08:00
Mitchell Hashimoto
8fde97131c
website/www: fix link styling in lists
2014-01-10 09:45:49 -08:00
Mitchell Hashimoto
551fe889dc
website/www: downloads archive lists old versions
2014-01-10 09:42:05 -08:00
Mike Fiedler
9679eccb06
extend Virtualbox convenince methods
...
In the vein of #2426 , I too can never remember syntax, and end up
hunting for either an exisiting Vagrantfile or starting to dig up
details.
2014-01-10 12:41:23 -05:00
Mitchell Hashimoto
91380c0650
synced_folders/nfs: automatically install NFS client if possible
...
If guests have the following capabilities, automatic NFS client
installation will be done:
* nfs_client_installed - Checks if the NFS client is installed
* nfs_client_install - Install the NFS client
Support is already in for Debian, Ubuntu, RedHat, CentOS, and Fedora
2014-01-09 16:58:20 -08:00
Mitchell Hashimoto
5fd8988835
core: only check for box existence if not force [GH-2757]
2014-01-09 15:59:21 -08:00
Mitchell Hashimoto
a48ef2ec97
core: more user-friendly errors for caps on guests
2014-01-09 10:24:25 -08:00
Mitchell Hashimoto
ba5400b89b
core: raise user-friendly errors if capabilities exception in Guest
2014-01-09 10:13:33 -08:00
Mitchell Hashimoto
23c08eae9c
Fix up translations
2014-01-09 10:04:31 -08:00
Mitchell Hashimoto
396511b389
core: Remove unused error classes
2014-01-09 10:03:28 -08:00
Mitchell Hashimoto
b087352a14
Remove unused translations and errors thanks to @glebm
2014-01-09 09:38:59 -08:00
Mitchell Hashimoto
9fe702a000
core: tests for Guest#name
2014-01-09 09:09:40 -08:00
Mitchell Hashimoto
013a9ae779
Merge pull request #2794 from tmatilai/cabability_host_name
...
core: reintroduce `name` attribute for the `Guest`
2014-01-09 09:07:30 -08:00
Mitchell Hashimoto
68a355931c
core: test that forking is allowed in a BatchAction
2014-01-08 21:43:46 -08:00
Mitchell Hashimoto
9649712fce
core: BatchAction should handle forks [GH-2756]
2014-01-08 21:36:24 -08:00
Mitchell Hashimoto
680f6c1e69
Update CHANGELOG
2014-01-08 21:00:24 -08:00
Teemu Matilainen
c638df9dcb
core: Tweak host/guest capability logging
...
- Use downcase logger name as everywhere else
- Remove duplicate logging from the Guest
2014-01-09 01:59:08 -03:00
Teemu Matilainen
f1d71f9481
core: Reintroduce `name` attribute for the `Guest`
...
Maintain compatibility for vagrant-vbguest plugin which uses it.
vagrant-vbguest doesn't use the caps system (to keep compatibility with
older Vagrant versions), but includes similar functionality itself.
2014-01-09 01:59:08 -03:00
Mitchell Hashimoto
5e835f4201
Merge pull request #2792 from smoyer/redhat_hostname_patch
...
guests/redhat: use FQDN for hostname
2014-01-08 20:58:59 -08:00
Mitchell Hashimoto
62028b2df3
core: log plugins and their versions
...
/cc tmatilai - Bundler makes it nice and easy.
2014-01-08 20:04:57 -08:00
Mitchell Hashimoto
b9e701f853
catch errors that happen before Vagrant is even loaded
2014-01-08 20:04:48 -08:00
Mitchell Hashimoto
7631a38601
core: refactor error initialization logic
...
/cc @tmatilai - This includes a test case for the symbol stuff, should
be okay now.
2014-01-08 19:53:43 -08:00
Teemu Matilainen
481924c46d
provisioners/docker: Add missing I18n key [GH-2774]
...
Also sort the docker keys alphabetically.
2014-01-08 22:01:22 -03:00
Mitchell Hashimoto
732a03c1c4
guests/linux: properly quote and insert public key
2014-01-08 15:12:26 -08:00
Mitchell Hashimoto
880281f27f
core: better logging for caps
2014-01-08 14:54:28 -08:00
smoyer
3964298504
This was introduced in 1.4.1 with d26c147
.
...
This PR sets the active hostname back to the name specified in the Vagrantfile (fqdn) and updates the unit tests.
Setting it to the short name causes loads of problems while configuring the system. I've had issues with sudoers hostname matching, Weblogic certificate generation and a few others. Even if I changed all of the Chef recipes, the fqdn is set in /etc/sysconfig/network so the active hostname will switch to the fqdn after a reboot.
2014-01-08 17:49:54 -05:00
Mitchell Hashimoto
7c995caae5
core: Catch plugin load errors and show them to the user ina friendly way
2014-01-08 14:45:43 -08:00
Mitchell Hashimoto
010874ffad
core: has_plugin? uses the new plugin manager class to check for gems
2014-01-08 10:50:28 -08:00
Mitchell Hashimoto
dbaa48ff5b
website/docs: tips & tricks for vfile [GH-2788]
2014-01-08 10:42:37 -08:00
Mitchell Hashimoto
86bb6105d5
Update CHANGELOG
2014-01-08 08:56:36 -08:00