vagrant 2.4.4 → 2.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/vagrant/bundler.rb +8 -6
- data/plugins/communicators/none/communicator.rb +46 -0
- data/plugins/communicators/none/plugin.rb +26 -0
- data/vagrant.gemspec +0 -3
- data/version.txt +1 -1
- metadata +4 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 771bdb811142a04fbad06beadeec9a489d9200fc3649f7611600d189a5bae1cd
|
4
|
+
data.tar.gz: 9539cc14227d6eb0935f7eabd4808a8304b3ae890febad6d5dd15951c3d54663
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 961e6ece9c756db4b34d8ac2cad08d13dfacdcb5089506d00274c2b903fe6ded75f22c956ea80a3487ed905e3a2882d1b5b1290b801e8bfdbe7a647aa0df70c1
|
7
|
+
data.tar.gz: 77ac150c7313b57b7abe9541da461dc8642488333baafe48ca2404b080fd5941068159ef5971819b61cf8b907a477ba02a816376cfeea6a424a0dd169472047e
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,15 @@
|
|
1
|
-
## 2.4.
|
1
|
+
## 2.4.5 (April 23, 2025)
|
2
2
|
|
3
3
|
FEATURES:
|
4
4
|
|
5
|
+
- communicator/none: Add experimental none communicator [GH-13651]
|
6
|
+
|
7
|
+
BUG FIXES:
|
8
|
+
|
9
|
+
- core/bundler: Handle multiple versions for system specifications [GH-13652]
|
10
|
+
|
11
|
+
## 2.4.4 (April 21, 2025)
|
12
|
+
|
5
13
|
IMPROVEMENTS:
|
6
14
|
|
7
15
|
- communicator/ssh: Update connect retry behavior, make configurable [GH-13628]
|
data/lib/vagrant/bundler.rb
CHANGED
@@ -549,8 +549,10 @@ module Vagrant
|
|
549
549
|
@logger.debug("Disabling strict dependency enforcement")
|
550
550
|
end
|
551
551
|
|
552
|
-
|
553
|
-
"#{
|
552
|
+
dep_list = plugin_deps.sort_by(&:name).map { |d|
|
553
|
+
"#{d.name} #{d.requirement}"
|
554
|
+
}.join("\n - ")
|
555
|
+
@logger.debug("Dependency list for installation:\n - #{dep_list}")
|
554
556
|
|
555
557
|
all_sources = source_list.values.flatten.uniq
|
556
558
|
default_sources = DEFAULT_GEM_SOURCES & all_sources
|
@@ -680,11 +682,11 @@ module Vagrant
|
|
680
682
|
directories = [spec_dir]
|
681
683
|
if Vagrant.in_bundler?
|
682
684
|
Gem::Specification.find_all{true}.each do |spec|
|
683
|
-
list[spec.
|
685
|
+
list[spec.name] = spec
|
684
686
|
end
|
685
687
|
else
|
686
688
|
builtin_specs.each do |spec|
|
687
|
-
list[spec.
|
689
|
+
list[spec.name] = spec
|
688
690
|
end
|
689
691
|
end
|
690
692
|
if Vagrant.in_installer?
|
@@ -693,8 +695,8 @@ module Vagrant
|
|
693
695
|
end
|
694
696
|
end
|
695
697
|
Gem::Specification.each_spec(directories) do |spec|
|
696
|
-
if !list[spec.
|
697
|
-
list[spec.
|
698
|
+
if !list[spec.name] || list[spec.name].version < spec.version
|
699
|
+
list[spec.name] = spec
|
698
700
|
end
|
699
701
|
end
|
700
702
|
list.values
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Copyright (c) HashiCorp, Inc.
|
2
|
+
# SPDX-License-Identifier: BUSL-1.1
|
3
|
+
|
4
|
+
require "log4r"
|
5
|
+
require "vagrant"
|
6
|
+
|
7
|
+
module VagrantPlugins
|
8
|
+
module CommunicatorNone
|
9
|
+
# This class provides no communication with the VM.
|
10
|
+
# It allows Vagrant to manage a machine lifecycle
|
11
|
+
# while not actually connecting to it. The communicator
|
12
|
+
# stubs out all methods to be successful allowing
|
13
|
+
# Vagrant to proceed "as normal" without actually
|
14
|
+
# doing anything.
|
15
|
+
class Communicator < Vagrant.plugin("2", :communicator)
|
16
|
+
def self.match?(_)
|
17
|
+
# Any machine can be not communicated with
|
18
|
+
true
|
19
|
+
end
|
20
|
+
|
21
|
+
def initialize(_)
|
22
|
+
@logger = Log4r::Logger.new(self.class.name.downcase)
|
23
|
+
end
|
24
|
+
|
25
|
+
def ready?
|
26
|
+
@logger.debug("#ready? stub called on none")
|
27
|
+
true
|
28
|
+
end
|
29
|
+
|
30
|
+
def execute(*_)
|
31
|
+
@logger.debug("#execute stub called on none")
|
32
|
+
0
|
33
|
+
end
|
34
|
+
|
35
|
+
def sudo(*_)
|
36
|
+
@logger.debug("#sudo stub called on none")
|
37
|
+
0
|
38
|
+
end
|
39
|
+
|
40
|
+
def test(*_)
|
41
|
+
@logger.debug("#test stub called on none")
|
42
|
+
true
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) HashiCorp, Inc.
|
2
|
+
# SPDX-License-Identifier: BUSL-1.1
|
3
|
+
|
4
|
+
require "vagrant"
|
5
|
+
|
6
|
+
module VagrantPlugins
|
7
|
+
Vagrant::Util::Experimental.guard_with(:none_communicator) do
|
8
|
+
module CommunicatorNone
|
9
|
+
class Plugin < Vagrant.plugin("2")
|
10
|
+
name "none communicator"
|
11
|
+
description <<-DESC
|
12
|
+
This plugin provides no communication to remote machines.
|
13
|
+
It allows Vagrant to manage remote machines without the
|
14
|
+
ability to connect to them for configuration/provisioning.
|
15
|
+
Any calls to methods provided by this communicator will
|
16
|
+
always be successful.
|
17
|
+
DESC
|
18
|
+
|
19
|
+
communicator("none") do
|
20
|
+
require File.expand_path("../communicator", __FILE__)
|
21
|
+
Communicator
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/vagrant.gemspec
CHANGED
@@ -21,8 +21,6 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_dependency "csv", "~> 3.3"
|
22
22
|
s.add_dependency "ed25519", "~> 1.3.0"
|
23
23
|
s.add_dependency "erubi"
|
24
|
-
s.add_dependency 'googleapis-common-protos-types', '~> 1.3'
|
25
|
-
s.add_dependency "grpc", "~> 1.62"
|
26
24
|
s.add_dependency "hashicorp-checkpoint", "~> 0.1.5"
|
27
25
|
s.add_dependency "i18n", "~> 1.12"
|
28
26
|
s.add_dependency "listen", "~> 3.7"
|
@@ -36,7 +34,6 @@ Gem::Specification.new do |s|
|
|
36
34
|
s.add_dependency "ostruct", "~> 0.6.0"
|
37
35
|
s.add_dependency "rb-kqueue", "~> 0.2.0"
|
38
36
|
s.add_dependency "rexml", "~> 3.2"
|
39
|
-
s.add_dependency "rgl", "~> 0.5.10"
|
40
37
|
s.add_dependency "rubyzip", "~> 2.3.2"
|
41
38
|
s.add_dependency "vagrant_cloud", "~> 3.1.2"
|
42
39
|
s.add_dependency "wdm", "~> 0.2.0"
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4.
|
1
|
+
2.4.5
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitchell Hashimoto
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-04-
|
12
|
+
date: 2025-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: base64
|
@@ -95,34 +95,6 @@ dependencies:
|
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: googleapis-common-protos-types
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - "~>"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '1.3'
|
105
|
-
type: :runtime
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - "~>"
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '1.3'
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: grpc
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '1.62'
|
119
|
-
type: :runtime
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - "~>"
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '1.62'
|
126
98
|
- !ruby/object:Gem::Dependency
|
127
99
|
name: hashicorp-checkpoint
|
128
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -311,20 +283,6 @@ dependencies:
|
|
311
283
|
- - "~>"
|
312
284
|
- !ruby/object:Gem::Version
|
313
285
|
version: '3.2'
|
314
|
-
- !ruby/object:Gem::Dependency
|
315
|
-
name: rgl
|
316
|
-
requirement: !ruby/object:Gem::Requirement
|
317
|
-
requirements:
|
318
|
-
- - "~>"
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: 0.5.10
|
321
|
-
type: :runtime
|
322
|
-
prerelease: false
|
323
|
-
version_requirements: !ruby/object:Gem::Requirement
|
324
|
-
requirements:
|
325
|
-
- - "~>"
|
326
|
-
- !ruby/object:Gem::Version
|
327
|
-
version: 0.5.10
|
328
286
|
- !ruby/object:Gem::Dependency
|
329
287
|
name: rubyzip
|
330
288
|
requirement: !ruby/object:Gem::Requirement
|
@@ -888,6 +846,8 @@ files:
|
|
888
846
|
- plugins/commands/winrm/plugin.rb
|
889
847
|
- plugins/commands/winrm_config/command.rb
|
890
848
|
- plugins/commands/winrm_config/plugin.rb
|
849
|
+
- plugins/communicators/none/communicator.rb
|
850
|
+
- plugins/communicators/none/plugin.rb
|
891
851
|
- plugins/communicators/ssh/communicator.rb
|
892
852
|
- plugins/communicators/ssh/plugin.rb
|
893
853
|
- plugins/communicators/winrm/command_filter.rb
|