Commit Graph

10149 Commits

Author SHA1 Message Date
Brian Cain eadb0ac831 Raise exception if provider doesn't have snapshot capability
Prior to this commit, if a user attempted to use the `vagrant snapshot
save` or `vagrant snapshot list` commands on a vm whose provider did not
support snapshots, it would simply print a warning. This commit changes
that behavior by instead raising an error.
2017-05-26 15:22:25 -07:00
Brian Cain 2995b60925 Update CHANGELOG 2017-05-25 16:43:03 -07:00
Brian Cain 47f001dcdb Merge pull request #8619 from briancain/7810/master/snapshot-names
Enforce unique snapshot names
2017-05-25 16:41:33 -07:00
Brian Cain 6ddba4f7b3 (#7810) Enforce unique snapshot names
Prior to this commit, the vagrant snapshot plugin would save snapshots
with existing names which lead to duplicate snapshot names being saved.
This commit fixes that by checking to see if the given snapshot name
already exists and if so, fails telling the user the given snapshot name
already exists. If a user passes a --force flag, vagrant will first
delete the existing snapshot, and take a new one with the given name.
2017-05-25 16:28:17 -07:00
Chris Roberts def29981bd Merge pull request #8602 from justincampbell/vagrant-enterprise-docs
Vagrant Enterprise docs
2017-05-19 14:50:04 -07:00
Justin Campbell 3a14e7c8ef website: Fix Vagrant Enterprise docs links 2017-05-19 12:35:14 -04:00
Justin Campbell 37c12eed01 website: Vagrant Cloud Migration docs 2017-05-19 12:09:37 -04:00
Justin Campbell b862724ce1 website: Vagrant Enterprise user docs 2017-05-19 12:05:34 -04:00
Justin Campbell 821ae518f7 website: Vagrant Enterprise Support docs 2017-05-19 11:59:33 -04:00
Justin Campbell fc286c3c32 website: Vagrant Enterprise organization docs 2017-05-19 11:43:59 -04:00
Justin Campbell d2ac4c983a website: Replace Atlas with Vagrant Enterprise 2017-05-19 11:24:04 -04:00
Justin Campbell 734479a494 website: Add Vagrant Ent request limit docs 2017-05-19 11:19:03 -04:00
Justin Campbell 4eacb3d492 website: Import Vagrant Enterprise docs 2017-05-19 11:01:01 -04:00
Tim Aslat 7f675d723c Update unit test to match fix 2017-05-18 16:06:27 +09:30
vmelnik-ukraine 9400a85324 Fix #8598 : example in docs for box usage. 2017-05-18 14:20:31 +08:00
tonynguyen68 1c3173b1de Update environmental-variables.html.md 2017-05-17 22:09:40 +07:00
Tim Aslat 630858b9a8 This patch fixes an issue when using rsync folders on windows clients with cygwin & ssh enabled.
Before the patch this error will happen if the original directory already exists

-------------------------------------------------------------------------------------------------
==> windows: Rsyncing folder: /vhosts/oxfamshop.com.au/ => /cygdrive/c/inetpub/wwwroot
==> windows:   - Exclude: [".vagrant/", ".git/", "target/", "node_modules/"]
==> windows: Showing rsync output...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mkdir '/cygdrive/c/inetpub/wwwroot'

Stdout from the command:

Stderr from the command:

mkdir: cannot create directory ‘/cygdrive/c/inetpub/wwwroot’: File exists
-------------------------------------------------------------------------------------------------

After the patch, this is result

-------------------------------------------------------------------------------------------------
==> windows: Rsyncing folder: /vhosts/oxfamshop.com.au/ => /cygdrive/c/inetpub/wwwroot
==> windows:   - Exclude: [".vagrant/", ".git/", "target/", "node_modules/"]
==> windows: Showing rsync output...
==> windows: rsync[stdout] -> sending incremental file list
==> windows: rsync[stdout] ->
==> windows: rsync[stdout] -> sent 500855 bytes  received 6635 bytes  78075.38 bytes/sec
==> windows: rsync[stdout] -> total size is 175357552  speedup is 345.54
-------------------------------------------------------------------------------------------------
2017-05-16 16:38:29 +09:30
Chris Roberts 20b4766dd7 Add CHANGELOG skeleton 2017-05-15 18:57:12 -07:00
Chris Roberts ca3095cb5e Bump version for new development 2017-05-15 18:49:07 -07:00
Chris Roberts e28fafb54d Update download version to 1.9.5 2017-05-15 18:46:26 -07:00
Chris Roberts 0d134b1d22 Release v1.9.5 2017-05-15 16:15:21 -07:00
Chris Roberts db554fc5b3 Update CHANGELOG 2017-05-15 09:18:39 -07:00
Chris Roberts 57924e626b Merge pull request #8576 from chrisroberts/enhancement/docker-compose
Add optional compose driver
2017-05-15 09:17:17 -07:00
Chris Roberts 3e05ac0639 Stub out the which check within compose tests 2017-05-15 09:09:25 -07:00
Chris Roberts 27ca3ef831 Convert Windows paths in volumes if detected 2017-05-12 15:11:10 -07:00
Chris Roberts 36ecd40c52 Support optional detach and pass blocks through to execution. 2017-05-12 15:09:30 -07:00
Chris Roberts 6096bb299b Only set image if option given. Do not apply when setting build options. 2017-05-12 15:09:30 -07:00
Chris Roberts ed1b25f1b2 Include spec coverage on compose driver 2017-05-12 15:09:30 -07:00
Chris Roberts 42c9042221 Deep merge configuration settings and set any extra options 2017-05-12 15:09:30 -07:00
Chris Roberts ed8378bcf5 Add output for incorrect type on compose_configuration option 2017-05-12 15:09:30 -07:00
Chris Roberts 9242a69545 Allow direct set of composition and ensure basic types are used 2017-05-12 15:09:30 -07:00
Chris Roberts 4673bbb907 Properly define service build within composition. Full cleanup on destroy. 2017-05-12 15:09:30 -07:00
Chris Roberts b333e5cd82 Fix argument construction when adding dockerfile path
Fixes #7914
2017-05-12 15:09:30 -07:00
Chris Roberts d1c1c175a0 Support modifications of composition outside services 2017-05-12 15:09:30 -07:00
Chris Roberts d4bfade19f Include documentation on accessor in docker provider configuration 2017-05-12 15:09:30 -07:00
Chris Roberts 4a05e8561f Update `force_host_vm` configuration documentation and add `compose`. 2017-05-12 15:09:30 -07:00
Chris Roberts deba93ce5c Add optional support for docker-compose
Adds configuration switch to enable using docker-compose
to create and manage docker containers.
2017-05-12 15:09:30 -07:00
Chris Roberts eb0fd71baf Update CHANGELOG 2017-05-12 15:09:15 -07:00
Chris Roberts 6c83743980 Merge pull request #8582 from chrisroberts/updates/wsl
Update WSL integration
2017-05-12 15:08:29 -07:00
Chris Roberts 50dd832e63 Include `Which` within Util autoloads 2017-05-12 15:00:55 -07:00
Chris Roberts 6de7c9b445 Only convert path if windows access is granted 2017-05-12 14:14:11 -07:00
Chris Roberts 5d83c03bfc Properly handle synced folders in docker provider on WSL 2017-05-12 14:05:12 -07:00
Chris Roberts fa2dd5b3fb Recreate the Vagrant environment when required by WSL setup 2017-05-12 13:14:04 -07:00
Chris Roberts 3c44ce9742 Support vbox provider within WSL rootfs. Make Windows access easier.
Enables proper setup of VMs started from within WSL rootfs paths. Updates
setup for Windows access when working within the WSL to auto-detect settings
instead of relying on user defined environment variables.
2017-05-12 13:11:53 -07:00
Chris Roberts 87a0f98a9f Update CHANGELOG 2017-05-10 13:53:24 -07:00
Chris Roberts 3995bc11f5 Merge pull request #8571 from chrisroberts/enhancement/remove-nokogiri
Remove nokogiri from explicit dependency list
2017-05-10 13:52:42 -07:00
Chris Roberts cfb24e9a0a Update CHANGELOG 2017-05-10 13:52:12 -07:00
Chris Roberts 37901cd43c Merge pull request #8570 from chrisroberts/enhancement/wsl-support
Add support for running within WSL
2017-05-10 13:50:47 -07:00
Chris Roberts 9716659cbf Update CHANGELOG 2017-05-10 13:50:05 -07:00
Chris Roberts 1bf09520d3 Merge pull request #8577 from chrisroberts/fix/dhcp-assigned-route
Fetch first network device and pass to template for rendering
2017-05-10 13:48:46 -07:00