kitchen-inspec 0.24.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/kitchen/verifier/inspec_version.rb +2 -2
- metadata +6 -19
- data/.github/CODEOWNERS +0 -3
- data/.gitignore +0 -11
- data/.kitchen.yml +0 -82
- data/.rspec +0 -2
- data/.travis.yml +0 -41
- data/Berksfile +0 -8
- data/CHANGELOG.md +0 -460
- data/Gemfile +0 -37
- data/Guardfile +0 -23
- data/MAINTAINERS.md +0 -13
- data/README.md +0 -275
- data/Rakefile +0 -129
- data/kitchen-inspec.gemspec +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 691234633d630f41c61ad1fab8b9cdc800a85e4af0a0dca4ee5f038394bee2ad
|
4
|
+
data.tar.gz: 9e53307ae727ccf3fa28a183d6c2fc84a97600b60a092de40fd3a34ff1e9711f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49b56459262330ee514911a5c5274c30bbdcde9a2bced76339c24594d0d1f1e5973bcd4ea845622255ea27813ba08f5501d5ed8e6675cf2d967c503053466e9b
|
7
|
+
data.tar.gz: 15802e509fe1acba867b0a7b29c10acdce42324feb491d6c030c14fa158309245c193cf0587da97f53c4a7da28d1156ade7eec22256532307d8c27648b8952b2
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Author:: Fletcher Nichol (<fnichol@chef.io>)
|
4
4
|
# Author:: Christoph Hartmann (<chartmann@chef.io>)
|
5
5
|
#
|
6
|
-
# Copyright (C) 2015, Chef Software Inc.
|
6
|
+
# Copyright (C) 2015-2018, Chef Software Inc.
|
7
7
|
#
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
9
9
|
# you may not use this file except in compliance with the License.
|
@@ -20,6 +20,6 @@
|
|
20
20
|
module Kitchen
|
21
21
|
module Verifier
|
22
22
|
# Version string for InSpec Kitchen verifier
|
23
|
-
INSPEC_VERSION = "0.
|
23
|
+
INSPEC_VERSION = "0.25.0"
|
24
24
|
end
|
25
25
|
end
|
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: 0.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Nichol
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-23 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: 0.34.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 4.0.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: 0.34.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 4.0.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: test-kitchen
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,22 +65,9 @@ executables: []
|
|
65
65
|
extensions: []
|
66
66
|
extra_rdoc_files: []
|
67
67
|
files:
|
68
|
-
- ".github/CODEOWNERS"
|
69
|
-
- ".gitignore"
|
70
|
-
- ".kitchen.yml"
|
71
|
-
- ".rspec"
|
72
|
-
- ".travis.yml"
|
73
|
-
- Berksfile
|
74
|
-
- CHANGELOG.md
|
75
|
-
- Gemfile
|
76
|
-
- Guardfile
|
77
68
|
- LICENSE
|
78
|
-
- MAINTAINERS.md
|
79
|
-
- README.md
|
80
|
-
- Rakefile
|
81
69
|
- bin/console
|
82
70
|
- bin/setup
|
83
|
-
- kitchen-inspec.gemspec
|
84
71
|
- lib/kitchen/verifier/inspec.rb
|
85
72
|
- lib/kitchen/verifier/inspec_version.rb
|
86
73
|
homepage: http://github.com/inspec/kitchen-inspec
|
@@ -103,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
90
|
version: '0'
|
104
91
|
requirements: []
|
105
92
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.6
|
93
|
+
rubygems_version: 2.7.6
|
107
94
|
signing_key:
|
108
95
|
specification_version: 4
|
109
96
|
summary: A Test Kitchen Verifier for InSpec
|
data/.github/CODEOWNERS
DELETED
data/.gitignore
DELETED
data/.kitchen.yml
DELETED
@@ -1,82 +0,0 @@
|
|
1
|
-
---
|
2
|
-
driver:
|
3
|
-
name: dokken
|
4
|
-
|
5
|
-
transport:
|
6
|
-
name: dokken
|
7
|
-
|
8
|
-
provisioner:
|
9
|
-
name: dokken
|
10
|
-
|
11
|
-
verifier:
|
12
|
-
name: inspec
|
13
|
-
sudo: true
|
14
|
-
|
15
|
-
platforms:
|
16
|
-
- name: ubuntu
|
17
|
-
driver:
|
18
|
-
image: ubuntu:14.04
|
19
|
-
|
20
|
-
suites:
|
21
|
-
- name: default
|
22
|
-
run_list:
|
23
|
-
- recipe[os_prepare]
|
24
|
-
- name: profile
|
25
|
-
run_list:
|
26
|
-
- recipe[os_prepare]
|
27
|
-
- name: contains_inspec
|
28
|
-
run_list:
|
29
|
-
- recipe[os_prepare]
|
30
|
-
verifier:
|
31
|
-
inspec_tests:
|
32
|
-
- name: tmp
|
33
|
-
git: https://github.com/nathenharvey/tmp_compliance_profile.git
|
34
|
-
- name: supermarket
|
35
|
-
run_list:
|
36
|
-
- recipe[apt]
|
37
|
-
- recipe[ssh-hardening]
|
38
|
-
verifier:
|
39
|
-
inspec_tests:
|
40
|
-
- name: dev-sec/ssh-baseline
|
41
|
-
- name: backwards
|
42
|
-
run_list:
|
43
|
-
- recipe[os_prepare]
|
44
|
-
verifier:
|
45
|
-
inspec_tests:
|
46
|
-
- https://github.com/nathenharvey/tmp_compliance_profile.git
|
47
|
-
- name: duplicates
|
48
|
-
run_list:
|
49
|
-
- recipe[os_prepare]
|
50
|
-
verifier:
|
51
|
-
inspec_tests:
|
52
|
-
- path: ./test/integration/duplicates
|
53
|
-
- path: ./test/integration/duplicates
|
54
|
-
- name: attributes_inline
|
55
|
-
run_list:
|
56
|
-
- recipe[os_prepare]
|
57
|
-
verifier:
|
58
|
-
inspec_tests:
|
59
|
-
- path: ./test/integration/attributes
|
60
|
-
attributes:
|
61
|
-
user: bob
|
62
|
-
password: secret
|
63
|
-
- name: attributes_file
|
64
|
-
run_list:
|
65
|
-
- recipe[os_prepare]
|
66
|
-
verifier:
|
67
|
-
inspec_tests:
|
68
|
-
- test/integration/attributes
|
69
|
-
# - path: ./test/integration/attributes
|
70
|
-
attrs:
|
71
|
-
- test/integration/profile-attribute.yml
|
72
|
-
# before you are able to use the compliance plugin, you need to run
|
73
|
-
# insecure is only required if you use self-signed certificates
|
74
|
-
# $ inspec compliance login https://compliance.test --user admin --insecure --token ''
|
75
|
-
- name: compliance
|
76
|
-
run_list:
|
77
|
-
- recipe[apt]
|
78
|
-
- recipe[ssh-hardening]
|
79
|
-
verifier:
|
80
|
-
inspec_tests:
|
81
|
-
- name: ssh
|
82
|
-
compliance: base/ssh
|
data/.rspec
DELETED
data/.travis.yml
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
sudo: required
|
2
|
-
branches:
|
3
|
-
only:
|
4
|
-
- master
|
5
|
-
language: ruby
|
6
|
-
cache: bundler
|
7
|
-
services:
|
8
|
-
- docker
|
9
|
-
bundler_args: "--without integration guard tools"
|
10
|
-
before_install:
|
11
|
-
- gem update --system
|
12
|
-
- gem --version
|
13
|
-
- rvm @global do gem install bundler
|
14
|
-
- bundle --version
|
15
|
-
matrix:
|
16
|
-
include:
|
17
|
-
- rvm: 2.3.7
|
18
|
-
- rvm: 2.4.4
|
19
|
-
bundler_args: "--without guard tools"
|
20
|
-
script: bundle exec rake $SUITE
|
21
|
-
env: SUITE="test:integration" OS='default profile contains_inspec'
|
22
|
-
- rvm: 2.4.4
|
23
|
-
bundler_args: "--without guard tools"
|
24
|
-
script: bundle exec rake $SUITE
|
25
|
-
env: SUITE="test:integration" OS='backwards'
|
26
|
-
- rvm: 2.4.4
|
27
|
-
bundler_args: "--without guard tools"
|
28
|
-
script: bundle exec rake $SUITE
|
29
|
-
env: SUITE="test:integration" OS='duplicates'
|
30
|
-
- rvm: 2.4.4
|
31
|
-
bundler_args: "--without guard tools"
|
32
|
-
script: bundle exec rake $SUITE
|
33
|
-
env: SUITE="test:integration" OS='supermarket'
|
34
|
-
- rvm: 2.4.4
|
35
|
-
bundler_args: "--without guard tools"
|
36
|
-
script: bundle exec rake $SUITE
|
37
|
-
env: SUITE="test:integration" OS='attributes-inline attributes-file'
|
38
|
-
- rvm: 2.5.1
|
39
|
-
- rvm: ruby-head
|
40
|
-
allow_failures:
|
41
|
-
- rvm: ruby-head
|
data/Berksfile
DELETED
data/CHANGELOG.md
DELETED
@@ -1,460 +0,0 @@
|
|
1
|
-
# Change Log
|
2
|
-
|
3
|
-
## [0.24.0](https://github.com/chef/kitchen-inspec/tree/0.24.0) (2018-09-21)
|
4
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.23.1...0.24.0)
|
5
|
-
|
6
|
-
**Fixed bugs:**
|
7
|
-
|
8
|
-
- supermarket\_url is not working [\#173](https://github.com/inspec/kitchen-inspec/issues/173)
|
9
|
-
- InSpec verifier in Test Kitchen does not support the new reporter output [\#164](https://github.com/inspec/kitchen-inspec/issues/164)
|
10
|
-
- Incompatible character encodings: UTF-8 and ASCII-8BIT while crawling a page which contains UTF Characters. [\#146](https://github.com/inspec/kitchen-inspec/issues/146)
|
11
|
-
|
12
|
-
**Closed issues:**
|
13
|
-
|
14
|
-
- %{platform} and %{suite} placeholders on reporter option are being applied wrong, it doesn't work at all now [\#202](https://github.com/inspec/kitchen-inspec/issues/202)
|
15
|
-
- Can't use InSpec AWS resources due to Gem dependency constraint [\#185](https://github.com/inspec/kitchen-inspec/issues/185)
|
16
|
-
- incompatible character encodings: UTF-8 and ASCII-8BIT when trying to match systemd units status [\#180](https://github.com/inspec/kitchen-inspec/issues/180)
|
17
|
-
- 0.22.0 breaks transport-rsync [\#160](https://github.com/inspec/kitchen-inspec/issues/160)
|
18
|
-
|
19
|
-
**Merged pull requests:**
|
20
|
-
|
21
|
-
- followup fix for \#190 [\#209](https://github.com/inspec/kitchen-inspec/pull/209) ([chris-rock](https://github.com/chris-rock))
|
22
|
-
- Add some testing around the reporter format replacements [\#205](https://github.com/inspec/kitchen-inspec/pull/205) ([jquick](https://github.com/jquick))
|
23
|
-
- Fix platform and suite placeholders being applied incorrectly on reporter option [\#203](https://github.com/inspec/kitchen-inspec/pull/203) ([wiebe](https://github.com/wiebe))
|
24
|
-
- Allow %{platform} and %{suite} placeholders for reporter option [\#200](https://github.com/inspec/kitchen-inspec/pull/200) ([MrWong99](https://github.com/MrWong99))
|
25
|
-
- Don't use deprecated format feature in README [\#199](https://github.com/inspec/kitchen-inspec/pull/199) ([MrWong99](https://github.com/MrWong99))
|
26
|
-
- Reshuffle the readme and add proxy/supermarket examples [\#190](https://github.com/inspec/kitchen-inspec/pull/190) ([tas50](https://github.com/tas50))
|
27
|
-
- Remove workaround for Ruby \< 2.0 [\#188](https://github.com/inspec/kitchen-inspec/pull/188) ([tas50](https://github.com/tas50))
|
28
|
-
- Update ruby version in travis [\#187](https://github.com/inspec/kitchen-inspec/pull/187) ([tas50](https://github.com/tas50))
|
29
|
-
- Update URLs for inspec not chef [\#186](https://github.com/inspec/kitchen-inspec/pull/186) ([tas50](https://github.com/tas50))
|
30
|
-
- Add the 'reporter' configuration option to kitchen-inspec [\#183](https://github.com/inspec/kitchen-inspec/pull/183) ([tim-pringle](https://github.com/tim-pringle))
|
31
|
-
- Add proxy\_command transport setting to inspec runner [\#176](https://github.com/inspec/kitchen-inspec/pull/176) ([tschroeder-zendesk](https://github.com/tschroeder-zendesk))
|
32
|
-
- add support for private supermarkets [\#174](https://github.com/inspec/kitchen-inspec/pull/174) ([chris-rock](https://github.com/chris-rock))
|
33
|
-
- Add support for the exec driver/transport [\#172](https://github.com/inspec/kitchen-inspec/pull/172) ([RoboticCheese](https://github.com/RoboticCheese))
|
34
|
-
|
35
|
-
## [v0.23.1](https://github.com/chef/kitchen-inspec/tree/v0.23.1) (2018-03-05)
|
36
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.23.0...v0.23.1)
|
37
|
-
|
38
|
-
**Fixed bugs:**
|
39
|
-
|
40
|
-
- Add inspec exit code 101 to the approved list [\#170](https://github.com/inspec/kitchen-inspec/pull/170) ([jquick](https://github.com/jquick))
|
41
|
-
|
42
|
-
**Merged pull requests:**
|
43
|
-
|
44
|
-
- Release kitchen inspec 0.23.1 [\#171](https://github.com/inspec/kitchen-inspec/pull/171) ([jquick](https://github.com/jquick))
|
45
|
-
- Fix inspec profile doc URL in README [\#166](https://github.com/inspec/kitchen-inspec/pull/166) ([james-stocks](https://github.com/james-stocks))
|
46
|
-
|
47
|
-
## [v0.23.0](https://github.com/chef/kitchen-inspec/tree/v0.23.0) (2018-02-28)
|
48
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.22.0...v0.23.0)
|
49
|
-
|
50
|
-
**Closed issues:**
|
51
|
-
|
52
|
-
- InSpec 2.0.x is using a higher-version of concurrent-ruby 1.0 [\#165](https://github.com/inspec/kitchen-inspec/issues/165)
|
53
|
-
|
54
|
-
**Merged pull requests:**
|
55
|
-
|
56
|
-
- Release kitchen inspec 0.23.0 [\#169](https://github.com/inspec/kitchen-inspec/pull/169) ([jquick](https://github.com/jquick))
|
57
|
-
- Update kitchen inspec to support inspec 2.0. [\#168](https://github.com/inspec/kitchen-inspec/pull/168) ([jquick](https://github.com/jquick))
|
58
|
-
- Fix travis-ci bundler issue [\#162](https://github.com/inspec/kitchen-inspec/pull/162) ([jquick](https://github.com/jquick))
|
59
|
-
|
60
|
-
## [v0.22.0](https://github.com/chef/kitchen-inspec/tree/v0.22.0) (2018-01-17)
|
61
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.21.0...v0.22.0)
|
62
|
-
|
63
|
-
**Fixed bugs:**
|
64
|
-
|
65
|
-
- Can't use Branch for verifier [\#157](https://github.com/inspec/kitchen-inspec/issues/157)
|
66
|
-
|
67
|
-
**Merged pull requests:**
|
68
|
-
|
69
|
-
- Release v0.22.0 [\#159](https://github.com/inspec/kitchen-inspec/pull/159) ([adamleff](https://github.com/adamleff))
|
70
|
-
- git fetcher: support branch/tag/ref [\#158](https://github.com/inspec/kitchen-inspec/pull/158) ([adamleff](https://github.com/adamleff))
|
71
|
-
|
72
|
-
## [v0.21.0](https://github.com/chef/kitchen-inspec/tree/v0.21.0) (2017-12-12)
|
73
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.20.0...v0.21.0)
|
74
|
-
|
75
|
-
**Implemented enhancements:**
|
76
|
-
|
77
|
-
- Support use of SSH agent without requiring a key path to be set [\#142](https://github.com/inspec/kitchen-inspec/issues/142)
|
78
|
-
|
79
|
-
**Closed issues:**
|
80
|
-
|
81
|
-
- Expose --backend-cache command-line option [\#154](https://github.com/inspec/kitchen-inspec/issues/154)
|
82
|
-
- kitchen-inspec fails to configure HTTPS winrm for inspec [\#152](https://github.com/inspec/kitchen-inspec/issues/152)
|
83
|
-
|
84
|
-
**Merged pull requests:**
|
85
|
-
|
86
|
-
- Add the InSpec backend\_cache option [\#155](https://github.com/inspec/kitchen-inspec/pull/155) ([jquick](https://github.com/jquick))
|
87
|
-
- correctly configure HTTPS WinRM [\#153](https://github.com/inspec/kitchen-inspec/pull/153) ([joekhoobyar](https://github.com/joekhoobyar))
|
88
|
-
- Allow extending which transports are supported by kitchen-inspec [\#149](https://github.com/inspec/kitchen-inspec/pull/149) ([coderanger](https://github.com/coderanger))
|
89
|
-
|
90
|
-
## [v0.20.0](https://github.com/chef/kitchen-inspec/tree/v0.20.0) (2017-11-13)
|
91
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.19.0...v0.20.0)
|
92
|
-
|
93
|
-
**Implemented enhancements:**
|
94
|
-
|
95
|
-
- Reuse the same test for multiple test suites in one cookbook [\#97](https://github.com/inspec/kitchen-inspec/issues/97)
|
96
|
-
- show test and result in the log [\#44](https://github.com/inspec/kitchen-inspec/issues/44)
|
97
|
-
- Remove the restriction of `\_spec` file [\#14](https://github.com/inspec/kitchen-inspec/issues/14)
|
98
|
-
|
99
|
-
**Fixed bugs:**
|
100
|
-
|
101
|
-
- Kitchen verify fails with the kitchen-docker plugin [\#83](https://github.com/inspec/kitchen-inspec/issues/83)
|
102
|
-
|
103
|
-
**Closed issues:**
|
104
|
-
|
105
|
-
- \[QUESTION\] kitchen-inspec formatter [\#147](https://github.com/inspec/kitchen-inspec/issues/147)
|
106
|
-
- Executing inspec against a container from within the host [\#145](https://github.com/inspec/kitchen-inspec/issues/145)
|
107
|
-
- Option to specify path to Inspec test with kitchen-inspec [\#139](https://github.com/inspec/kitchen-inspec/issues/139)
|
108
|
-
- False attribute value is not initializing [\#138](https://github.com/inspec/kitchen-inspec/issues/138)
|
109
|
-
- Failed to complete \#verify action: \[no implicit conversion of nil into String\] [\#135](https://github.com/inspec/kitchen-inspec/issues/135)
|
110
|
-
- Using tags/versioning for supermarket inspec profiles [\#134](https://github.com/inspec/kitchen-inspec/issues/134)
|
111
|
-
- chef exec kitchen verify fails for inspec tests [\#132](https://github.com/inspec/kitchen-inspec/issues/132)
|
112
|
-
- Intermittent SSH failures [\#127](https://github.com/inspec/kitchen-inspec/issues/127)
|
113
|
-
- Inspec Test Location [\#124](https://github.com/inspec/kitchen-inspec/issues/124)
|
114
|
-
- Output file support for multiple platforms and multiple test suites [\#121](https://github.com/inspec/kitchen-inspec/issues/121)
|
115
|
-
- Custom inspec resources not loaded: 'undefined method' [\#120](https://github.com/inspec/kitchen-inspec/issues/120)
|
116
|
-
- kitchen ec2 verifier broken [\#106](https://github.com/inspec/kitchen-inspec/issues/106)
|
117
|
-
- Vague error if 'platform' value is missing in platform section and inspec profile platfrom/os-family is set [\#101](https://github.com/inspec/kitchen-inspec/issues/101)
|
118
|
-
- lost support for spec\_helper in inspec [\#93](https://github.com/inspec/kitchen-inspec/issues/93)
|
119
|
-
- Make it easier to filter output [\#85](https://github.com/inspec/kitchen-inspec/issues/85)
|
120
|
-
- Can't verify when used with kitchen-digitalocean provider [\#78](https://github.com/inspec/kitchen-inspec/issues/78)
|
121
|
-
- Add way to define alternate test-path [\#70](https://github.com/inspec/kitchen-inspec/issues/70)
|
122
|
-
- Using profiles with kitchen-inspec [\#66](https://github.com/inspec/kitchen-inspec/issues/66)
|
123
|
-
- Colo\[u\]r those dots and Fs! [\#62](https://github.com/inspec/kitchen-inspec/issues/62)
|
124
|
-
- Error with apache\_conf on CentOS [\#37](https://github.com/inspec/kitchen-inspec/issues/37)
|
125
|
-
- kitchen-inspec breaks existing file pattern [\#11](https://github.com/inspec/kitchen-inspec/issues/11)
|
126
|
-
|
127
|
-
**Merged pull requests:**
|
128
|
-
|
129
|
-
- Release 0.20.0 [\#151](https://github.com/inspec/kitchen-inspec/pull/151) ([adamleff](https://github.com/adamleff))
|
130
|
-
- Add a CODEOWNERS file [\#144](https://github.com/inspec/kitchen-inspec/pull/144) ([adamleff](https://github.com/adamleff))
|
131
|
-
- Adding a maintainers file [\#143](https://github.com/inspec/kitchen-inspec/pull/143) ([adamleff](https://github.com/adamleff))
|
132
|
-
- Eliminate duplicate profiles being added to runner [\#141](https://github.com/inspec/kitchen-inspec/pull/141) ([adamleff](https://github.com/adamleff))
|
133
|
-
- Don't send keys\_only config to InSpec/Train [\#140](https://github.com/inspec/kitchen-inspec/pull/140) ([adamleff](https://github.com/adamleff))
|
134
|
-
|
135
|
-
## [v0.19.0](https://github.com/chef/kitchen-inspec/tree/v0.19.0) (2017-05-03)
|
136
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.18.0...v0.19.0)
|
137
|
-
|
138
|
-
**Merged pull requests:**
|
139
|
-
|
140
|
-
- add sudo\_options support [\#133](https://github.com/inspec/kitchen-inspec/pull/133) ([arlimus](https://github.com/arlimus))
|
141
|
-
|
142
|
-
## [v0.18.0](https://github.com/chef/kitchen-inspec/tree/v0.18.0) (2017-04-19)
|
143
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.17.0...v0.18.0)
|
144
|
-
|
145
|
-
**Implemented enhancements:**
|
146
|
-
|
147
|
-
- allow filtering controls [\#130](https://github.com/inspec/kitchen-inspec/pull/130) ([arlimus](https://github.com/arlimus))
|
148
|
-
|
149
|
-
**Closed issues:**
|
150
|
-
|
151
|
-
- kitchen verify failed with permission denied to create /.inpec directory [\#129](https://github.com/inspec/kitchen-inspec/issues/129)
|
152
|
-
- junit format does not always use proper classname. [\#126](https://github.com/inspec/kitchen-inspec/issues/126)
|
153
|
-
- Skipped tests report as failures in kitchen [\#125](https://github.com/inspec/kitchen-inspec/issues/125)
|
154
|
-
- gem resource breaks if not using a different installation path [\#107](https://github.com/inspec/kitchen-inspec/issues/107)
|
155
|
-
|
156
|
-
**Merged pull requests:**
|
157
|
-
|
158
|
-
- update kitchen test references [\#131](https://github.com/inspec/kitchen-inspec/pull/131) ([arlimus](https://github.com/arlimus))
|
159
|
-
|
160
|
-
## [v0.17.0](https://github.com/chef/kitchen-inspec/tree/v0.17.0) (2016-12-08)
|
161
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.16.1...v0.17.0)
|
162
|
-
|
163
|
-
**Implemented enhancements:**
|
164
|
-
|
165
|
-
- Support multiple outputs based on platform/test suite variables \(issue 121\) [\#122](https://github.com/inspec/kitchen-inspec/pull/122) ([jcastillocano](https://github.com/jcastillocano))
|
166
|
-
|
167
|
-
**Merged pull requests:**
|
168
|
-
|
169
|
-
- Tweak logging for clarity [\#123](https://github.com/inspec/kitchen-inspec/pull/123) ([tduffield](https://github.com/tduffield))
|
170
|
-
|
171
|
-
## [v0.16.1](https://github.com/chef/kitchen-inspec/tree/v0.16.1) (2016-11-11)
|
172
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.16.0...v0.16.1)
|
173
|
-
|
174
|
-
**Implemented enhancements:**
|
175
|
-
|
176
|
-
- Support InSpec attributes [\#108](https://github.com/inspec/kitchen-inspec/issues/108)
|
177
|
-
|
178
|
-
**Closed issues:**
|
179
|
-
|
180
|
-
- Incorrect dependencies on 0.16 release [\#117](https://github.com/inspec/kitchen-inspec/issues/117)
|
181
|
-
|
182
|
-
**Merged pull requests:**
|
183
|
-
|
184
|
-
- fix \#117 [\#118](https://github.com/inspec/kitchen-inspec/pull/118) ([chris-rock](https://github.com/chris-rock))
|
185
|
-
|
186
|
-
## [v0.16.0](https://github.com/chef/kitchen-inspec/tree/v0.16.0) (2016-11-04)
|
187
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.15.2...v0.16.0)
|
188
|
-
|
189
|
-
**Implemented enhancements:**
|
190
|
-
|
191
|
-
- Harmonize profile location targets [\#111](https://github.com/inspec/kitchen-inspec/issues/111)
|
192
|
-
- Add host and port config options [\#110](https://github.com/inspec/kitchen-inspec/pull/110) ([alexpop](https://github.com/alexpop))
|
193
|
-
|
194
|
-
**Fixed bugs:**
|
195
|
-
|
196
|
-
- Duplicate testing when verifier specified in suite definition [\#109](https://github.com/inspec/kitchen-inspec/issues/109)
|
197
|
-
- OS detection 2nd time with unknown value? [\#92](https://github.com/inspec/kitchen-inspec/issues/92)
|
198
|
-
|
199
|
-
**Closed issues:**
|
200
|
-
|
201
|
-
- Message: Could not load the 'inspec' verifier from the load path. Please ensure that your transport is installed as a gem or included in your Gemfile if using Bundler. [\#105](https://github.com/inspec/kitchen-inspec/issues/105)
|
202
|
-
|
203
|
-
**Merged pull requests:**
|
204
|
-
|
205
|
-
- add attributes support in kitchen-inspec [\#116](https://github.com/inspec/kitchen-inspec/pull/116) ([chris-rock](https://github.com/chris-rock))
|
206
|
-
- use suite names and only test master branch + PRs [\#115](https://github.com/inspec/kitchen-inspec/pull/115) ([chris-rock](https://github.com/chris-rock))
|
207
|
-
- fix duplicate testing when unique suite name [\#114](https://github.com/inspec/kitchen-inspec/pull/114) ([vjeffrey](https://github.com/vjeffrey))
|
208
|
-
- update readme to reflect harmonization of profile location targets [\#113](https://github.com/inspec/kitchen-inspec/pull/113) ([vjeffrey](https://github.com/vjeffrey))
|
209
|
-
- Make the info message clearer [\#112](https://github.com/inspec/kitchen-inspec/pull/112) ([chilicheech](https://github.com/chilicheech))
|
210
|
-
|
211
|
-
## [v0.15.2](https://github.com/chef/kitchen-inspec/tree/v0.15.2) (2016-09-26)
|
212
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.15.1...v0.15.2)
|
213
|
-
|
214
|
-
**Merged pull requests:**
|
215
|
-
|
216
|
-
- add support for inspec 1.0 [\#104](https://github.com/inspec/kitchen-inspec/pull/104) ([chris-rock](https://github.com/chris-rock))
|
217
|
-
- use double-quotes for rake bump\_version [\#102](https://github.com/inspec/kitchen-inspec/pull/102) ([chris-rock](https://github.com/chris-rock))
|
218
|
-
|
219
|
-
## [v0.15.1](https://github.com/chef/kitchen-inspec/tree/v0.15.1) (2016-09-05)
|
220
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.15.0...v0.15.1)
|
221
|
-
|
222
|
-
**Closed issues:**
|
223
|
-
|
224
|
-
- Kitchen verify/test fails when using the command resource with curl [\#100](https://github.com/inspec/kitchen-inspec/issues/100)
|
225
|
-
- Default to \( progress | documentation \) format for test-kitchen inspec verifier [\#91](https://github.com/inspec/kitchen-inspec/issues/91)
|
226
|
-
|
227
|
-
**Merged pull requests:**
|
228
|
-
|
229
|
-
- Require Ruby 2.1+ [\#99](https://github.com/inspec/kitchen-inspec/pull/99) ([tas50](https://github.com/tas50))
|
230
|
-
- Switch from finstyle / rubocop to chefstyle [\#98](https://github.com/inspec/kitchen-inspec/pull/98) ([tas50](https://github.com/tas50))
|
231
|
-
- Update winrm password key for winrm-v2 [\#94](https://github.com/inspec/kitchen-inspec/pull/94) ([mwrock](https://github.com/mwrock))
|
232
|
-
|
233
|
-
## [v0.15.0](https://github.com/chef/kitchen-inspec/tree/v0.15.0) (2016-07-15)
|
234
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.14.0...v0.15.0)
|
235
|
-
|
236
|
-
**Fixed bugs:**
|
237
|
-
|
238
|
-
- TTY issue with base AWS CentOS AMI [\#45](https://github.com/inspec/kitchen-inspec/issues/45)
|
239
|
-
|
240
|
-
**Closed issues:**
|
241
|
-
|
242
|
-
- kitchen converge fails on ubuntu [\#81](https://github.com/inspec/kitchen-inspec/issues/81)
|
243
|
-
|
244
|
-
**Merged pull requests:**
|
245
|
-
|
246
|
-
- Overwriting test\_base\_path to test/recipes instead of test/integration [\#95](https://github.com/inspec/kitchen-inspec/pull/95) ([tyler-ball](https://github.com/tyler-ball))
|
247
|
-
- demonstrated utilizing an array of profile sources [\#90](https://github.com/inspec/kitchen-inspec/pull/90) ([jeremymv2](https://github.com/jeremymv2))
|
248
|
-
|
249
|
-
## [v0.14.0](https://github.com/chef/kitchen-inspec/tree/v0.14.0) (2016-05-25)
|
250
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.13.0...v0.14.0)
|
251
|
-
|
252
|
-
**Closed issues:**
|
253
|
-
|
254
|
-
- How to verify with a local profile [\#88](https://github.com/inspec/kitchen-inspec/issues/88)
|
255
|
-
|
256
|
-
**Merged pull requests:**
|
257
|
-
|
258
|
-
- update readme with remote profile handling [\#89](https://github.com/inspec/kitchen-inspec/pull/89) ([chris-rock](https://github.com/chris-rock))
|
259
|
-
- depend on inspec 0.22+ [\#87](https://github.com/inspec/kitchen-inspec/pull/87) ([chris-rock](https://github.com/chris-rock))
|
260
|
-
- support for sudo\_command [\#86](https://github.com/inspec/kitchen-inspec/pull/86) ([jeremymv2](https://github.com/jeremymv2))
|
261
|
-
|
262
|
-
## [v0.13.0](https://github.com/chef/kitchen-inspec/tree/v0.13.0) (2016-05-10)
|
263
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.5...v0.13.0)
|
264
|
-
|
265
|
-
**Implemented enhancements:**
|
266
|
-
|
267
|
-
- Supermarket and Compliance support [\#84](https://github.com/inspec/kitchen-inspec/pull/84) ([chris-rock](https://github.com/chris-rock))
|
268
|
-
- add more debug messages [\#82](https://github.com/inspec/kitchen-inspec/pull/82) ([chris-rock](https://github.com/chris-rock))
|
269
|
-
|
270
|
-
**Fixed bugs:**
|
271
|
-
|
272
|
-
- Cannot run supermarket and compliance profiles [\#80](https://github.com/inspec/kitchen-inspec/issues/80)
|
273
|
-
|
274
|
-
**Merged pull requests:**
|
275
|
-
|
276
|
-
- release via travis to rubygems on tags [\#79](https://github.com/inspec/kitchen-inspec/pull/79) ([arlimus](https://github.com/arlimus))
|
277
|
-
- fix lint [\#77](https://github.com/inspec/kitchen-inspec/pull/77) ([chris-rock](https://github.com/chris-rock))
|
278
|
-
- fix lint [\#76](https://github.com/inspec/kitchen-inspec/pull/76) ([chris-rock](https://github.com/chris-rock))
|
279
|
-
- Add support for profiles\_path [\#75](https://github.com/inspec/kitchen-inspec/pull/75) ([brettlangdon](https://github.com/brettlangdon))
|
280
|
-
- Add complete profile example to readme [\#73](https://github.com/inspec/kitchen-inspec/pull/73) ([alexpop](https://github.com/alexpop))
|
281
|
-
- Use only the keys provided by Kitchen [\#72](https://github.com/inspec/kitchen-inspec/pull/72) ([ehartmann](https://github.com/ehartmann))
|
282
|
-
- Support color flag [\#71](https://github.com/inspec/kitchen-inspec/pull/71) ([jbussdieker](https://github.com/jbussdieker))
|
283
|
-
|
284
|
-
## [v0.12.5](https://github.com/chef/kitchen-inspec/tree/v0.12.5) (2016-03-17)
|
285
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.4...v0.12.5)
|
286
|
-
|
287
|
-
**Merged pull requests:**
|
288
|
-
|
289
|
-
- 0.12.5 [\#69](https://github.com/inspec/kitchen-inspec/pull/69) ([arlimus](https://github.com/arlimus))
|
290
|
-
- allow for slightly newer versions of inspec [\#68](https://github.com/inspec/kitchen-inspec/pull/68) ([arlimus](https://github.com/arlimus))
|
291
|
-
|
292
|
-
## [v0.12.4](https://github.com/chef/kitchen-inspec/tree/v0.12.4) (2016-03-15)
|
293
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.3...v0.12.4)
|
294
|
-
|
295
|
-
**Implemented enhancements:**
|
296
|
-
|
297
|
-
- InSpec Profile [\#46](https://github.com/inspec/kitchen-inspec/issues/46)
|
298
|
-
|
299
|
-
**Fixed bugs:**
|
300
|
-
|
301
|
-
- `kitchen verify` fails on Windows [\#57](https://github.com/inspec/kitchen-inspec/issues/57)
|
302
|
-
|
303
|
-
**Closed issues:**
|
304
|
-
|
305
|
-
- Unable to test installed Gems [\#65](https://github.com/inspec/kitchen-inspec/issues/65)
|
306
|
-
- InSpec Profile support in kitchen-inspec [\#39](https://github.com/inspec/kitchen-inspec/issues/39)
|
307
|
-
|
308
|
-
**Merged pull requests:**
|
309
|
-
|
310
|
-
- 0.12.4 [\#67](https://github.com/inspec/kitchen-inspec/pull/67) ([chris-rock](https://github.com/chris-rock))
|
311
|
-
- add output to runner options [\#64](https://github.com/inspec/kitchen-inspec/pull/64) ([vjeffrey](https://github.com/vjeffrey))
|
312
|
-
- Improve handling for remote profiles [\#63](https://github.com/inspec/kitchen-inspec/pull/63) ([chris-rock](https://github.com/chris-rock))
|
313
|
-
|
314
|
-
## [v0.12.3](https://github.com/chef/kitchen-inspec/tree/v0.12.3) (2016-03-01)
|
315
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.2...v0.12.3)
|
316
|
-
|
317
|
-
**Implemented enhancements:**
|
318
|
-
|
319
|
-
- fix gem build license warning [\#59](https://github.com/inspec/kitchen-inspec/pull/59) ([chris-rock](https://github.com/chris-rock))
|
320
|
-
- Add support for remote profiles [\#51](https://github.com/inspec/kitchen-inspec/pull/51) ([chris-rock](https://github.com/chris-rock))
|
321
|
-
|
322
|
-
**Merged pull requests:**
|
323
|
-
|
324
|
-
- 0.12.3 [\#61](https://github.com/inspec/kitchen-inspec/pull/61) ([chris-rock](https://github.com/chris-rock))
|
325
|
-
- add test-kitchen 1.6 as dependency [\#60](https://github.com/inspec/kitchen-inspec/pull/60) ([chris-rock](https://github.com/chris-rock))
|
326
|
-
- Bump berks requirement to latest [\#58](https://github.com/inspec/kitchen-inspec/pull/58) ([jkeiser](https://github.com/jkeiser))
|
327
|
-
|
328
|
-
## [v0.12.2](https://github.com/chef/kitchen-inspec/tree/v0.12.2) (2016-02-22)
|
329
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.1...v0.12.2)
|
330
|
-
|
331
|
-
**Fixed bugs:**
|
332
|
-
|
333
|
-
- Load directory from single inspec directory [\#54](https://github.com/inspec/kitchen-inspec/issues/54)
|
334
|
-
- update to latest runner interface in inspec [\#56](https://github.com/inspec/kitchen-inspec/pull/56) ([chris-rock](https://github.com/chris-rock))
|
335
|
-
|
336
|
-
## [v0.12.1](https://github.com/chef/kitchen-inspec/tree/v0.12.1) (2016-02-22)
|
337
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.12.0...v0.12.1)
|
338
|
-
|
339
|
-
**Implemented enhancements:**
|
340
|
-
|
341
|
-
- Support inspec dir in the test suite dir [\#55](https://github.com/inspec/kitchen-inspec/pull/55) ([alexpop](https://github.com/alexpop))
|
342
|
-
|
343
|
-
## [v0.12.0](https://github.com/chef/kitchen-inspec/tree/v0.12.0) (2016-02-19)
|
344
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.11.1...v0.12.0)
|
345
|
-
|
346
|
-
**Implemented enhancements:**
|
347
|
-
|
348
|
-
- move integration tests to top-level [\#50](https://github.com/inspec/kitchen-inspec/pull/50) ([chris-rock](https://github.com/chris-rock))
|
349
|
-
- support embedded profiles, leave directory checking to inspec [\#49](https://github.com/inspec/kitchen-inspec/pull/49) ([chris-rock](https://github.com/chris-rock))
|
350
|
-
|
351
|
-
**Fixed bugs:**
|
352
|
-
|
353
|
-
- Point test-kitchen to master in Gemfile [\#48](https://github.com/inspec/kitchen-inspec/pull/48) ([jaym](https://github.com/jaym))
|
354
|
-
|
355
|
-
**Merged pull requests:**
|
356
|
-
|
357
|
-
- require latest inspec version [\#53](https://github.com/inspec/kitchen-inspec/pull/53) ([chris-rock](https://github.com/chris-rock))
|
358
|
-
- 0.12.0 [\#52](https://github.com/inspec/kitchen-inspec/pull/52) ([chris-rock](https://github.com/chris-rock))
|
359
|
-
|
360
|
-
## [v0.11.1](https://github.com/chef/kitchen-inspec/tree/v0.11.1) (2016-02-15)
|
361
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.11.0...v0.11.1)
|
362
|
-
|
363
|
-
**Implemented enhancements:**
|
364
|
-
|
365
|
-
- work well with other testing frameworks in test-kitchen [\#40](https://github.com/inspec/kitchen-inspec/pull/40) ([chris-rock](https://github.com/chris-rock))
|
366
|
-
|
367
|
-
**Fixed bugs:**
|
368
|
-
|
369
|
-
- bugfix: use the right container in combination with kitchen-dokken [\#43](https://github.com/inspec/kitchen-inspec/pull/43) ([chris-rock](https://github.com/chris-rock))
|
370
|
-
|
371
|
-
**Merged pull requests:**
|
372
|
-
|
373
|
-
- 0.11.1 [\#47](https://github.com/inspec/kitchen-inspec/pull/47) ([chris-rock](https://github.com/chris-rock))
|
374
|
-
- deduplicate Gemfiles [\#41](https://github.com/inspec/kitchen-inspec/pull/41) ([srenatus](https://github.com/srenatus))
|
375
|
-
|
376
|
-
## [v0.11.0](https://github.com/chef/kitchen-inspec/tree/v0.11.0) (2016-02-08)
|
377
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.10.1...v0.11.0)
|
378
|
-
|
379
|
-
**Implemented enhancements:**
|
380
|
-
|
381
|
-
- Add integration test with test-kitchen [\#33](https://github.com/inspec/kitchen-inspec/pull/33) ([chris-rock](https://github.com/chris-rock))
|
382
|
-
|
383
|
-
**Closed issues:**
|
384
|
-
|
385
|
-
- Failures should be tagged with the instance they failed against [\#30](https://github.com/inspec/kitchen-inspec/issues/30)
|
386
|
-
- kitchen verify has exit status 0 with failed examples [\#9](https://github.com/inspec/kitchen-inspec/issues/9)
|
387
|
-
|
388
|
-
**Merged pull requests:**
|
389
|
-
|
390
|
-
- 0.11.0 [\#38](https://github.com/inspec/kitchen-inspec/pull/38) ([chris-rock](https://github.com/chris-rock))
|
391
|
-
|
392
|
-
## [v0.10.1](https://github.com/chef/kitchen-inspec/tree/v0.10.1) (2016-01-15)
|
393
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.10.0...v0.10.1)
|
394
|
-
|
395
|
-
**Closed issues:**
|
396
|
-
|
397
|
-
- Inspec does not gracefully allow transports other than winrm and ssh. [\#31](https://github.com/inspec/kitchen-inspec/issues/31)
|
398
|
-
- Specify inspec output formats in .kitchen.yml [\#26](https://github.com/inspec/kitchen-inspec/issues/26)
|
399
|
-
|
400
|
-
**Merged pull requests:**
|
401
|
-
|
402
|
-
- 0.10.1 [\#34](https://github.com/inspec/kitchen-inspec/pull/34) ([chris-rock](https://github.com/chris-rock))
|
403
|
-
- Allow transports which are subclasses of the core ones. [\#32](https://github.com/inspec/kitchen-inspec/pull/32) ([coderanger](https://github.com/coderanger))
|
404
|
-
|
405
|
-
## [v0.10.0](https://github.com/chef/kitchen-inspec/tree/v0.10.0) (2016-01-07)
|
406
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.9.6...v0.10.0)
|
407
|
-
|
408
|
-
**Fixed bugs:**
|
409
|
-
|
410
|
-
- kitchen test destroys the instance with failing tests [\#16](https://github.com/inspec/kitchen-inspec/issues/16)
|
411
|
-
- Pending messages are "inherited"/"propagated" down with several suites [\#15](https://github.com/inspec/kitchen-inspec/issues/15)
|
412
|
-
|
413
|
-
**Merged pull requests:**
|
414
|
-
|
415
|
-
- Preparing the 0.10.0 release [\#29](https://github.com/inspec/kitchen-inspec/pull/29) ([tyler-ball](https://github.com/tyler-ball))
|
416
|
-
- Make test-kitchen a dev dependency [\#28](https://github.com/inspec/kitchen-inspec/pull/28) ([jaym](https://github.com/jaym))
|
417
|
-
- Specify inspec output format from kitchen.yml [\#27](https://github.com/inspec/kitchen-inspec/pull/27) ([cheesesashimi](https://github.com/cheesesashimi))
|
418
|
-
- remove gem push restriction [\#24](https://github.com/inspec/kitchen-inspec/pull/24) ([arlimus](https://github.com/arlimus))
|
419
|
-
|
420
|
-
## [v0.9.6](https://github.com/chef/kitchen-inspec/tree/v0.9.6) (2015-12-11)
|
421
|
-
[Full Changelog](https://github.com/chef/kitchen-inspec/compare/v0.9.0...v0.9.6)
|
422
|
-
|
423
|
-
**Implemented enhancements:**
|
424
|
-
|
425
|
-
- add changelog [\#18](https://github.com/inspec/kitchen-inspec/pull/18) ([chris-rock](https://github.com/chris-rock))
|
426
|
-
- support test suite helpers [\#12](https://github.com/inspec/kitchen-inspec/pull/12) ([schisamo](https://github.com/schisamo))
|
427
|
-
- Fix typo in README [\#8](https://github.com/inspec/kitchen-inspec/pull/8) ([englishm](https://github.com/englishm))
|
428
|
-
- Gem [\#7](https://github.com/inspec/kitchen-inspec/pull/7) ([chris-rock](https://github.com/chris-rock))
|
429
|
-
|
430
|
-
**Fixed bugs:**
|
431
|
-
|
432
|
-
- tests fail with inspec 0.9.5 [\#19](https://github.com/inspec/kitchen-inspec/issues/19)
|
433
|
-
- Fix tests and activate linting for CI [\#20](https://github.com/inspec/kitchen-inspec/pull/20) ([srenatus](https://github.com/srenatus))
|
434
|
-
- raise ActionFailed when inspec returns other than 0. [\#13](https://github.com/inspec/kitchen-inspec/pull/13) ([sawanoboly](https://github.com/sawanoboly))
|
435
|
-
|
436
|
-
**Closed issues:**
|
437
|
-
|
438
|
-
- ReadMe 'example here' dead link / 404 [\#21](https://github.com/inspec/kitchen-inspec/issues/21)
|
439
|
-
|
440
|
-
**Merged pull requests:**
|
441
|
-
|
442
|
-
- 0.9.6 [\#23](https://github.com/inspec/kitchen-inspec/pull/23) ([arlimus](https://github.com/arlimus))
|
443
|
-
- fix readme [\#22](https://github.com/inspec/kitchen-inspec/pull/22) ([srenatus](https://github.com/srenatus))
|
444
|
-
|
445
|
-
## [v0.9.0](https://github.com/chef/kitchen-inspec/tree/v0.9.0) (2015-11-03)
|
446
|
-
**Implemented enhancements:**
|
447
|
-
|
448
|
-
- Update README.md [\#6](https://github.com/inspec/kitchen-inspec/pull/6) ([chris-rock](https://github.com/chris-rock))
|
449
|
-
- Support all Kitchen/SSH as Train/SSH tunables. [\#4](https://github.com/inspec/kitchen-inspec/pull/4) ([fnichol](https://github.com/fnichol))
|
450
|
-
- use new inspec as gem source [\#3](https://github.com/inspec/kitchen-inspec/pull/3) ([chris-rock](https://github.com/chris-rock))
|
451
|
-
- Rename + Update [\#2](https://github.com/inspec/kitchen-inspec/pull/2) ([chris-rock](https://github.com/chris-rock))
|
452
|
-
- add usage instructions [\#1](https://github.com/inspec/kitchen-inspec/pull/1) ([chris-rock](https://github.com/chris-rock))
|
453
|
-
|
454
|
-
**Fixed bugs:**
|
455
|
-
|
456
|
-
- Add WinRM support to Verifier \(pending full support in Train\). [\#5](https://github.com/inspec/kitchen-inspec/pull/5) ([fnichol](https://github.com/fnichol))
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Gemfile
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
source "https://rubygems.org"
|
3
|
-
gemspec
|
4
|
-
|
5
|
-
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.2.2")
|
6
|
-
gem "json", "< 2.0"
|
7
|
-
gem "rack", "< 2.0"
|
8
|
-
gem "ruby_dep", "< 1.4.0"
|
9
|
-
gem "listen", "< 3.0.0"
|
10
|
-
end
|
11
|
-
|
12
|
-
group :guard do
|
13
|
-
gem "guard-rspec", :require => nil
|
14
|
-
gem "guard-rubocop", :require => nil
|
15
|
-
end
|
16
|
-
|
17
|
-
group :test do
|
18
|
-
gem "bundler", "~> 1.10"
|
19
|
-
gem "minitest", "~> 5.5"
|
20
|
-
gem "rake", "~> 11.0"
|
21
|
-
gem "chefstyle", "0.4.0"
|
22
|
-
gem "concurrent-ruby", "~> 1.0"
|
23
|
-
gem "codeclimate-test-reporter", :require => nil
|
24
|
-
gem "rspec"
|
25
|
-
gem "simplecov", "~> 0.12"
|
26
|
-
gem "countloc", "~> 0.4"
|
27
|
-
end
|
28
|
-
|
29
|
-
group :integration do
|
30
|
-
gem "berkshelf", ">= 4.3.5"
|
31
|
-
gem "kitchen-dokken"
|
32
|
-
end
|
33
|
-
|
34
|
-
group :tools do
|
35
|
-
gem "pry", "~> 0.10"
|
36
|
-
gem "github_changelog_generator", "1.13.1"
|
37
|
-
end
|
data/Guardfile
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
ignore %r{^\.gem/}
|
3
|
-
|
4
|
-
def rspec_opts
|
5
|
-
{ cmd: "bundle exec rspec" }
|
6
|
-
end
|
7
|
-
|
8
|
-
def rubocop_opts
|
9
|
-
{ all_on_start: false, keep_failed: false, cli: "-r chefstyle" }
|
10
|
-
end
|
11
|
-
|
12
|
-
group :red_green_refactor, halt_on_fail: true do
|
13
|
-
guard :rspec, rspec_opts do
|
14
|
-
watch(%r{^spec/(.*)_spec\.rb})
|
15
|
-
watch(%r{^lib/(.*)([^/]+)\.rb}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
16
|
-
watch(%r{^spec/spec_helper\.rb}) { "spec" }
|
17
|
-
end
|
18
|
-
|
19
|
-
guard :rubocop, rubocop_opts do
|
20
|
-
watch(/.+\.rb$/)
|
21
|
-
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
22
|
-
end
|
23
|
-
end
|
data/MAINTAINERS.md
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# Maintainers
|
2
|
-
|
3
|
-
This file lists how the kitchen-inspec project is maintained. When making changes to the
|
4
|
-
project, this file tells you who needs to review your patch - you need at least
|
5
|
-
two maintainers to provide a :+1: on your pull request. Additionally, you need
|
6
|
-
to not receive a veto from a Lieutenant or the Project Lead.
|
7
|
-
Check out [How Chef is Maintained](https://github.com/chef/chef-rfc/blob/master/rfc030-maintenance-policy.md#how-the-project-is-maintained)
|
8
|
-
for details on the process, how to become a maintainer, lieutenant, or the
|
9
|
-
project lead.
|
10
|
-
|
11
|
-
## List of Maintainers
|
12
|
-
|
13
|
-
The [Maintainers of the InSpec project](https://github.com/chef/inspec/blob/master/MAINTAINERS.md) serve as maintainers of the kitchen-inspec project.
|
data/README.md
DELETED
@@ -1,275 +0,0 @@
|
|
1
|
-
# Kitchen::InSpec - A Test Kitchen Verifier for InSpec
|
2
|
-
|
3
|
-
[![Build Status Master](https://travis-ci.org/inspec/kitchen-inspec.svg?branch=master)](https://travis-ci.org/inspec/kitchen-inspec) [![Gem Version](https://badge.fury.io/rb/kitchen-inspec.svg)](https://badge.fury.io/rb/kitchen-inspec)
|
4
|
-
|
5
|
-
This is the kitchen driver for [InSpec](https://github.com/chef/inspec). To see the project in action, we have the following test-kitchen examples available:
|
6
|
-
|
7
|
-
- [Chef and InSpec](https://github.com/inspec/inspec/tree/master/examples/kitchen-chef)
|
8
|
-
- [Puppet and InSpec](https://github.com/inspec/inspec/tree/master/examples/kitchen-puppet)
|
9
|
-
- [Ansible and InSpec](https://github.com/inspec/inspec/tree/master/examples/kitchen-ansible)
|
10
|
-
|
11
|
-
## Installation
|
12
|
-
|
13
|
-
`Note:` kitchen-inspec ships as part of ChefDK. Installation is not necessary for DK users.
|
14
|
-
|
15
|
-
Add this line to your application's Gemfile:
|
16
|
-
|
17
|
-
```ruby
|
18
|
-
gem 'kitchen-inspec'
|
19
|
-
```
|
20
|
-
|
21
|
-
And then execute:
|
22
|
-
|
23
|
-
```shell
|
24
|
-
$ bundle
|
25
|
-
```
|
26
|
-
|
27
|
-
Or install it yourself as:
|
28
|
-
|
29
|
-
```shell
|
30
|
-
$ gem install kitchen-inspec
|
31
|
-
```
|
32
|
-
|
33
|
-
## Usage
|
34
|
-
|
35
|
-
In your .kitchen.yml include
|
36
|
-
|
37
|
-
```yaml
|
38
|
-
verifier:
|
39
|
-
name: inspec
|
40
|
-
```
|
41
|
-
|
42
|
-
Optionally specify sudo and sudo_command
|
43
|
-
|
44
|
-
```yaml
|
45
|
-
verifier:
|
46
|
-
name: inspec
|
47
|
-
sudo: true
|
48
|
-
sudo_command: 'skittles'
|
49
|
-
```
|
50
|
-
|
51
|
-
You can also specify the host and port to be used by InSpec when targeting the node. Otherwise, it defaults to the hostname and port used by kitchen for converging.
|
52
|
-
|
53
|
-
```yaml
|
54
|
-
verifier:
|
55
|
-
name: inspec
|
56
|
-
host: 192.168.56.40
|
57
|
-
port: 22
|
58
|
-
```
|
59
|
-
|
60
|
-
### Expected Directory Structure
|
61
|
-
|
62
|
-
By default `kitchen-inspec` expects test to be in `test/integration/%suite%` directory structure (we use Chef as provisioner here):
|
63
|
-
|
64
|
-
```
|
65
|
-
.
|
66
|
-
├── Berksfile
|
67
|
-
├── Gemfile
|
68
|
-
├── README.md
|
69
|
-
├── metadata.rb
|
70
|
-
├── recipes
|
71
|
-
│ ├── default.rb
|
72
|
-
│ └── nginx.rb
|
73
|
-
└── test
|
74
|
-
└── integration
|
75
|
-
└── default
|
76
|
-
└── web_spec.rb
|
77
|
-
```
|
78
|
-
|
79
|
-
#### Directory Structure with complete profile
|
80
|
-
|
81
|
-
A complete profile is used here, including a custom InSpec resource named `gordon_config`:
|
82
|
-
|
83
|
-
```
|
84
|
-
.
|
85
|
-
├── Berksfile
|
86
|
-
├── Gemfile
|
87
|
-
├── README.md
|
88
|
-
├── metadata.rb
|
89
|
-
├── recipes
|
90
|
-
│ ├── default.rb
|
91
|
-
│ └── nginx.rb
|
92
|
-
└── test
|
93
|
-
└── integration
|
94
|
-
└── default
|
95
|
-
├── controls
|
96
|
-
│ └── gordon.rb
|
97
|
-
├── inspec.yml
|
98
|
-
└── libraries
|
99
|
-
└── gordon_config.rb
|
100
|
-
```
|
101
|
-
|
102
|
-
#### Combination with other testing frameworks
|
103
|
-
|
104
|
-
If you need support with other testing frameworks, we recommend to place the tests in `test/integration/%suite%/inspec`:
|
105
|
-
|
106
|
-
```
|
107
|
-
.
|
108
|
-
├── Berksfile
|
109
|
-
├── Gemfile
|
110
|
-
├── README.md
|
111
|
-
├── metadata.rb
|
112
|
-
├── recipes
|
113
|
-
│ ├── default.rb
|
114
|
-
│ └── nginx.rb
|
115
|
-
└── test
|
116
|
-
└── integration
|
117
|
-
└── default
|
118
|
-
└── inspec
|
119
|
-
└── web_spec.rb
|
120
|
-
```
|
121
|
-
|
122
|
-
### Specifying the Sudo Command
|
123
|
-
|
124
|
-
You can enable/disable sudo and set your own custom sudo command.
|
125
|
-
|
126
|
-
```yaml
|
127
|
-
verifier:
|
128
|
-
name: inspec
|
129
|
-
sudo: true
|
130
|
-
sudo_command: 'skittles'
|
131
|
-
```
|
132
|
-
|
133
|
-
### Custom Host Settings
|
134
|
-
|
135
|
-
You can also specify the host, port, and proxy settings to be used by InSpec when targeting the node. Otherwise, it defaults to the hostname and port used by kitchen for converging.
|
136
|
-
|
137
|
-
```yaml
|
138
|
-
verifier:
|
139
|
-
name: inspec
|
140
|
-
host: 192.168.56.40
|
141
|
-
port: 22
|
142
|
-
proxy_command: ssh user@1.2.3.4 -W %h:%p
|
143
|
-
```
|
144
|
-
|
145
|
-
### Custom Outputs
|
146
|
-
|
147
|
-
If you want to customize the output file per platform or test suite you can use template format for your output variable. Current flags supported:
|
148
|
-
|
149
|
-
- _%{platform}_
|
150
|
-
- _%{suite}_
|
151
|
-
|
152
|
-
```yaml
|
153
|
-
verifier:
|
154
|
-
name: inspec
|
155
|
-
reporter:
|
156
|
-
- cli
|
157
|
-
- junit:path/to/results/%{platform}_%{suite}_inspec.xml
|
158
|
-
```
|
159
|
-
|
160
|
-
You can also decide to only run specific controls, instead of a full profile. This is done by specifying a list of controls:
|
161
|
-
|
162
|
-
```yaml
|
163
|
-
suites:
|
164
|
-
- name: supermarket
|
165
|
-
run_list:
|
166
|
-
- recipe[apt]
|
167
|
-
- recipe[ssh-hardening]
|
168
|
-
verifier:
|
169
|
-
inspec_tests:
|
170
|
-
- name: dev-sec/ssh-baseline
|
171
|
-
controls:
|
172
|
-
- sshd-46
|
173
|
-
...
|
174
|
-
```
|
175
|
-
|
176
|
-
### Use remote InSpec profiles
|
177
|
-
|
178
|
-
In case you want to reuse tests across multiple cookbooks, they should become an extra artifact independent of a Chef cookbook, called [InSpec profiles](https://github.com/inspec/inspec/blob/master/docs/profiles.md). Those can be easily added to existing local tests as demonstrated in previous sections. To include remote profiles, adapt the `verifier` attributes in `.kitchen.yml`
|
179
|
-
|
180
|
-
```yaml
|
181
|
-
suites:
|
182
|
-
- name: default
|
183
|
-
verifier:
|
184
|
-
inspec_tests:
|
185
|
-
- name: ssh-hardening
|
186
|
-
url: https://github.com/dev-sec/tests-ssh-hardening
|
187
|
-
```
|
188
|
-
|
189
|
-
`inspec_tests` accepts all values that `inspec exec profile` would expect. We support:
|
190
|
-
|
191
|
-
- local directory eg. `path: /path/to/profile`
|
192
|
-
- github url `git: https://github.com/dev-sec/tests-ssh-hardening.git`
|
193
|
-
- Chef Supermarket `name: hardening/ssh-hardening` # defaults to supermarket (list all available profiles with `inspec supermarket profiles`)
|
194
|
-
- Chef Compliance `name: ssh` `compliance: base/ssh`
|
195
|
-
|
196
|
-
The following example illustrates the usage in a `.kitchen.yml`
|
197
|
-
|
198
|
-
```yaml
|
199
|
-
suites:
|
200
|
-
- name: contains_inspec
|
201
|
-
run_list:
|
202
|
-
- recipe[apt]
|
203
|
-
- recipe[yum]
|
204
|
-
- recipe[ssh-hardening]
|
205
|
-
- recipe[os-hardening]
|
206
|
-
verifier:
|
207
|
-
inspec_tests:
|
208
|
-
- path: path/to/some/local/tests
|
209
|
-
- name: ssh-hardening
|
210
|
-
url: https://github.com/dev-sec/tests-ssh-hardening/archive/master.zip
|
211
|
-
- name: os-hardening
|
212
|
-
git: https://github.com/dev-sec/tests-os-hardening.git
|
213
|
-
- name: supermarket
|
214
|
-
run_list:
|
215
|
-
- recipe[apt]
|
216
|
-
- recipe[yum]
|
217
|
-
- recipe[ssh-hardening]
|
218
|
-
verifier:
|
219
|
-
inspec_tests:
|
220
|
-
- name: hardening/ssh-hardening # name only defaults to supermarket
|
221
|
-
- name: ssh-supermarket # alternatively, you can explicitly specify that the profile is from supermarket in this way
|
222
|
-
supermarket: hardening/ssh-hardening
|
223
|
-
supermarket_url: http://supermarket.example.com
|
224
|
-
# before you are able to use the compliance plugin, you need to run
|
225
|
-
# insecure is only required if you use self-signed certificates
|
226
|
-
# $ inspec compliance login https://compliance.test --user admin --insecure --token ''
|
227
|
-
- name: compliance
|
228
|
-
run_list:
|
229
|
-
- recipe[apt]
|
230
|
-
- recipe[yum]
|
231
|
-
- recipe[ssh-hardening]
|
232
|
-
verifier:
|
233
|
-
inspec_tests:
|
234
|
-
- name: ssh
|
235
|
-
compliance: base/ssh
|
236
|
-
```
|
237
|
-
|
238
|
-
### Use attributes with your inspec profiles
|
239
|
-
|
240
|
-
To run a profile with attributes defined inline, you can adapt your `.kitchen.yml`:
|
241
|
-
|
242
|
-
```yaml
|
243
|
-
verifier:
|
244
|
-
inspec_tests:
|
245
|
-
- path: test/integration/attributes
|
246
|
-
attributes:
|
247
|
-
user: bob
|
248
|
-
password: secret
|
249
|
-
```
|
250
|
-
|
251
|
-
You can also define your attributes in an external file. Adapt your `.kitchen.yml` to point to that file:
|
252
|
-
|
253
|
-
```yaml
|
254
|
-
verifier:
|
255
|
-
inspec_tests:
|
256
|
-
- path: test/integration/attributes
|
257
|
-
attrs:
|
258
|
-
- test/integration/profile-attribute.yml
|
259
|
-
```
|
260
|
-
|
261
|
-
## Development
|
262
|
-
|
263
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
264
|
-
|
265
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
266
|
-
|
267
|
-
## Contributing
|
268
|
-
|
269
|
-
Bug reports and pull requests are welcome on GitHub at <https://github.com/inspec/kitchen-inspec>.
|
270
|
-
|
271
|
-
## License
|
272
|
-
|
273
|
-
Apache 2.0 (see [LICENSE])
|
274
|
-
|
275
|
-
[license]: https://github.com/inspec/kitchen-inspec/blob/master/LICENSE
|
data/Rakefile
DELETED
@@ -1,129 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
require "bundler/gem_tasks"
|
4
|
-
require "rspec/core/rake_task"
|
5
|
-
require "chefstyle"
|
6
|
-
require "rubocop/rake_task"
|
7
|
-
|
8
|
-
# Specs
|
9
|
-
RSpec::Core::RakeTask.new(:spec)
|
10
|
-
|
11
|
-
desc "Run all test suites"
|
12
|
-
task :test => [:spec]
|
13
|
-
|
14
|
-
# Rubocop
|
15
|
-
desc "Run Rubocop lint checks"
|
16
|
-
task :rubocop do
|
17
|
-
RuboCop::RakeTask.new
|
18
|
-
end
|
19
|
-
|
20
|
-
# lint the project
|
21
|
-
desc "Run robocop linter"
|
22
|
-
task lint: [:rubocop]
|
23
|
-
|
24
|
-
desc "Display LOC stats"
|
25
|
-
task :stats do
|
26
|
-
puts "\n## Production Code Stats"
|
27
|
-
sh "countloc -r lib/kitchen"
|
28
|
-
puts "\n## Test Code Stats"
|
29
|
-
sh "countloc -r spec"
|
30
|
-
end
|
31
|
-
|
32
|
-
desc "Run all quality tasks"
|
33
|
-
task :quality => [:lint, :stats]
|
34
|
-
|
35
|
-
task :default => [:test, :quality]
|
36
|
-
|
37
|
-
# Automatically generate a changelog for this project. Only loaded if
|
38
|
-
# the necessary gem is installed.
|
39
|
-
begin
|
40
|
-
require "github_changelog_generator/task"
|
41
|
-
GitHubChangelogGenerator::RakeTask.new :changelog
|
42
|
-
rescue LoadError
|
43
|
-
puts ">>>>> GitHub Changelog Generator not loaded, omitting tasks"
|
44
|
-
end
|
45
|
-
|
46
|
-
# Print the current version of this gem or update it.
|
47
|
-
#
|
48
|
-
# @param [Type] target the new version you want to set, or nil if you only want to show
|
49
|
-
def kitchen_inspec_version(target = nil)
|
50
|
-
path = "lib/kitchen/verifier/inspec_version.rb"
|
51
|
-
require_relative path.sub(/.rb$/, "")
|
52
|
-
|
53
|
-
nu_version = target.nil? ? "" : " -> #{target}"
|
54
|
-
puts "Kitchen-inspec: #{Kitchen::Verifier::INSPEC_VERSION}#{nu_version}"
|
55
|
-
|
56
|
-
unless target.nil?
|
57
|
-
raw = File.read(path)
|
58
|
-
nu = raw.sub(/INSPEC_VERSION.*/, "INSPEC_VERSION = \"#{target}\"")
|
59
|
-
File.write(path, nu)
|
60
|
-
load(path)
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
# Check if a command is available
|
65
|
-
#
|
66
|
-
# @param [Type] x the command you are interested in
|
67
|
-
# @param [Type] msg the message to display if the command is missing
|
68
|
-
def require_command(x, msg = nil)
|
69
|
-
return if system("command -v #{x} || exit 1")
|
70
|
-
msg ||= "Please install it first!"
|
71
|
-
puts "\033[31;1mCan't find command #{x.inspect}. #{msg}\033[0m"
|
72
|
-
exit 1
|
73
|
-
end
|
74
|
-
|
75
|
-
# Check if a required environment variable has been set
|
76
|
-
#
|
77
|
-
# @param [String] x the variable you are interested in
|
78
|
-
# @param [String] msg the message you want to display if the variable is missing
|
79
|
-
def require_env(x, msg = nil)
|
80
|
-
exists = `env | grep "^#{x}="`
|
81
|
-
return unless exists.empty?
|
82
|
-
puts "\033[31;1mCan't find environment variable #{x.inspect}. #{msg}\033[0m"
|
83
|
-
exit 1
|
84
|
-
end
|
85
|
-
|
86
|
-
# Check the requirements for running an update of this repository.
|
87
|
-
def check_update_requirements
|
88
|
-
require_command "git"
|
89
|
-
require_command "github_changelog_generator", "\n"\
|
90
|
-
"For more information on how to install it see:\n"\
|
91
|
-
" https://github.com/skywinder/github-changelog-generator\n"
|
92
|
-
require_env "CHANGELOG_GITHUB_TOKEN", "\n"\
|
93
|
-
"Please configure this token to make sure you can run all commands\n"\
|
94
|
-
"against GitHub.\n\n"\
|
95
|
-
"See github_changelog_generator homepage for more information:\n"\
|
96
|
-
" https://github.com/skywinder/github-changelog-generator\n"
|
97
|
-
end
|
98
|
-
|
99
|
-
# Show the current version of this gem.
|
100
|
-
desc "Show the version of this gem"
|
101
|
-
task :version do
|
102
|
-
kitchen_inspec_version
|
103
|
-
end
|
104
|
-
|
105
|
-
desc "Generate the changelog"
|
106
|
-
task :changelog do
|
107
|
-
require_relative "lib/kitchen/verifier/inspec_version"
|
108
|
-
system "github_changelog_generator -u chef -p kitchen-inspec --future-release #{Kitchen::Verifier::INSPEC_VERSION}"
|
109
|
-
end
|
110
|
-
|
111
|
-
# Update the version of this gem and create an updated
|
112
|
-
# changelog. It covers everything short of actually releasing
|
113
|
-
# the gem.
|
114
|
-
desc "Bump the version of this gem"
|
115
|
-
task :bump_version, [:version] do |_, args|
|
116
|
-
v = args[:version] || ENV["to"]
|
117
|
-
raise "You must specify a target version! rake release[1.2.3]" if v.empty?
|
118
|
-
check_update_requirements
|
119
|
-
kitchen_inspec_version(v)
|
120
|
-
Rake::Task["changelog"].invoke
|
121
|
-
end
|
122
|
-
|
123
|
-
namespace :test do
|
124
|
-
task :integration do
|
125
|
-
concurrency = ENV["CONCURRENCY"] || 1
|
126
|
-
os = ENV["OS"] || ""
|
127
|
-
sh("sh", "-c", "bundle exec kitchen test -c #{concurrency} #{os}")
|
128
|
-
end
|
129
|
-
end
|
data/kitchen-inspec.gemspec
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "kitchen/verifier/inspec_version"
|
5
|
-
require "English"
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = "kitchen-inspec"
|
9
|
-
spec.version = Kitchen::Verifier::INSPEC_VERSION
|
10
|
-
spec.license = "Apache-2.0"
|
11
|
-
spec.authors = ["Fletcher Nichol"]
|
12
|
-
spec.email = ["fnichol@chef.io"]
|
13
|
-
|
14
|
-
spec.summary = "A Test Kitchen Verifier for InSpec"
|
15
|
-
spec.description = spec.summary
|
16
|
-
spec.homepage = "http://github.com/inspec/kitchen-inspec"
|
17
|
-
|
18
|
-
spec.files = `git ls-files -z`.split("\x0")
|
19
|
-
.reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
-
spec.bindir = "exe"
|
21
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
-
spec.require_paths = ["lib"]
|
23
|
-
spec.required_ruby_version = ">= 2.1.0"
|
24
|
-
spec.add_dependency "inspec", ">=0.34.0", "<3.0.0"
|
25
|
-
spec.add_dependency "test-kitchen", "~> 1.6"
|
26
|
-
spec.add_dependency "hashie", "~> 3.4"
|
27
|
-
end
|