kitchen-vagrant 1.7.0 → 1.7.1
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/helpers.rb +3 -3
- data/lib/kitchen/driver/vagrant.rb +5 -6
- data/lib/kitchen/driver/vagrant_version.rb +1 -2
- 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: 6eea2b13ae661430bd3bb6d2f860790e92073f3e4c73953c7158524b6883fe78
|
|
4
|
+
data.tar.gz: 71492f51d07e28547642bd2cbbf0412e592b89101883a4b707f4758e7127ea47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50493706587595344c62f3c19b44884c9a890a1f4dfad1e3566ab76f01dae6df0f8acf17a39bbc3b9b6925d3dda1f6a6a9984c6e64b95de8c999f7ec5c7f8735
|
|
7
|
+
data.tar.gz: bdbb2f2e15af0418a526ba5386affe68bf96dccc376d01c4bed55112648ae67e4a5c8356d0e4bc0cf49b5165fa0313c4d8a0c784cb16d42a650a2e5669889f22
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
# See the License for the specific language governing permissions and
|
|
16
16
|
# limitations under the License.
|
|
17
17
|
|
|
18
|
-
require "mixlib/shellout"
|
|
19
|
-
require "fileutils"
|
|
20
|
-
require "json"
|
|
18
|
+
require "mixlib/shellout" unless defined?(Mixlib::ShellOut)
|
|
19
|
+
require "fileutils" unless defined?(FileUtils)
|
|
20
|
+
require "json" unless defined?(JSON)
|
|
21
21
|
|
|
22
22
|
module Kitchen
|
|
23
23
|
module Driver
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
1
|
#
|
|
3
2
|
# Author:: Fletcher Nichol (<fnichol@nichol.ca>)
|
|
4
3
|
#
|
|
@@ -16,8 +15,8 @@
|
|
|
16
15
|
# See the License for the specific language governing permissions and
|
|
17
16
|
# limitations under the License.
|
|
18
17
|
|
|
19
|
-
require "erb"
|
|
20
|
-
require "fileutils"
|
|
18
|
+
require "erb" unless defined?(Erb)
|
|
19
|
+
require "fileutils" unless defined?(FileUtils)
|
|
21
20
|
require "rubygems/version"
|
|
22
21
|
|
|
23
22
|
require "kitchen"
|
|
@@ -255,7 +254,7 @@ module Kitchen
|
|
|
255
254
|
# shared folders
|
|
256
255
|
# @api private
|
|
257
256
|
def safe_share?(box)
|
|
258
|
-
return false if
|
|
257
|
+
return false if /(hyperv|libvirt)/.match?(config[:provider])
|
|
259
258
|
|
|
260
259
|
box =~ %r{^bento/(centos|debian|fedora|opensuse|ubuntu|oracle|amazonlinux)-}
|
|
261
260
|
end
|
|
@@ -311,14 +310,14 @@ module Kitchen
|
|
|
311
310
|
def finalize_box_auto_update!
|
|
312
311
|
return if config[:box_auto_update].nil?
|
|
313
312
|
|
|
314
|
-
config[:box_auto_update] = "vagrant box update #{
|
|
313
|
+
config[:box_auto_update] = "vagrant box update #{"--insecure " if config[:box_download_insecure]}--box #{config[:box]}"
|
|
315
314
|
end
|
|
316
315
|
|
|
317
316
|
# Create vagrant command to remove older versions of the box
|
|
318
317
|
def finalize_box_auto_prune!
|
|
319
318
|
return if config[:box_auto_prune].nil?
|
|
320
319
|
|
|
321
|
-
config[:box_auto_prune] = "vagrant box prune --name #{config[:box]}"
|
|
320
|
+
config[:box_auto_prune] = "vagrant box prune --keep-active-boxes --name #{config[:box]}"
|
|
322
321
|
end
|
|
323
322
|
|
|
324
323
|
# Replaces any `{{vagrant_root}}` tokens in the pre create command.
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
1
|
#
|
|
3
2
|
# Author:: Fletcher Nichol (<fnichol@nichol.ca>)
|
|
4
3
|
#
|
|
@@ -21,6 +20,6 @@ module Kitchen
|
|
|
21
20
|
module Driver
|
|
22
21
|
|
|
23
22
|
# Version string for Vagrant Kitchen driver
|
|
24
|
-
VAGRANT_VERSION = "1.7.
|
|
23
|
+
VAGRANT_VERSION = "1.7.1".freeze
|
|
25
24
|
end
|
|
26
25
|
end
|
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.7.
|
|
4
|
+
version: 1.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fletcher Nichol
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
132
132
|
- !ruby/object:Gem::Version
|
|
133
133
|
version: '0'
|
|
134
134
|
requirements: []
|
|
135
|
-
rubygems_version: 3.1.
|
|
135
|
+
rubygems_version: 3.1.4
|
|
136
136
|
signing_key:
|
|
137
137
|
specification_version: 4
|
|
138
138
|
summary: Kitchen::Driver::Vagrant - A Vagrant Driver for Test Kitchen.
|