Commit graph

8854 commits

Author SHA1 Message Date
Clinton Wolfe
1df070b0ef
Parallel restored Ruby 2.4 support so unpin it
Parallel restored Ruby 2.4 support so unpin it
2020-12-09 14:06:06 -05:00
Tim Smith
d603aed98a Remove the pin on EOL Chef releases
Chef 14 is no longer supported and shouldn't be pinned here. These old deps bring in a bunch of old pins.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-09 11:04:00 -08:00
Tim Smith
3a9457b875 Remove the kitchen.chef.yml file
This is incredibly dated and doesn't look like it was ever setup correctly. It's mostly just logic copied from a kitchen.yml file in an omnibus install, but this has nothing to do with omnibus. Windows / mac tests with kitchen should be done in Azure Devops Pipelines similar to how we do it with chef to avoid the reliance on a developer locally running an hour of tests.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-09 11:02:56 -08:00
Tim Smith
13de4b510d Remove unused build-essential dep in berksfile
This is not used by the test cookbooks

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-09 10:53:00 -08:00
Tim Smith
1da62112fd Remove the docker releasing rake task
We handle this in Expeditor now

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-09 10:48:28 -08:00
Tim Smith
ae6a078c7d Parallel restored Ruby 2.4 support so unpin it
There's no need to pin here

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-09 10:45:58 -08:00
Chef Expeditor
9e5eef39ce Bump version to 4.24.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-09 15:43:59 +00:00
Clinton Wolfe
43465fb1a6
Remove outdated / unmaintained maintainers task / docs 2020-12-09 10:42:08 -05:00
Chef Expeditor
9e3f1aeed7 Bump version to 4.24.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-09 15:41:13 +00:00
Clinton Wolfe
0e8ebf3a10
Remove kitchen-ec2 dep + add lower floor to other kitchen deps 2020-12-09 10:39:51 -05:00
Tim Smith
bc904883dd Remove outdated / unmaintained maintainers task / docs
The task has been disabled for a while and the docs are totally out of date. Nuke this all and save ourselves some deps in the gemfile.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-08 17:12:38 -08:00
Tim Smith
f4b09b8b47 Remove kitchen-ec2 dep + add lower floor to other kitchen deps
Speed up depsolving by making the tree smaller.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-08 17:09:31 -08:00
Raphael Geissert
6bc765bc2f Make sshd_config on Windows default to the right config file
Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 15:45:21 +01:00
Raphael Geissert
2558b38a75 Add windows as a supported platform for ssh_config
Openssh for windows is a thing, so allow the ssh_config and sshd_config
resources to be used on it.

Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 15:45:21 +01:00
mjingle
70ccecba90 Apply suggestions from the doc review
Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 10:40:51 +01:00
Raphael Geissert
cc9d0df17b Fix the reference to rspec-its' behaviour with arrays
Make it point to the version currently in use.

Obvious fix, the link to master is useless as the code moved.
2020-12-08 10:40:51 +01:00
Raphael Geissert
53a49aac64 Add missing options section to the parse_config documentation
Obvious fix, the section was missing. Complete it with an example
from parse_config_file.
2020-12-08 10:40:51 +01:00
Raphael Geissert
d76a5d4345 Move the options documentation under the correct section
Obvious fix, the options are not related to the matchers.
2020-12-08 10:40:51 +01:00
Raphael Geissert
4872ddb780 Accept arrays in parse_config's method_missing
A single-element array allows Rspec's its behaviour to be worked around
and allow options containing dots to be tested using its.

This is already implemented by resources such as `json` and those based
on it (e.g. xml).

Related to issue #875.

Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 10:40:51 +01:00
Raphael Geissert
c4d3dadfad Apply grammar suggestions from doc review
Obvious fix.

Co-authored-by: mjingle <mjinglewski@chef.io>
2020-12-08 10:38:56 +01:00
Raphael Geissert
d4035cf8d6 Add respond_to_missing? methods to nginx_conf
This allows calls to Object.method(:name) work.

Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 10:38:56 +01:00
Raphael Geissert
cb8cf42185 Fix the example of the nginx_conf resource
Obvious fix.
2020-12-08 10:38:56 +01:00
Raphael Geissert
0bde654b3a Add method_missing helpers to nginx_conf
This allows a similar syntax to that available on other resources.

Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-12-08 10:38:56 +01:00
Pete Higgins
edf4a9838a Fix link to documentation image.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
2020-12-07 17:18:03 -08:00
Chef Expeditor
f9da70d647 Bump version to 4.24.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-03 13:47:02 +00:00
Nick Schwaderer
744f091ae6
Merge pull request #5317 from vsingh-msys/VSingh/fix-dir-home
Fix issue Dir.home would break when HOME env absent
2020-12-03 13:45:47 +00:00
Chef Expeditor
d5e426d068 Bump version to 4.24.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-03 13:18:23 +00:00
Nick Schwaderer
c766519485
Merge pull request #5302 from yarick/yt/wildcart_support_platform_name
Added platform-name wildcard support
2020-12-03 13:17:02 +00:00
Chef Expeditor
4feb6253dc Bump version to 4.24.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-02 19:24:35 +00:00
Chef Expeditor
1daeaf30dc Bump version to 4.24.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-02 19:19:40 +00:00
Tim Smith
5f26f592d3
Merge pull request #5325 from inspec/remove_json_schemer
Remove the dependency on json_schemer
2020-12-02 11:18:51 -08:00
Tim Smith
38d276b08c
Merge pull request #5324 from inspec/remove_local
Remove Gemfile.local support to use Dependabot
2020-12-02 11:14:51 -08:00
Chef Expeditor
97789c0fb1 Bump version to 4.24.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-02 15:02:15 +00:00
Nick Schwaderer
24ab303e6e
Merge pull request #5318 from inspec/ns/docker
Reenabling Docker image builds using Dobi
2020-12-02 14:59:39 +00:00
Nick Schwaderer
4560afffb2 Renames dobi.yml-> dobi.yaml
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-12-02 13:42:39 +00:00
Nick Schwaderer
418c952939 Renames yaml->yml
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-12-02 10:38:36 +00:00
Nick Schwaderer
befaf46fdb Reenabling Docker image builds using Dobi
Signed-off-by: Nick Schwaderer <nicholas.schwaderer@gmail.com>
2020-12-02 10:37:28 +00:00
Chef Expeditor
3a0b153b57 Bump version to 4.23.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-02 10:17:30 +00:00
Nick Schwaderer
a32dfb479b
Merge pull request #5314 from inspec/ap-rm/wmi-fix
Return arrays for wmi properties
2020-12-02 10:16:14 +00:00
Alex Pop
9438c81a0f Fix mock sha256
Signed-off-by: Alex Pop <apop@chef.io>
2020-12-02 09:29:16 +00:00
Alex Pop
e71043ee09 Make wmi resource always return arrays for params
Signed-off-by: Alex Pop <apop@chef.io>
2020-12-02 09:29:16 +00:00
Vivek Singh
b0ad73c973 minor comment updates
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
2020-12-02 12:34:05 +05:30
Vivek Singh
fd0708076f replace with Etc.getpwuid.dir
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
2020-12-02 12:34:05 +05:30
Vivek Singh
5162ab4904 Fixes chefstyle & move etc require to block
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
2020-12-02 12:34:05 +05:30
Vivek Singh
896e5fa261 Fix issue where absent HOME would break Dir.home
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
2020-12-02 12:34:05 +05:30
superyarick
e83c0b39b4 Merge branch 'yt/wildcart_support_platform_name' of https://github.com/yarick/inspec into yt/wildcart_support_platform_name 2020-12-01 18:30:01 -05:00
superyarick
e7e196334a Merge remote-tracking branch 'upstream/master' into yt/wildcart_support_platform_name
Signed-off-by: superyarick <yarick@yarick.net>
2020-12-01 18:29:44 -05:00
superyarick
90a8d509b9 Merge remote-tracking branch 'upstream/master' into yt/wildcart_support_platform_name 2020-12-01 18:26:09 -05:00
superyarick
eb44673c37 Addressed comments under PR Review
Signed-off-by: superyarick <yarick@yarick.net>
2020-12-01 18:25:10 -05:00
Tim Smith
7a35751269 Remove the dependency on json_schemer
It looks like we're only using this in 3 test files and it conflicts
with new RuboCop releases, which is blocking us shipping that new
release in Chef Infra Client and Workstation

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-01 14:17:12 -08:00