kitchen-vagrant 1.12.1 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/driver/vagrant.rb +3 -3
- data/lib/kitchen/driver/vagrant_version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0ce7acde9b6635252f4cf35323566421981f58c6d58a3e01e7d2be199b1c7f3
|
4
|
+
data.tar.gz: a7d6bcd2cd68db8c0971a8eb586439848266482ba4c8f0ea72cf0ef807e9072b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1074cc445a773d8e7d1b3bbc737d38bfb1aa4b1e2d89c7661eac07f7eaffe5a8594081c91f35aa1dd30338319de973b261bec0c67577a3e3ca65f3048aa3665e
|
7
|
+
data.tar.gz: cb33e9c6504e200bbfb340360800cd6c5ffdb4a57e208b445421c367a5dcc8875ecfde857e5ebda3521c06a280fc680b836f21d97ee4a45ccae7da0f09508ef6
|
@@ -125,7 +125,7 @@ module Kitchen
|
|
125
125
|
# @return [String,nil] the Vagrant box for this Instance
|
126
126
|
def default_box
|
127
127
|
if bento_box?(instance.platform.name)
|
128
|
-
"bento/#{instance.platform.name}"
|
128
|
+
"bento/#{instance.platform.name}#{"-arm64" if RbConfig::CONFIG["host_cpu"].eql?("arm64")}"
|
129
129
|
else
|
130
130
|
instance.platform.name
|
131
131
|
end
|
@@ -313,14 +313,14 @@ module Kitchen
|
|
313
313
|
def finalize_box_auto_update!
|
314
314
|
return if config[:box_auto_update].nil?
|
315
315
|
|
316
|
-
config[:box_auto_update] = "vagrant box update #{"--insecure " if config[:box_download_insecure]}--box #{config[:box]}"
|
316
|
+
config[:box_auto_update] = "vagrant box update #{"--insecure " if config[:box_download_insecure]}--box #{config[:box]} --provider #{config[:provider]}"
|
317
317
|
end
|
318
318
|
|
319
319
|
# Create vagrant command to remove older versions of the box
|
320
320
|
def finalize_box_auto_prune!
|
321
321
|
return if config[:box_auto_prune].nil?
|
322
322
|
|
323
|
-
config[:box_auto_prune] = "vagrant box prune --keep-active-boxes --name #{config[:box]}"
|
323
|
+
config[:box_auto_prune] = "vagrant box prune --keep-active-boxes --name #{config[:box]} --provider #{config[:provider]}"
|
324
324
|
end
|
325
325
|
|
326
326
|
# Replaces any `{{vagrant_root}}` tokens in the pre create command.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-vagrant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Nichol
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|
@@ -55,14 +55,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
55
|
requirements:
|
56
56
|
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: '2.
|
58
|
+
version: '2.7'
|
59
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0'
|
64
64
|
requirements: []
|
65
|
-
rubygems_version: 3.
|
65
|
+
rubygems_version: 3.3.3
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: Kitchen::Driver::Vagrant - A Vagrant Driver for Test Kitchen.
|