284 Commits

Author SHA1 Message Date
Chris Roberts
a08597d787 Tighten constraints on net-ssh to ensure functionality. Update patch
Keep the constraint on net-ssh tight so we can be confident that the
    patching will be successful and that a net-ssh release won't inadvertently
    cause our local updates to become non-functional.

    Fix patch to only update the behavior for RSA based keys when the server
    is recent enough to include the signature changes
2021-04-13 10:58:59 -07:00
sophia
6d9b48fec1 Bump vagrant_cloud gem 2021-03-18 14:47:02 -05:00
Dan Čermák
d996166098 Bump bcrypt_pbkdf version
There were no functional changes between 1.0.0 and 1.1.0:
b5d1a921fc...v1.1.0
so this update should be safe
2021-03-01 10:59:12 +01:00
Chris Roberts
034cb8c59e Update net-ssh constraint to non-prerelease version
To prevent resolution issues with the introduction
    of a prerelease constraint, update the net-ssh constraint
    to be a minimum at the latest release. Include monkey
    patches to include support for wanted host key algos.
    The monkey patches are only applied to the latest
    net-ssh currently and will be ignored once the current
    prerelease has been fully released.
2021-02-25 17:07:00 -08:00
Dan Čermák
d87ed23655
Bump listen gem version and remove ruby_dep
listen no longer depends on ruby_dep and thus this pointlessly drags in another
dependency.
2021-02-22 08:48:56 +01:00
sophia
acef4692af Bump vagrant cloud version 2021-02-19 14:16:07 -06:00
Dan Čermák
1916f69425
Update rake to ~> 13.0 2020-12-04 14:54:50 +01:00
Chris Roberts
b8e1460449 Bump net-ssh to 6.2 release client for host key algorithm fix 2020-11-05 16:30:15 -08:00
Chris Roberts
78d309a09b Update cloud command to use refactored library implementation
This PR is dependent on the 2.1.0 release of the vagrant_cloud
library. It updates the `cloud` command to use the new interface
for interacting with the Vagrant Cloud API. It also adds support
for direct to backend storage uploads, and defaults to this
method.

Also included is a bit of cleanup refactoring, addition of method
documentation, and fixing up some small issues around custom username
usage within the internal client for authentication.
2020-10-30 09:26:07 -07:00
sophia
e2f71dd55d Update mime gem 2020-10-28 15:57:45 -05:00
Chris Roberts
6d37138100
Merge pull request #11905 from mcandre/issue-11904
update rake
2020-09-22 11:35:30 -07:00
Andrew Pennebaker
c20c67123d update rake 2020-09-12 11:41:55 -05:00
Dan Čermák
ce8230ccfb
Switch from unmaintained gem erubis to erubi
Rails switched to erubi as well, as erubis has not seen any new releases since 2011.
2020-09-10 10:52:47 +02:00
Chris Roberts
9165f13c82 Relax constraint on listen dependency 2020-08-12 10:51:00 -07:00
Chris Roberts
203ebf59ad Update minimum Ruby constriant to 2.5 2020-08-10 13:05:41 -07:00
Chris Roberts
5003bb6e15 Updates to address all Ruby deprecations and warnings
This includes updates for resolving all warnings provided by Ruby
for deprecations and/or removed methods. It also enables support
for Ruby 2.7 in the specification constraint as all 2.7 related
warnings are resolved with this changeset.
2020-08-10 13:05:41 -07:00
Dan Čermák
af3053bbdf Bump version of net-ssh to ~> 6.0 and net-sftp to ~> 3.0 2020-08-06 16:34:19 -05:00
Sophia Castellarin
3708c86e6c
Merge pull request #11717 from soapy1/update-childprocess
Update childprocess to 4.0.0
2020-08-06 16:17:03 -05:00
Brian Cain
42718437ab
Initial commit of cloud_init setup action
This commit introduces a new builtin action for preparing and
configuring guests cloud_init configs as an iso to be attached later by
the disk actions
2020-06-29 11:00:16 -07:00
sophia
0dafc3c3ec Update childprocess to 4.0.0
This release drops support for ruby 2.3 and fixes the detach
behavior for Windows
ref: https://github.com/enkessler/childprocess/releases/tag/v4.0.0
2020-06-24 15:40:29 -05:00
Chris Roberts
0dec958961
Merge pull request #11339 from dcermak/bump_dependencies
Update some outdated gem versions
2020-04-17 09:07:56 -07:00
sophia
6502a8d9c3 Update childprocess gem
childprocess v 1.x includes a fix for encoding on Windows
https://github.com/enkessler/childprocess/pull/134
This was previously causing errors on Windows hosts
2020-04-02 12:50:33 -04:00
Chris Roberts
e430809cdd Update exit code value used for retry check - ArgumentException 2020-02-12 16:42:21 -08:00
Dan Čermák
8dab711037
Update some outdated gem versions 2020-02-04 15:37:34 +01:00
Chris Roberts
85e34039b9
Merge pull request #11181 from stefansundin/rubyzip-v1.3.0
Bump rubyzip to v1.3.0 to fix CVE-2019-16892
2019-11-12 13:31:11 -08:00
Stefan Sundin
48c893ee18 Bump rubyzip version to fix CVE-2019-16892. 2019-11-12 10:48:29 -08:00
Brian Cain
a8b99f422b
Merge pull request #10991 from dcermak/bump_rspec_its
Bump rspec-its dependency
2019-11-12 09:03:24 -08:00
Chris Roberts
687c601755 Update i18n dependency constraints
Loosen dependency constraints on the i18n library to allow
versions under 2.0.
2019-11-12 08:08:32 -08:00
Brian Cain
823c499dfb
Merge pull request #10969 from olleolleolle/patch-1
gemspec: drop rubyforge_project, it is EOL
2019-11-11 15:34:07 -08:00
Chris Roberts
3d026e84f2 Update constraint on vagrant_cloud for checksum support 2019-10-08 11:23:48 -07:00
Chris Roberts
5916b111a1 Update minimum Ruby version and remove EOL'd Rubies from test config 2019-10-05 10:24:20 -07:00
Dan Čermák
f056231deb
Bump rspec-its dependency 2019-08-05 11:25:20 +02:00
Olle Jonsson
55b364f87b
gemspec: drop rubyforge_project, it is EOL 2019-07-14 14:09:54 +02:00
Brian Cain
5d4c9ef8a7
Merge pull request #10513 from briancain/catch-invalid-version-errors-vagrant_cloud
Fixes #10509:  Catch InvalidVersion errors from vagrant_cloud client
2019-01-09 11:16:58 -08:00
Chris Roberts
c7a4b05ae7
Merge pull request #10579 from chrisroberts/e-ruby-version
Update ruby version support to include 2.6
2019-01-09 10:46:57 -08:00
Chris Roberts
5445c6c79f Update ruby version support to include 2.6 2019-01-09 09:56:23 -08:00
Piotr Kliczewski
0ad20f725b dependency: update net-ssh version
There is new net-ssh release [1] with a fix needed for vagrant-kubevirt.

Fixes: https://github.com/hashicorp/vagrant/issues/10421

[1] https://github.com/net-ssh/net-ssh/releases/tag/v5.1.0
2019-01-02 15:09:54 +01:00
Brian Cain
eaad94635c
Update vagrant_cloud dep for Vagrant
This commit moves up the vagrant_cloud dependency to take advantage of
the new error VagrantCloud::InvalidVersion for the publish command
2018-12-17 14:42:12 -08:00
Chris Roberts
d179e5e117 Update dependency constraint on i18n 2018-11-12 15:49:16 -08:00
Chris Roberts
04579e0ac7 Add support for ed25519 keys
The net-ssh library supports ed25519 keys but only if the required
dependencies are available. This adds the required dependencies.
2018-11-02 09:24:50 -07:00
Brian Cain
e70b871660
Introduce cloud command
This commit adds a new command to Vagrant called `cloud`. It handles any
and all interactions with the external service Vagrant Cloud.
2018-10-12 09:06:00 -07:00
Chris Roberts
48d358adcb Add winrm and upload commands 2018-10-04 13:26:41 -07:00
Chris Roberts
57e0bb5105 Update net-ssh constraint
Also includes mapping of verify_host_key value to new values
introduced in 5.0.0
2018-07-27 16:30:06 -07:00
Chris Roberts
87b8321702 Remove win32 dependencies 2018-06-12 13:54:37 -07:00
Chris Roberts
9731720773 Update generated ssh private key file permissions on create
This updates the permissions on the automatically generated private
key file to only be readable by the user. Includes support for file
permission modification on Windows platform.
2018-04-10 14:15:14 -07:00
Chris Roberts
d6f4eef698 Don't include test files within gem package 2018-02-28 10:08:01 -08:00
Chris Roberts
58f66ac8ce Add full checkpoint integration 2018-01-16 14:16:49 -08:00
Chris Roberts
4bfb34a2e0 Update Ruby version constraint 2018-01-12 12:46:59 -08:00
Brian Cain
c9e5a22bff (#9062) Deprecate :paranoid in favor of :verify_host_key
As of `net-ssh` version 4.2.0, the key :paranoid has been deprecated in
favor of using :verify_host_key. This commit updates Vagrants ssh config
to use the new key, and deprecates the use of :paranoid.
2018-01-05 10:02:45 -08:00
Brian Cain
8f9d424b15 Update ruby version in gemspec 2017-10-23 11:33:10 -07:00