Commit graph

4991 commits

Author SHA1 Message Date
Chef Expeditor
3355f6823d Update CHANGELOG.md to reflect the promotion of 2.1.43 2018-04-12 22:25:44 +00:00
Chef Expeditor
b0cd9316d5 Bump version to 2.1.43 by Expeditor 2018-04-12 21:58:07 +00:00
Jerry Aldrich
096481363d powershell resource: Add support line for Unix (#2952)
This allows the `powershell` resource to work on Linux/Unix/OSX

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-04-12 17:57:56 -04:00
Chef Expeditor
c82424b1cc Bump version to 2.1.42 by Expeditor 2018-04-12 20:18:49 +00:00
Jerry Aldrich
e33619264f Add Cisco IOS enable_password support (#2905)
* Add IOS transport and `enable_password` support
* Remove Cisco IOS connection swap (moving to Train)
* Pin to Train 1.4.0

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-04-12 16:18:34 -04:00
Chef Expeditor
9940dec0d7 Bump version to 2.1.41 by Expeditor 2018-04-12 20:15:19 +00:00
Omar J. Irizarry
a278ae921b Require a key attribute for the key_rsa resource (#2891)
Bug Fix #2865
* Defining an attribute without a default value generates a stacktrace
* Fix string quotes
* Moved logic out of the initilize method.
* Refactoring for better clarity.
* Fixing trailing white spaces
Signed-off-by: Omar J Irizarry <irizarry_omar_j@network.lilly.com>
2018-04-12 16:15:04 -04:00
Chef Expeditor
0c3bec2634 Bump version to 2.1.40 by Expeditor 2018-04-12 19:49:07 +00:00
Clinton Wolfe
745ff32c80 Basic fields for aws_vpcs (#2930)
* Update singular implementation to avoid use of inner object
* Update docs and tests for 3 new filters and properties on aws_vpcs
* Implement new filters and properties; one failing test due to odd FilterTable behavior
* changes to avoid bug 2929

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-12 15:48:55 -04:00
Chef Expeditor
b0f34ffd21 Bump version to 2.1.39 by Expeditor 2018-04-12 19:37:36 +00:00
Miah Johnson
b40e553f15 Ensure @params in shadow resource always has a valid value. (#2939)
* Add tests for method chained shadow resource with readable and
unreadable shadow files.

Ensure @params always has a safe value, otherwise we may stacktrace when
unable to read /etc/shadow and invoked with method chaining.

* Wrap deprecation notices with a proc/must_output to clean up test
output.

Added some missing newlines.

Catch deprecation notice on `lines`.

* Resolve the majority of the issues pointed out by @tbramble.

Deprecate `lines`; its really only used internally but it was 'exposed'
through tests and who knows if there is external use. `lines` is not
documented as a property at least..

`#set_params` is much better now =)

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-04-12 15:37:22 -04:00
Bj Maldonado
eff4de6784 Fixed Docs asking for instead of (#2933)
Signed-off-by: Bj Maldonado <bj@maldonado.io>
2018-04-12 15:26:32 -04:00
Chef Expeditor
b0ce734035 Bump version to 2.1.38 by Expeditor 2018-04-12 18:31:16 +00:00
Clinton Wolfe
7130a77c06
Policy Statement Search capability for aws_iam_policy (#2918)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-12 14:31:02 -04:00
Clinton Wolfe
ceec3fc66c Document the inspec_version metadata field (#2949)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-12 13:32:48 -04:00
Chef Expeditor
c83b887785 Bump version to 2.1.37 by Expeditor 2018-04-12 13:59:49 +00:00
Piotr Gospodarek
41c3dfccfe Add target attribute to test results for JUnit reporter. (#2839)
Signed-off-by: Piotr Gospodarek <pgospodarek@outlook.com>
2018-04-12 09:59:34 -04:00
Chef Expeditor
7173a8f66c Bump version to 2.1.36 by Expeditor 2018-04-11 19:13:49 +00:00
David McCown
3c2ab6593a Fixes configuration for Azure integrationt tests (#2941)
Updates some calls in train so we can access the configuration options
for some integration tests.

Signed-off-by: David McCown <dmccown@chef.io>
2018-04-11 15:13:23 -04:00
Chef Expeditor
eb3ae2aca4 Bump version to 2.1.35 by Expeditor 2018-04-11 19:11:14 +00:00
Trevor Bramble
6bfe741625 Add warning when returning DEFAULT_ATTRIBUTE (#2934)
When the anonymous DEFAULT_ATTRIBUTE class is used, log a warning.

We now pass in the attribute name to that class so it can be used in the
log message.

Signed-off-by: Trevor Bramble <tbramble@chef.io>
2018-04-11 15:11:01 -04:00
Bryan McLellan
0d7688092a
Merge pull request #2946 from chef/btm/expeditor-http
Expeditor docs are available over http
2018-04-11 11:00:59 -04:00
Bryan McLellan
8967f3b438
Expeditor docs are available over http
Obvious fix
2018-04-11 10:10:24 -04:00
Chef Expeditor
ed625d22a1 Bump version to 2.1.34 by Expeditor 2018-04-11 08:24:58 +00:00
Tomasz Mikulski
5acc86949b Update filesystem.md.erb (#2909)
Typo

Signed-off-by: Tomasz Mikulski <tl.mikulski@gmail.com>
2018-04-11 10:24:48 +02:00
Clinton Wolfe
9dee334706 Change its to it in aws root user docs (#2927)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-09 13:40:11 -04:00
borgified
cdccad1de4 typo (#2919)
Signed-off-by: borgified <borgified@gmail.com>
2018-04-06 17:10:13 -04:00
Chef Expeditor
1153d226d9 Bump version to 2.1.33 by Expeditor 2018-04-06 18:22:35 +00:00
Clinton Wolfe
4200fdd779 AWS Security Group Rules properties and matchers (#2876)
Provides low-, and mid-level properties and matchers for examining rules on aws_security_group.

* Second draft of docs for SG rules interface; need to clarify semantics of reject
* First cut at unit tests
* Cleanup test fixtures
* Implementation for allow, with plausible unit tests
* Doc updates based on reality
* Add integration tests; move allow to allow_ / out; several docs updates
* Add be_open_to_the_world and be_open_to_the_world_on_port
* Update docs to reflect adding allow_only
* Update docs to reflect use of position to allow multiple rules with 'only'
* Implement allow_only with unit tests; still need integration tests
* Add integration tests for allow_only

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-06 14:22:25 -04:00
Chef Expeditor
4a80cf936e Bump version to 2.1.32 by Expeditor 2018-04-06 18:07:42 +00:00
Matthew Dromazos
b5a0007851 aws_cloudtrail_trail feature: test how many days ago logs were delivered (#2887)
* * Adds new property to test how many days ago the CloudTrail delivered logs to the CloudWatch Logs.

* * Changes query for selected cloud trail in unit test
* Changes uses Time.now explicitly instead of making a variable in the unit test

Signed-off-by: Matthew Dromazos <dromazmj@dukes.jmu.edu>
2018-04-06 14:04:57 -04:00
Chef Expeditor
8fa93587c0 Bump version to 2.1.31 by Expeditor 2018-04-06 18:04:28 +00:00
Matthew Dromazos
74076bc44a aws_iam_group feature: test users in an iam group (#2888)
* Adds new property to test the users in an aws_iam_group
* Adds terraform code to add the recall_hit user to the administrator group

Signed-off-by: Matthew Dromazos <dromazmj@dukes.jmu.edu>
2018-04-06 14:04:13 -04:00
Jerry Aldrich
47ec76cb0a Update PowerShell requirement and add an asterisk (#2922)
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-04-06 12:46:22 -04:00
Gary
1677be6d42 Amended Syntax to correct formatting (#2911) 2018-04-06 09:14:41 -04:00
Chef Expeditor
cd3f9b3666 Update CHANGELOG.md to reflect the promotion of 2.1.30 2018-04-05 21:58:02 +00:00
Chef Expeditor
c9be74ba86 Bump version to 2.1.30 by Expeditor 2018-04-05 16:52:28 +00:00
Matthew Dromazos
c04a98c9f8 New Skeletal Resource aws_route_tables (#2643)
* Initial commit of skeletal resource aws_route_tables
* Fixes issues with documentation
* Renames route table terraform resources to be more conventional
* Removes tags terraform resources
* Changes aws_route_table and aws_route_tables integration tests to use new terraform names
* Removes unneeded data given in unit tests

Signed-off-by: Matthew Dromazos <dromazmj@dukes.jmu.edu>
2018-04-05 12:51:22 -04:00
Chef Expeditor
2b1259c994 Bump version to 2.1.29 by Expeditor 2018-04-05 16:49:41 +00:00
Matthew Dromazos
0df67fc7d0 New Skeletal Resource aws_s3_buckets (#2653)
* Initial commit of skeletal resource aws_s3_buckets
* Add fixes to documents
* Removes property 'creation_date' for there is no use case as of right now
* Rebases on master and moves aws_s3_buckets integration test to the correct location
* Adds test on unit test for false exists

Signed-off-by: Matthew Dromazos <dromazmj@dukes.jmu.edu>
2018-04-05 12:49:30 -04:00
Chef Expeditor
6a87b6e0db Bump version to 2.1.28 by Expeditor 2018-04-05 12:56:08 +00:00
David Alexander
3b97e16b97 New Resource: Chocolatey Package (#2793)
* Adds chocolatey package resource
* Adds docs for chocolatey_package resource
* Differentiate chocolatey package from windows feature

Suggested by @frezbo

Signed-off-by: David Alexander <opensource@thelonelyghost.com>
2018-04-05 08:54:27 -04:00
Chef Expeditor
3acbb47287 Bump version to 2.1.27 by Expeditor 2018-04-05 12:53:31 +00:00
Jared Quick
b246cf7d21
Add automate reporter (#2902)
* Add automate reporter.
* Add ssl flag for automate post.
* Rename ssl flag.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-04-05 08:51:51 -04:00
Chef Expeditor
d5aac39de1 Bump version to 2.1.26 by Expeditor 2018-04-05 12:50:59 +00:00
Jerry Aldrich
4731d95abd docs: Update example resource (#2904)
* Change `skip_resource` to use raise
* Add `supports` lines to example resource
* Change to rescue `StandardError` vs `Exception`
* Change raise to use `e.message` vs `$!`
* Remove redundant returns
* Change `File.exists?` to `File.exist?`
* Update shasum in tests

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-04-05 08:50:49 -04:00
Chef Expeditor
cd745f8b9b Bump version to 2.1.25 by Expeditor 2018-04-05 12:35:30 +00:00
Zakhar Kleyman
bcff97a087 add systemd service for amazon linux 2 (#2901)
* add systemd service for amazon linux 2
* inverse systemd/upstart logic for amazon service detection

Signed-off-by: Zakhar Kleyman <zakhar.kleyman@mongodb.com>
2018-04-05 08:35:20 -04:00
Chef Expeditor
46188051fa Bump version to 2.1.24 by Expeditor 2018-04-03 15:09:25 +00:00
Gary
a42cb799fa Added desc to steer people to correct resource (#2908)
Signed-off-by: DigitalGaz <digitalgaz@hotmail.com>
2018-04-03 11:09:13 -04:00