kitchen-vagrant 1.9.0 → 1.10.0
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/lib/kitchen/driver/vagrant.rb +2 -2
- data/lib/kitchen/driver/vagrant_version.rb +1 -1
- data/templates/Vagrantfile.erb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 815108a6ad7d0bd1b6e9412fdc3bfa4dbcd9abf766220987626ea5f1f161a615
|
|
4
|
+
data.tar.gz: 0ebdcb9692042323d1f80187d46f7aeaa257853fe13e32414afbb442ab79699d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e11d633f0613eae79dd36e22a42021cbebbf2bc21a044fbb9eead88628c31b53dd6ee3708f5d12dcf6343b839bf8e38fe5c5b95bb6f9565203f4f28f32a0291
|
|
7
|
+
data.tar.gz: 399c9dcce487d3dfdcabb2eb83610c1be6512a75e649e2d8e45b3eb7f49b0af24f04da23497850edd553b0ffde420b27a577826d92ee04bf2a7763123ee66db8
|
|
@@ -245,7 +245,7 @@ module Kitchen
|
|
|
245
245
|
# box
|
|
246
246
|
# @api private
|
|
247
247
|
def bento_box?(name)
|
|
248
|
-
name =~ /^(centos|debian|fedora|freebsd|opensuse|ubuntu|oracle|hardenedbsd|amazonlinux|almalinux)-/
|
|
248
|
+
name =~ /^(centos|debian|fedora|freebsd|opensuse|ubuntu|oracle|hardenedbsd|amazonlinux|almalinux|rockylinux|springdalelinux)-/
|
|
249
249
|
end
|
|
250
250
|
|
|
251
251
|
# Returns whether or not the we expect the box to work with shared folders
|
|
@@ -256,7 +256,7 @@ module Kitchen
|
|
|
256
256
|
def safe_share?(box)
|
|
257
257
|
return false if /(hyperv|libvirt)/.match?(config[:provider])
|
|
258
258
|
|
|
259
|
-
box =~ %r{^bento/(centos|debian|fedora|opensuse|ubuntu|oracle|amazonlinux|almalinux)-}
|
|
259
|
+
box =~ %r{^bento/(centos|debian|fedora|opensuse|ubuntu|oracle|amazonlinux|almalinux|rockylinux|springdalelinux)-}
|
|
260
260
|
end
|
|
261
261
|
|
|
262
262
|
# Return true if we found the criteria to enable the cache_directory
|
data/templates/Vagrantfile.erb
CHANGED
|
@@ -173,7 +173,9 @@ Vagrant.configure("2") do |c|
|
|
|
173
173
|
<% if key == :createhd %>
|
|
174
174
|
<% value = [value] unless value.instance_of?(Array) %>
|
|
175
175
|
<% value.each do |item| %>
|
|
176
|
-
|
|
176
|
+
unless File.file?("<%= item[:filename] %>")
|
|
177
|
+
p.customize ["createhd", "--filename", "<%= item[:filename] %>", "--size", <%= item[:size] %>]
|
|
178
|
+
end
|
|
177
179
|
<% end %>
|
|
178
180
|
<% elsif key == :storageattach || key == :storagectl %>
|
|
179
181
|
<% value = [value] unless value.instance_of?(Array) %>
|
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.10.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: 2021-
|
|
11
|
+
date: 2021-08-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
63
|
version: '0'
|
|
64
64
|
requirements: []
|
|
65
|
-
rubygems_version: 3.2.
|
|
65
|
+
rubygems_version: 3.2.22
|
|
66
66
|
signing_key:
|
|
67
67
|
specification_version: 4
|
|
68
68
|
summary: Kitchen::Driver::Vagrant - A Vagrant Driver for Test Kitchen.
|