kitchen-vagrant 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbef5fa6546d02a6640139df510994167fc3aec4b38b483e20cf4ae9145d72ba
4
- data.tar.gz: facb440cf915760ddb4e85635b8a566cde4f6ac3a1fdb51fb59dad09a8acbdee
3
+ metadata.gz: 815108a6ad7d0bd1b6e9412fdc3bfa4dbcd9abf766220987626ea5f1f161a615
4
+ data.tar.gz: 0ebdcb9692042323d1f80187d46f7aeaa257853fe13e32414afbb442ab79699d
5
5
  SHA512:
6
- metadata.gz: ba40b559d0a0fcdd9b8c3559b2a69cb668ba3c7811efc6b7b002ca7fd97e8f94cea7f1b35c6cf89060621eb239ddfa9fbd04761f98f28e54d8c952a3dfda6e9c
7
- data.tar.gz: 2f99a8edd8f3349b54c290fdd250ad06e0e876569729a2355c91bbb606baef3f848f1d2a051a9150077623b443155eec87fd466ef57781d7db857bbeebc819d1
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
@@ -20,6 +20,6 @@ module Kitchen
20
20
  module Driver
21
21
 
22
22
  # Version string for Vagrant Kitchen driver
23
- VAGRANT_VERSION = "1.9.0".freeze
23
+ VAGRANT_VERSION = "1.10.0".freeze
24
24
  end
25
25
  end
@@ -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
- p.customize ["createhd", "--filename", "<%= item[:filename] %>", "--size", <%= item[:size] %>]
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.9.0
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-07-02 00:00:00.000000000 Z
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.15
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.