Commit graph

2224 commits

Author SHA1 Message Date
Clinton Wolfe
d0e6d2eb72 AWS API Pagination fixes (#2762)
* Add pagination support to aws_iam_groups
* Add pagination support to aws_iam_policy
* Add pagination to aws_iam_policies
* Adds pagination to aws_iam_access_keys
* Adds pagination to aws_kms_keys

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-03-02 13:45:17 -05:00
Chef Expeditor
1e5c3d4d0d Bump version to 2.0.34 by Expeditor 2018-03-02 14:14:17 +00:00
Richard Nixon
47e4c578e0 Fix aws-iam-users pagination (#2761)
* Fix aws-iam-users pagination

PROBLEM: aws-iam-users resource only retrieves 100 records due to pagination
in the AWS IAM list_users function.

FIX: Iterate over all the pages using the AWS pagination variables `marker`
and `is_truncated`

Signed-off-by: Richard Nixon <richard.nixon@btinternet.com>
2018-03-02 09:14:05 -05:00
Chef Expeditor
3e5a8c110a Bump version to 2.0.33 by Expeditor 2018-03-02 14:03:11 +00:00
Jerry Aldrich
3da8fd1e98 command resource: Add exist? for Alpine Linux (#2768)
This allows `command('foo').exist?` to work on Alpine Linux.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-03-02 09:02:58 -05:00
Chef Expeditor
f7e8266e6a Bump version to 2.0.32 by Expeditor 2018-03-01 19:30:20 +00:00
Noel Georgi
dd033fbf1b mssql_session - Handling cases where the data is nil (#2752)
* Fixing bug where the row data returned is nil

Signed-off-by: Noel Georgi <noel.georgi@reancloud.com>
2018-03-01 14:30:07 -05:00
Chef Expeditor
087a9e5776 Bump version to 2.0.31 by Expeditor 2018-03-01 14:20:30 +00:00
Chef Expeditor
e38d4b762b Bump version to 2.0.30 by Expeditor 2018-02-28 19:23:09 +00:00
Jerry Aldrich
4631306ef1 virtualization_resource: Fix NoMethodError on nil:NilClass (#2603)
* Move instance variable to avoid `NoMethodError`

Methods for `role` and `system` properties are dynamically generated and
return values from the `@virtualization_data` Mash. Therefor, we must
ensure `@virtualization_data` exists before calling these methods.

* Move supports logic to `supports platform: linux`

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-28 14:22:55 -05:00
Chef Expeditor
48958a8924 Bump version to 2.0.29 by Expeditor 2018-02-28 18:47:22 +00:00
Chef Expeditor
af38fa7c56 Bump version to 2.0.28 by Expeditor 2018-02-27 18:15:21 +00:00
Matthew Dromazos
4394c5efc8 New Resource aws_config_recorder (#2635)
* Initial commit of new resource
* Removes deprecated matcher in example
* Adds a new terraform file for config resources
* Fixes and clarifies documentation
* Wraps calls to api in catch_aws_errors method
* Changes the names of two matchers

Signed-off-by: Matthew Dromazos <dromazmj@dukes.jmu.edu>
2018-02-27 13:15:04 -05:00
Chef Expeditor
4e6b3bb1ba Bump version to 2.0.27 by Expeditor 2018-02-27 18:00:09 +00:00
Christian Becker
b7687765f5 http resource: Support OPTIONS method (#2742)
Signed-off-by: Christian Becker <c.becker@mediaevent.services>
2018-02-27 12:59:53 -05:00
Chef Expeditor
6d479db798 Bump version to 2.0.26 by Expeditor 2018-02-26 21:51:03 +00:00
Jared Quick
62cb6bb846
Make sure we have a proper exit code and report data. (#2747)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-26 16:50:51 -05:00
Chef Expeditor
8079bde6eb Bump version to 2.0.25 by Expeditor 2018-02-26 21:37:48 +00:00
Chef Expeditor
9f07f0899d Bump version to 2.0.24 by Expeditor 2018-02-26 16:10:21 +00:00
Chef Expeditor
17b0fbb981 Bump version to 2.0.23 by Expeditor 2018-02-26 16:01:37 +00:00
Jared Quick
20a0b0e025
Fix inspec check to work with platforms (#2737)
* Fix inspec check to work with platforms.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-26 11:01:23 -05:00
Julian C. Dunn
b9d06d7413 Fix infrastructure code example and typo in parse_config_file reference (#2708)
* Fix infrastructure code example and typo in parse_config_file reference.

Signed-off-by: Julian C. Dunn <jdunn@chef.io>
2018-02-23 16:57:59 -05:00
Chef Expeditor
527595472b Bump version to 2.0.22 by Expeditor 2018-02-23 20:29:06 +00:00
Chef Expeditor
30ff651cbf Bump version to 2.0.21 by Expeditor 2018-02-23 14:01:26 +00:00
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