Commit graph

2200 commits

Author SHA1 Message Date
Jerry Aldrich
448eeb4637 package resource: Fix brew package detection (#2730)
* package resource: Fix `brew` package detection

This allows for package detection via `brew` to handle cases where a
particular package formula exists but is not installed.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-23 09:01:14 -05:00
Chef Expeditor
b746c355ae Bump version to 2.0.20 by Expeditor 2018-02-22 15:45:34 +00:00
Chef Expeditor
84b187328e Bump version to 2.0.19 by Expeditor 2018-02-22 00:45:47 +00:00
Chef Expeditor
ef0efb8a97 Bump version to 2.0.18 by Expeditor 2018-02-22 00:43:06 +00:00
Chef Expeditor
d9e000a1cc Bump version to 2.0.17 by Expeditor 2018-02-20 12:37:34 +00:00
Jared Quick
378e7c5048
Update shell detect to work with platforms (#2712)
* Update shell to use the same detect logic as cli detect.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-20 07:37:23 -05:00
Chef Expeditor
0b3b5f7dc3 Bump version to 2.0.16 by Expeditor 2018-02-20 01:04:28 +00:00
Chef Expeditor
ec61b4d7ed Bump version to 2.0.15 by Expeditor 2018-02-20 00:57:29 +00:00
Chef Expeditor
9b374a92d3 Bump version to 2.0.14 by Expeditor 2018-02-19 21:14:13 +00:00
Chef Expeditor
def4f56e40 Bump version to 2.0.13 by Expeditor 2018-02-19 20:24:14 +00:00
Franklin Webber
b9efb1d999 Fixes the deprecation warning text for report and output. (#2694)
* Fixes the deprecation warning text for report and output.

Remove an extra 'is being' from the 'is being is being'

Signed-off-by: Franklin Webber <franklin@chef.io>
2018-02-19 11:52:56 -05:00
Chef Expeditor
2f40fc8eb7 Bump version to 2.0.12 by Expeditor 2018-02-19 14:26:58 +00:00
Miah Johnson
7b23fa479c Add correct supports platform to resources. (#2674)
* Add correct `supports platform` to resources.

Signed-off-by: Miah Johnson <miah@chia-pet.org>

* Remove 'os_family' and update platforms to specify what they did.

Signed-off-by: Miah Johnson <miah@chia-pet.org>

* Add esx and cisco to generic resources.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-19 15:26:49 +01:00
Franklin Webber
8416c07a81 Updates the year to 2018 (#2686)
The year for the generator should match the current year.

Signed-off-by: Franklin Webber <franklin@chef.io>
2018-02-18 09:16:15 -05:00
Chef Expeditor
9f906f8a21 Bump version to 2.0.11 by Expeditor 2018-02-18 11:17:12 +00:00
Jared Quick
97dd0546c0 Fix legacy reporter output to file (#2667)
* Fix legacy reporter output.

Signed-off-by: Jared Quick <jquick@chef.io>

* Wrap test in a proc to catch warnings.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add output deprecation.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-18 12:17:00 +01:00
Chef Expeditor
db78ab4858 Bump version to 2.0.10 by Expeditor 2018-02-18 11:12:53 +00:00
Chef Expeditor
1458790696 Bump version to 2.0.9 by Expeditor 2018-02-17 21:47:08 +00:00
Chef Expeditor
e4e4724285 Bump version to 2.0.8 by Expeditor 2018-02-17 18:27:21 +00:00
Chef Expeditor
4a6f947fb1 Bump version to 2.0.7 by Expeditor 2018-02-17 15:51:40 +00:00
Jared Quick
2a8bd673b1 Capture ArgumentErrors from aws. (#2673)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-17 16:50:35 +01:00
Chef Expeditor
310fe5009f Bump version to 2.0.6 by Expeditor 2018-02-17 15:50:04 +00:00
Jared Quick
457a33a2b3 Fix bundle exec calls (#2670)
* Fix bundle exec calls and add test.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add exit check for supermarket exec.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-17 16:49:52 +01:00
Chef Expeditor
5179eabccf Bump version to 2.0.5 by Expeditor 2018-02-17 00:39:49 +00:00
Chef Expeditor
f641fdcff3 Bump version to 2.0.4 by Expeditor 2018-02-16 21:47:27 +00:00
Chef Expeditor
d91c41a21a Bump version to 2.0.3 by Expeditor 2018-02-16 20:32:54 +00:00
Chef Expeditor
4e51288de6 Bump version to 2.0.2 by Expeditor 2018-02-16 20:16:05 +00:00
Jared Quick
db96ee9e85
Prevent resources from loading if supports check fails (#2665)
* Prevent resources from loading if supports fail.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-16 15:15:53 -05:00
Chef Expeditor
75934b4f7f Bump version to 2.0.1 by Expeditor 2018-02-15 21:57:36 +00:00
Jared Quick
fc990346f2
Merge pull request #2655 from chef/release-2.0
Add in release-2.0 changes to master
2018-02-15 16:57:25 -05:00
Jared Quick
6e5d0ff6de
Bump version to 2.0.0 (#2652)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-15 14:55:52 -05:00
Clinton Wolfe
6c0422fbf0
Improvements and matcher renaming on aws_iam_password_policy (#2638)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-14 15:59:57 -05:00
Clinton Wolfe
33787124a7 Two deprecations in aws_ec2_instance (#2637)
* Drop deprecation warning for old name of aws_ec2

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-14 15:08:34 -05:00
Jerry Aldrich
e77b99235f Update inspec detect to support APIs/Families (#2634)
This does the following to `inspec detect`:
  - Modifies it to use the `platform` resource
  - Changes the output to mention Platform and show the family hierarchy
  - Changes the JSON output by changing `family` to `families`
  - Adds better error messaging (no more stacktraces!)
  - Adds support for APIs such as AWS/Azure
  - Hides Arch from API platforms (not applicable)

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-14 15:06:39 -05:00
Clinton Wolfe
4f341acfbc
Catch cloud exceptions and document connection info (#2636)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-14 14:15:20 -05:00
Jared Quick
59fd0e8775
Update reporter with breaking inspec 2.0 changes. (#2487)
* Update reporter with breaking inspec 2.0 changes.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-14 11:54:20 -05:00
Jared Quick
fde895f74a Merge branch 'master' into release-2.0 2018-02-13 15:11:53 -05:00
Jerry Aldrich
9ebd807ea4 http resource: Make remote worker the default (#2520)
* http resource: Make remote worker the default

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-13 12:42:16 -05:00
Chef Expeditor
c0093b9b9b Bump version to 1.51.20 by Expeditor 2018-02-13 17:40:34 +00:00
Jerry Aldrich
7f0a39a76a package resource: Fix Windows package detection (#2624)
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-13 12:40:20 -05:00
Clinton Wolfe
469369fa32 Capture ResourceNotFound exception from LMF (#2623)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-13 09:47:12 -05:00
Chef Expeditor
30e120c81d Bump version to 1.51.19 by Expeditor 2018-02-13 14:04:41 +00:00
Chef Expeditor
9fa456eb89 Bump version to 1.51.18 by Expeditor 2018-02-12 18:34:35 +00:00
Jared Quick
f3ee680429 Add hidden json fields to schema and add tests. (#2618)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-12 19:34:22 +01:00
Chef Expeditor
3dca4d2ee8 Bump version to 1.51.17 by Expeditor 2018-02-12 18:30:09 +00:00
Jared Quick
f5f9873bfd Allow ad-hoc runners to use rspec formats. (#2621)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-12 19:29:54 +01:00
Chef Expeditor
56387c96d0 Bump version to 1.51.16 by Expeditor 2018-02-12 15:23:47 +00:00
Jared Quick
da7b7e8549
Force a default reporter for ad-hoc runners (#2610)
* Force a default reporter for ad-hoc runners if not set.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-12 10:23:34 -05:00
Chef Expeditor
20a46d1a40 Bump version to 1.51.15 by Expeditor 2018-02-09 18:49:41 +00:00
Jared Quick
69f6e4e735 Remove ending newline from json reports.
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-09 13:15:18 -05:00