Commit Graph

10672 Commits

Author SHA1 Message Date
Gilles Cornu 8333090d1d
ansible: Refuse to run unit tests with an invalid config
With this change, a bug like #9173 can be detected.
2017-11-10 20:40:13 +01:00
Gilles Cornu e47deb7fd0
ansible: Fix broken 'ask_sudo_pass' option
This bug (invalid method call) hasn't been caught by unit tests because
Vagrant::Plugin::V2::Config catches all invalid/bad configuration calls
and save them for generating error messages during the "validate" stage.
This way, the `ask_sudo_pass=(value)` method was not interrupted and the
`@ask_become_pass` attribute was (surprisingly) correctly set (allowing
the related unit tests to pass).

In order to avoid similar problem to happen again, the deprecation
message output is now fully verified.
2017-11-09 18:17:04 +01:00
Justin Campbell 40d8dc4582 Add app.vagrantup.com to allowed auth hosts
This should allow users setting VAGRANT_SERVER_URL to app.vagrantup.com to authenticate to private boxes.
2017-11-07 10:35:16 -05:00
Justin Campbell c5266e98b8 Change allowed auth hosts to list 2017-11-07 10:32:33 -05:00
Benjamin Schiborr ee800cc7c2 provisioners/salt: #8991: Break if success
This commit ensures that we actually break when the download was
successful. Before it tried to download again for every iteration of the
loop. In addition the number of iterations have been increased. I've
experienced timeouts on third retry. Increasing to 5.
2017-11-06 13:56:11 -08:00
Bernard Pietraga b026be7cb3 Fix --output path with specified folder 2017-11-04 12:00:55 +01:00
Chris Roberts b3b98e77ed Update version for dev 2017-11-02 20:54:23 -07:00
Chris Roberts ff691b08ee Update website version to 2.0.1 and slug name 2017-11-02 20:52:59 -07:00
Chris Roberts 8e63cf84bc Release v2.0.1 2017-11-02 15:07:17 -07:00
Brian Cain 0e51422c01 Update CHANGELOG 2017-11-02 14:04:48 -07:00
Brian Cain 228bd95257
Merge pull request #9127 from briancain/parallel-destroy-flag
Introduce parallel destroy for certain providers
2017-11-02 14:04:03 -07:00
Chris Roberts 65055c8cdc Update CHANGELOG 2017-11-02 13:59:25 -07:00
Chris Roberts 9c2c83d781
Merge pull request #9135 from chrisroberts/e-ca-bundle
Use environment variable for CURL_CA_BUNDLE
2017-11-02 13:58:11 -07:00
Chris Roberts dee913a2e0 Update CHANGELOG 2017-11-02 12:59:37 -07:00
Chris Roberts fb4a1bf8e5
Merge pull request #9107 from chrisroberts/f-wsl-version-check
Check for vagrant.exe path before validating versions
2017-11-02 12:58:05 -07:00
Chris Roberts 06e3185eb1 Use `CURL_CA_BUNDLE` environment variable inplace of building path at runtime 2017-11-02 12:49:34 -07:00
Brian Cain ec43d3c308 Update destroy docs with new parallel flag 2017-11-02 10:16:44 -07:00
Brian Cain 8be2ae8e6a Add unit test for destroy command 2017-11-01 15:30:59 -07:00
Brian Cain d8bffd201f Add delay for parallel destroy without force, restructure state checking
This commit adds better messaging to the user if the parallel flag is
used without the force flag. It also makes the state checking based on
the delta between the initial and final states of the guests due to the
fact that there is no guarantee what the "destroyed" state id will be
between providers.
2017-10-31 13:52:07 -07:00
Brian Cain 2d7858ff8a Introduce parallel destroy for certain providers
This commit introduces parallel destroy using the batch action class for
the destroy command.
2017-10-31 11:29:40 -07:00
Justin Campbell 9a040b4a04 website: Fix 2FA nav anchor 2017-10-30 16:45:04 -04:00
Brian Cain 52824f20b4 Update CHANGELOG 2017-10-26 08:35:09 -07:00
Brian Cain f689411007 Merge pull request #9112 from sitepoint/wget_salt_dl
Attempt fetching salt bootstrap script with wget
2017-10-26 08:33:50 -07:00
Adam Bolte 511fac8162
Attempt fetching salt bootstrap script with wget
On Debian installations, wget is installed even into the most minimal
environment. Even Python support on Debian cannot be guaranteed if
Standard System Utilities was not selected at installation time (or if
debootstrap was used), which is why the retrieved bootstrap-salt.sh
script takes care of installing it prior to installing Salt.
2017-10-26 13:41:40 +11:00
Chris Roberts d422053fbc Check for vagrant.exe path before validating versions 2017-10-24 16:53:53 -07:00
Brian Cain 983313e8e5 Update CHANGELOG 2017-10-24 15:06:05 -07:00
Brian Cain 314e830d32 Merge pull request #9105 from briancain/include-winssh-commnicator
Include WinSSH Communicator
2017-10-24 15:02:01 -07:00
Brian Cain e9fa857f8b Merge pull request #9106 from briancain/fix-rspec-dep-warnings
Update rspec tests to remove deprecation warnings
2017-10-24 13:08:22 -07:00
Brian Cain 337b200d30 Update rspec tests to remove deprecation warnings 2017-10-24 12:08:38 -07:00
Brian Cain c7ec0a42a5 (#8941) Include WinSSH Communicator
This commit requires the winssh communicator class wihtin the public_key
capability for Windows. Prior to this commit users could run into a
situation where Vagrant would check if the machine could speak in WinSSH
and fail on an uninitialized constant.
2017-10-24 12:02:01 -07:00
Chris Roberts 0c8cf4c03c Update CHANGELOG 2017-10-23 16:59:50 -07:00
Chris Roberts fc7d2a3097 Merge pull request #8921 from lookfwd/fix_8608
fix for issue #8608/Windows hosts
2017-10-23 16:58:39 -07:00
Chris Roberts d8a68b7d85 Update CHANGELOG 2017-10-23 16:49:32 -07:00
Chris Roberts eaa518159c Merge pull request #8997 from bshurts/fix/winrm-apipa
Adding check for APIPA in winrm helper to fix #8996
2017-10-23 16:47:32 -07:00
Chris Roberts efdb2aa86c Update CHANGELOG 2017-10-23 15:44:24 -07:00
Chris Roberts 6eca74afc7 Merge pull request #9012 from benh57/winssh_communicator_fix
Fix guest network setup with winssh communicator
2017-10-23 15:41:53 -07:00
Brian Cain 72ba63d2b9 Update CHANGELOG 2017-10-23 13:44:33 -07:00
Brian Cain 89f8c31c76 Merge pull request #9102 from briancain/RUBY-24
Introduce Ruby 2.4 to Vagrant
2017-10-23 13:43:53 -07:00
Brian Cain 9de3ef0d89 Update ruby versions in travis
Remove ruby 2.2 and update to the latest ruby 2.3 for travis.
2017-10-23 13:16:59 -07:00
Brian Cain 832870ac0e Update travis cell to include ruby 2.4.2 2017-10-23 11:49:26 -07:00
Brian Cain 8f9d424b15 Update ruby version in gemspec 2017-10-23 11:33:10 -07:00
Vít Ondruch 408bc4e6be Do not use deprecated API. 2017-10-23 10:57:36 -07:00
Vít Ondruch 7187e6f909 Use Integer instead of Fixnum for Ruby 2.4+ compatibility. 2017-10-23 10:57:36 -07:00
Brian Cain 7a24f87f75 Update CHANGELOG 2017-10-23 10:34:25 -07:00
Brian Cain aa012c1604 Merge pull request #9100 from magicrootZ/patch-1
Update format.html.md
2017-10-23 10:33:33 -07:00
Brian Cain ed2dff5364 Update CHANGELOG 2017-10-23 08:45:26 -07:00
Brian Cain af125f01e4 Merge pull request #9065 from briancain/catch-epipes
Add Errno::EPIPE exception to ssh communicator
2017-10-23 08:44:09 -07:00
magicrootZ 80900f4d61 Update format.html.md
typo
2017-10-23 08:03:34 -07:00
Justin Campbell 881625006d Merge pull request #9076 from hashicorp/vagrant-cloud-api-docs
website: Vagrant Cloud API docs
2017-10-23 09:44:51 -04:00
Justin Campbell 1aaa03c1b0 website: Prefer Authorization over X-Atlas-Token 2017-10-20 17:10:31 -04:00