Commit Graph

10073 Commits

Author SHA1 Message Date
Harry Weppner 250e74cb79 fix check for `docker-compose` 2017-06-08 11:09:41 -07:00
Katie Bayes e2441dd4b7 fix update to middleman version 26 2017-06-07 17:12:14 -04:00
Brian Cain 378aae8782 Merge pull request #8653 from briancain/7188/master/unify-snapshot-restore-failures
Clean up vagrant snapshot restore/delete error messages
2017-06-07 11:47:38 -07:00
Brian Cain 43ae30cf9b Merge pull request #8651 from briancain/WARN-CWD-CHANGES
Warn about changes to cwd for every machine action
2017-06-07 11:46:57 -07:00
Brian Cain 87b7514603 (#7188) Clean up vagrant snapshot restore/delete error messages
This commit adds some better handling around the snapshot restore and
delete commands for the virtualbox provider. If a user attempts to restore from
a vm that does not exist, instead of exiting 0 it will raise an
exception saying the virtual machine has not been created yet.
Addtionally, if a user attempts to restore from a snapshot id that does
not exist, instead of printing a complicated exception from the
virtualbox cli tool, it prints a more useful error message telling the
user that the snapshot does not exist.
2017-06-07 09:12:20 -07:00
Katie Bayes cdd3cd1413 update middleman version from 22 to 26 2017-06-06 21:37:40 -04:00
Brian Cain 79c7799fd9 Add basic unit test for CWD change warning 2017-06-06 08:38:03 -07:00
Brian Cain d02189530d Merge pull request #8643 from briancain/6827/master/introduce-tty-flag-for-ssh-command
Introduce tty flag for ssh command execution
2017-06-06 08:35:07 -07:00
Fernando Seror 48b0e00368 Tests regarding warning whenever CWD changes 2017-06-05 13:25:30 -07:00
Fernando Seror 15871a481b Warn about changes to CWD on every machine action
Whenever the path where the machine was first created changes, Vagrant
will now show just one warning when an action is run on the machine.

The idea is that if a user copies the machine over to a different
directory with the idea of running two different machines, this warning
will now help the user determine how to make that work.
2017-06-05 13:25:30 -07:00
Aaron Kunz 78e16a7d10 Use proper box subcommand anchors 2017-06-05 14:18:10 +02:00
Brian Cain 1ade699936 (#6827) Introduce tty flag for ssh command execution
Prior to this commit, if a user ran the `vagrant ssh -c CMD` command, it
would not allow the user to configure pseudo-terminal allocation. This
commit introduces a -t flag for the `vagrant ssh` command which defaults
to true if not specified.
2017-06-02 17:32:02 -07:00
Brian Cain 875aee3636 Merge pull request #8632 from gtbono/fix_typo_link
Fixes typo in broken link to documentation
2017-06-01 09:08:11 -07:00
Brian Cain d0f1f39fa6 Merge pull request #8636 from briancain/7118/master/handle-invalid-box-names
Handle box names that are URLs
2017-05-31 16:16:38 -07:00
Brian Cain 5c7ee0bc2a Merge pull request #8627 from briancain/maint/master/raise-exception-snapshot-unsupported
Raise exception for unsupported snapshot providers and improve snapshot plugin testing
2017-05-31 16:16:23 -07:00
Brian Cain f1d08aa629 (#7118) Handle box names that are URLs
Prior to this commit, if a user set a URL for the name of a box, vagrant
would not warn the user about using box_url instead. This would lead to
some difficult user experiences around the various box commands due to
the box name being a full URL. This commit introduces a warning to the
user and lets them know to instead use box_url.
2017-05-31 15:25:05 -07:00
Brian Cain 65eb6d8c82 Merge pull request #8633 from mwhooker/patch-1
docs: add closing `
2017-05-31 14:58:47 -07:00
Matthew Hooker c8a45d9d17 add closing ` 2017-05-31 12:27:05 -07:00
Giovanni Tempobono 68b01d4288 Fixes typo in broken link to documentation 2017-05-31 14:40:06 +00:00
Brian Cain b349d664e4 Include snapshot list unit test
This commit introduces a new set of unit tests for the snapshot list
command.
2017-05-30 15:19:58 -07:00
Justin Campbell b7781d6497 Merge pull request #8622 from mitchellh/vagrant-cloud-migration-docs
website: Update Vagrant Cloud migration docs
2017-05-30 12:45:27 -04:00
Justin Campbell 6cd257a4b4 website: Update Vagrant Cloud migration docs 2017-05-30 11:05:19 -04:00
James Nugent b84acaed3c guests/smartos: Add/fix various guest capabilities
This commit adds/changes the following for SmartOS guests:

- modifies the "Halt" capability to use /usr/sbin/poweroff in preference
  to /usr/sbin/shutdown with parameters, and modifies the associated
  test.

- adds an "InsertPublicKey" capability and tests.

- adds a "RemovePublicKey" capability and tests.

With this commit applied, the vast majority of typical Vagrant workflow
is available to SmartOS global zone guests (provided NFS mounts are used
rather than VMWare shared folders).
2017-05-30 15:18:18 +01:00
Brian Knight fe0836b637 Add prune to option list. Alphabetize order. 2017-05-27 21:04:17 -04:00
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