kitchen-inspec 2.4.0 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/verifier/inspec.rb +2 -1
- data/lib/kitchen/verifier/inspec_version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a71ae00ad94ec7e9f8009549d98f975a37a179d7e8d301ece990423dcb93f2b3
|
4
|
+
data.tar.gz: ca8df3a0cc12ea6c5bfc51cc0c766418d307fdf5e07635588a60d7a7ce79c4c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6738cd9bdd69535dfef6090121e3855ffa75ba5b5ddc493513273d18f36a207e3738fdc750ea71748eba6c59396c5337d52e7625462ed1ab1cf96628d74b5734
|
7
|
+
data.tar.gz: c96742cc5ec32716df3750144134ef75292a75e1ef0531229a5129afafa6b6b6a3500d3e57b3ee78ea7f0d27e2fcb5542d631d254118acf232ca62c2a41955a7
|
@@ -86,10 +86,10 @@ module Kitchen
|
|
86
86
|
# setup Inspec
|
87
87
|
::Inspec::Log.init(STDERR)
|
88
88
|
::Inspec::Log.level = Kitchen::Util.from_logger_level(logger.level)
|
89
|
+
load_plugins # Must load plugins prior to config validation
|
89
90
|
inspec_config = ::Inspec::Config.new(opts)
|
90
91
|
|
91
92
|
# handle plugins
|
92
|
-
load_plugins
|
93
93
|
setup_plugin_config(inspec_config)
|
94
94
|
|
95
95
|
# initialize runner
|
@@ -313,6 +313,7 @@ module Kitchen
|
|
313
313
|
opts["bastion_port"] = kitchen[:ssh_gateway_port] if kitchen[:ssh_gateway_port]
|
314
314
|
opts["key_files"] = kitchen[:keys] unless kitchen[:keys].nil?
|
315
315
|
opts["password"] = kitchen[:password] unless kitchen[:password].nil?
|
316
|
+
opts["forward_agent"] = config[:forward_agent] || kitchen[:forward_agent] if config[:forward_agent] || kitchen[:forward_agent]
|
316
317
|
opts
|
317
318
|
end
|
318
319
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-inspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef Software, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inspec
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 2.2.64
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 2.2.64
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: test-kitchen
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '2.7'
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '4'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '2.7'
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '4'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: hashie
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|