Commit graph

2200 commits

Author SHA1 Message Date
Christoph Hartmann
5c9821dfb5 Merge pull request #525 from chef/0.14.9
0.14.9
2016-03-09 10:22:16 +01:00
Adam Leff
577688a3a0 Placing all resources in the Inspec::Resources namespace
Many of the resources are named as a top-level class with a fairly generic class name, such as "OS". This causes an issue specifically with kitchen-google which depends on a gem which depends on the "os" gem which itself defines an OS class with a different superclass. This prevents users from using TK, Google Compute, and Inspec without this fix.

Some mocked commands had their digest changed as well due to the new indentation, specifically in the User and RegistryKey classes.

I strongly recommend viewing this diff with `git diff --ignore-space-change`
to see the *real* changes. :)
2016-03-08 13:40:16 -05:00
Dominik Richter
e89738c5f7 0.14.9 2016-03-08 17:52:55 +01:00
Christoph Hartmann
139fa1473c Merge pull request #524 from chef/dr/fix-inheritance
bugfix: inheritance of local profiles
2016-03-08 15:20:18 +01:00
Dominik Richter
ccf2694940 bugfix: inheritance of local profiles 2016-03-08 14:59:14 +01:00
Dominik Richter
81c7a6f22e add exmaple inheritance profile 2016-03-08 14:36:09 +01:00
Christoph Hartmann
f6c5d4de12 Merge pull request #523 from chef/dr/color
add color output + make it the default
2016-03-07 22:31:06 +01:00
Dominik Richter
90f2212ed5 add color output + make default 2016-03-07 22:21:31 +01:00
Christoph Hartmann
68c1e422bf Merge pull request #522 from chef/dr/select-controls
select controls to execute
2016-03-07 08:53:56 +01:00
Dominik Richter
b831b62a90 make controls selectable 2016-03-06 23:54:28 +01:00
Dominik Richter
f6bd7ed3b8 unify exec options 2016-03-06 15:07:12 +01:00
Dominik Richter
1360d6072a Merge pull request #520 from chef/0.14.8
0.14.8
2016-03-04 16:51:15 +01:00
Dominik Richter
ae08fe2f84 0.14.8 2016-03-04 16:50:51 +01:00
Stephan Renatus
595155fb6f Merge pull request #519 from chef/dr/impact-in-json
expose control impacts in json
2016-03-04 16:49:09 +01:00
Dominik Richter
903b0597d9 expose control impacts in json 2016-03-04 16:30:10 +01:00
Christoph Hartmann
e0a4cb1307 Merge pull request #513 from chef/0.14.7
0.14.7
2016-03-01 22:18:01 +01:00
Christoph Hartmann
53a2333c20 0.14.7 2016-03-01 21:33:03 +01:00
Dominik Richter
e27f24cfb6 Merge pull request #512 from chef/chris-rock/compliance-insecure-ssl
adds a insecure option
2016-03-01 21:29:30 +01:00
Christoph Hartmann
d4554771da adds a insecure option for the compliance plugin to work with self-signed ssl 2016-03-01 20:51:23 +01:00
Alex Pop
65b44673a6 Merge pull request #510 from chef/0.14.6
0.14.6
2016-03-01 17:01:51 +00:00
Christoph Hartmann
9605cfe3e8 0.14.6 2016-03-01 17:04:25 +01:00
Christoph Hartmann
744d98ba23 Merge pull request #508 from chef/ap/update_usage
Improve Supermarket CLI
2016-03-01 14:43:48 +01:00
Christoph Hartmann
bc2cde6b29 make supermarket command more robust 2016-03-01 13:26:36 +01:00
Alex Pop
051ac89376 make PROFILE required and update usage info 2016-03-01 10:27:22 +00:00
Alex Pop
96a389a39a Merge pull request #506 from chef/chris-rock/fix-supermarket
add missing supermarket loader
2016-03-01 10:24:55 +00:00
Christoph Hartmann
acdae94201 add missing supermarket loader 2016-02-29 19:28:53 +01:00
Stephan Renatus
4f90abaea1 Merge pull request #505 from chef/0.14.5
0.14.5
2016-02-29 16:50:38 +01:00
Christoph Hartmann
593df248b4 0.14.5 2016-02-29 13:47:55 +01:00
Dominik Richter
0c9c76e623 Merge pull request #503 from chef/jcd/fix-license
Fix license warning during gem build.
2016-02-29 02:24:03 +01:00
Julian C. Dunn
dee0b32c2f Fix warning:
WARNING:  WARNING: license value 'Apache 2.0' is invalid.  Use a license identifier from
http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
2016-02-27 22:24:21 -05:00
Dominik Richter
3c42a1b608 Merge pull request #501 from chef/0.14.4
0.14.4
2016-02-26 18:40:27 +01:00
Dominik Richter
9449afcb3d 0.14.4 2016-02-26 17:42:06 +01:00
Christoph Hartmann
5d10c2208b Merge pull request #500 from chef/dr/metadata-bug
don't crash on empty metadata during finalize
2016-02-26 17:25:06 +01:00
Dominik Richter
7cdb710e5e dont crash on empty metadata during finalize 2016-02-26 16:56:36 +01:00
Christoph Hartmann
0fb1b7d70d Merge pull request #499 from chef/dr/xinetd
add xinetd_conf resource
2016-02-26 15:52:45 +01:00
Dominik Richter
e617f74bcd filter xinetd fields by regex 2016-02-26 14:46:51 +01:00
Dominik Richter
4a39275fc0 add xinetd_conf resource 2016-02-26 13:19:16 +01:00
Christoph Hartmann
0feff81f59 Merge pull request #497 from chef/dr/or
add `describe.one`: collection of tests with at least one passing
2016-02-25 23:21:44 +01:00
Dominik Richter
e9ffc85b53 test for empty global describe block 2016-02-25 14:30:27 +01:00
Dominik Richter
94061a1b4b add documentation for describe.one 2016-02-25 14:30:27 +01:00
Dominik Richter
3ae50adae9 feature: conditional OR via describe.one
```
describe.one do
  describe command("uname -r").stdout do
    it { should_not match /x86_64/ }
  end
  describe test_sth_for_x64_processors do
    ...
  end
end
```
2016-02-25 14:30:23 +01:00
Dominik Richter
4020229914 bugfix: standalone describe without block
i.e. make sure it doesnt crash just because no block was given due to source/line detection.

also return the result of the rule's delegated describe call and not the rule itself to the outer method. this is for consistency (and the following commits)
2016-02-25 11:03:53 +01:00
Christoph Hartmann
b4cce9c113 Merge pull request #493 from chef/0.14.3
0.14.3
2016-02-24 17:32:15 +01:00
Dominik Richter
78d119beaf 0.14.3 2016-02-24 17:11:41 +01:00
Christoph Hartmann
923fdcf35a Merge pull request #492 from chef/dr/fix-check
expose inspec errors during profile read
2016-02-24 17:04:56 +01:00
Dominik Richter
40b3af86f8 bugfix: catch fetcher.abs_path(nil) 2016-02-24 16:07:00 +01:00
Dominik Richter
b75ba7d345 throw fetcher and reader errors in profile detection 2016-02-24 15:55:47 +01:00
Dominik Richter
a46af20e66 Merge pull request #487 from chef/chris-rock/cmp-matcher
cmp matcher should compare expected string == number
2016-02-23 22:55:06 +01:00
Dominik Richter
2fc0994f4c add cmp int->string tests 2016-02-23 22:31:10 +01:00
Christoph Hartmann
681f817992 enable cmp matcher to catch the case where expected is a number string, and actual is a number 2016-02-23 22:18:16 +01:00