Commit Graph

4904 Commits

Author SHA1 Message Date
Myles Steinhauser b34fdf010b More specific Solaris 11 detection 2014-01-14 09:56:01 -05:00
Myles A. K. Steinhauser e5445442c1 More specific Solaris <11 detection.
Note: This will probably break on Solaris 12+, but not certain of a better approach for now.
2014-01-14 09:52:27 -05:00
Mitchell Hashimoto 526231812f website/docs: better docs 2014-01-13 22:29:10 -08:00
Stoned Elipot 10169f8e99 Add NetBSD guest support 2014-01-14 07:25:35 +01:00
Mitchell Hashimoto 720cb4378b website/docs: rsync-auto 2014-01-13 22:19:18 -08:00
Mitchell Hashimoto 04f1854840 synced_folders/rsync: unit tests for the callback, fix bug 2014-01-13 22:01:09 -08:00
Mitchell Hashimoto fe2844ca59 synced_folders/rsync: rsync-auto command 2014-01-13 21:43:31 -08:00
Mitchell Hashimoto 9cf0387e00 core: interrupt in Cli exits with 1 2014-01-13 21:42:40 -08:00
Mitchell Hashimoto b84505578c add listen as a dep 2014-01-13 13:45:44 -08:00
Mitchell Hashimoto 54bb182525 Merge pull request #2816 from mitchellh/f-rsync-command
"vagrant rsync" non-primary command
2014-01-13 11:55:35 -08:00
Mitchell Hashimoto 08ebf158e9 website/docs: document `vagrant rsync` 2014-01-13 11:48:36 -08:00
Mitchell Hashimoto c05a44face synced_folders/rsync: pass --delete option to delete bad files 2014-01-13 11:40:46 -08:00
Mitchell Hashimoto ae9b74464d core: MixinSyncedFolders#synced_folders does scoped hash override 2014-01-13 11:39:11 -08:00
Mitchell Hashimoto b4b62daf5c synced_folders/rsync: expand host paths relative to root path 2014-01-13 11:34:49 -08:00
Mitchell Hashimoto 309d12a16b synced_folders/rsync: `vagrant rsync` syncs the folders 2014-01-13 11:25:29 -08:00
Mitchell Hashimoto 59218ded68 synced_folders/rsync: move rsync logic out to helper 2014-01-13 11:01:50 -08:00
Mitchell Hashimoto 9b383740ba hosts/bsd: use Util::Which instead of system("which") 2014-01-12 22:37:39 -08:00
Mitchell Hashimoto b8601423c7 hosts/bsd: don't execute shell for sudo commands [GH-2808] 2014-01-12 22:34:45 -08:00
Mitchell Hashimoto a241c9ac59 Merge pull request #2807 from mitchellh/f-non-primary-commands
Non-primary subcommands

This enables plugins to define commands that are "non-primary": they won't be listed in the `vagrant -h` output, and are therefore somewhat hidden. The utility in this is that uncommon commands or commands that aren't friendly to beginners can be hidden. The full list of commands can be seen by executing `vagrant list-commands`.

As of this PR, no command uses this functionality (except `list-commands`). In the future, I'm going to introduce some non-primary commands for specialized tasks such as forcing a re-rsync.
2014-01-11 10:06:55 -08:00
Mitchell Hashimoto e7d439ccb3 website/docs: add more docs for non-primary subcommands 2014-01-11 09:39:13 -08:00
Mitchell Hashimoto 8bc36824bf commands/list-commands: lists all commands primary and non-primary 2014-01-11 09:32:13 -08:00
Mitchell Hashimoto 08b1aee00d core: default commands to primary 2014-01-11 09:15:14 -08:00
Mitchell Hashimoto f05388349c core: non-primary commands aren't shown in basic `vagrant -h` 2014-01-11 09:07:38 -08:00
Mitchell Hashimoto 9c0649d2f8 website/docs: document the plugin interface for non-primary commands 2014-01-11 09:03:27 -08:00
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