Commit graph

9057 commits

Author SHA1 Message Date
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
Tim Smith
2b68f01514 Remove Gemfile.local support to use Dependabot
If you remove this then Dependabot can manage deps, which helps keep us
up to data without manual work.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-01 14:06:12 -08:00
Chef Expeditor
8a608dac76 Bump version to 4.23.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-01 17:19:29 +00:00
Clinton Wolfe
353ea9166e
Fix escaping of Windows package names 2020-12-01 12:14:45 -05:00
Chef Expeditor
6923d1d75f Bump version to 4.23.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-12-01 12:51:38 +00:00
Nick Schwaderer
a05556bec0
Merge pull request #5321 from inspec/cw/old-rubies
Drop EOL Ruby 2.4 from testing, Fix Ruby 2.5 Gem build
2020-12-01 12:49:56 +00:00
Lance Albertson
a6cff007ed Fix Windows escaping of Windows package names
This resolves #5235 and supersedes #5238.

Instead of using `-match` use `-like` when querying the Windows registry. This
completely removes the problem of trying to clean the string for a regex and
just let's Powershell do that with `-like`.

I confirmed this works with the use case of having a package name such as
`Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29325` work as-is
without any modification.

Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-11-30 18:02:50 -08:00
Clinton Wolfe
6493534843 Conditionally pin chef-utils on Ruby 2.5
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-11-30 16:03:32 -05:00
Clinton Wolfe
db5c39884a Remove Ruby 2.4 from test matrix
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-11-30 14:43:48 -05:00
Chef Expeditor
e5dfa9d652 Update CHANGELOG.md with details from pull request #5281
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-25 12:41:26 +00:00
Nick Schwaderer
019ac0cbf9
Merge pull request #5281 from inspec/update_ruby
Update Ruby to 2.7.2
2020-11-25 12:40:03 +00:00
Tim Smith
a77f1c7460 Remove macOS 10.13 from the build matrix
We support N-2 builds and now that Big Sur is out we can remove 10.13. I also cleaned up the supported platforms in the readme a bit.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-11-23 09:52:32 -08:00
Chef Expeditor
ecc26f4f12 Bump version to 4.23.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-23 16:41:13 +00:00
Nick Schwaderer
4b97fba53a
Merge pull request #5241 from inspec/ns/inspec_cloud
InSpec Cloud: Reporting by Resource
2020-11-23 16:39:27 +00:00
Nick Schwaderer
acf2b2bbab Reverts without bug
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-11-23 15:49:52 +00:00
Nick Schwaderer
0860e631a7 Revert "Supply resource name, params to code_desc"
This reverts commit 345a832eb1.

Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-11-23 15:46:19 +00:00
FPALOMAR
546501e965 Merge branch 'issue-5182' of https://github.com/pacopal/inspec into issue-5182 2020-11-23 14:52:01 +01:00
pacopal
28be72d967 Update oracledb_session.rb
Update format_options for sqlplus to support all versions.
Reference: Issue 5182

Signed-off-by: Francisco Palomares <fpalomares@hotmail.com>

Fixed Test Unit to compare with new values
2020-11-23 14:43:19 +01:00
Nick Schwaderer
345a832eb1 Supply resource name, params to code_desc
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-11-19 09:59:53 +00:00
Chef Expeditor
65da44b6f7 Bump version to 4.23.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-18 15:41:02 +00:00
Nick Schwaderer
673e0415dc
Merge pull request #5306 from james-stocks/js/grub2
grub_conf - handle no menuentry config
2020-11-18 15:39:46 +00:00
Chef Expeditor
638ec26abe Bump version to 4.23.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-18 14:17:02 +00:00
Clinton Wolfe
97dbffba52
Don't reload plugins if load_all is called repeatedly 2020-11-18 09:15:46 -05:00
Clinton Wolfe
a85f7a228f Don't reload plugins if load_all is called repeatedly.
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-11-12 15:05:59 -05:00
superyarick
fe75b288fb Merge branch 'master' of https://github.com/inspec/inspec into yt/wildcart_support_platform_name 2020-11-11 16:08:42 -05:00
James Stocks
918b7fe840 grub_conf - handle no menuentry config
Fixes #5305

grub_conf assumes for grub2 that the config (default `/etc/default/grub`) contains `menuentry` lines. i.e. entries in the menu of kernels to boot.

A customer reports, and we can reproduce on the Vagrant `centos/8` image, that the default config for grub2 contains no such entries.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-11-11 10:56:23 +00:00
Chef Expeditor
23ac60e7ae Update CHANGELOG.md with details from pull request #5298
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-11 10:36:56 +00:00
Nick Schwaderer
4a4a7416ff
Merge pull request #5298 from inspec/mj/updateCodeowners
Update Codeowners file for Docs
2020-11-11 10:35:43 +00:00
Chef Expeditor
d356aca0a9 Bump version to 4.23.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-11 09:07:50 +00:00
Nick Schwaderer
be89d128b9
Merge pull request #5304 from inspec/parallel_pin
Bumps parallel for ruby 2.4 issue
2020-11-11 09:06:26 +00:00
Nick Schwaderer
a6a4e61371 Bumps parallel for ruby 2.4 issue
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-11-10 10:08:01 +00:00
Mary Jinglewski
db770f1be8 Codeowner Pattern Changes
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-11-09 09:33:56 -05:00
Mary Jinglewski
cd81a465d8 Update Codeowners file for Docs
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2020-11-09 09:33:56 -05:00
superyarick
c653ce343a added platform-name wildcard support
added unit test for platform-name wildcard
added doc for release wildcard
added doc for platform-name wildcard

Signed-off-by: superyarick <yarick@yarick.net>
2020-11-08 15:24:43 -05:00
Chef Expeditor
7eb694a6e7 Bump version to 4.23.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-05 11:37:28 +00:00
James Stocks
87c8419921
Merge pull request #5295 from KonradSchieban/patch-1
replace deprecated attributes section with inputs
2020-11-05 11:36:06 +00:00
Chef Expeditor
68c2cbe9ed Bump version to 4.23.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-05 11:31:20 +00:00
James Stocks
2b6a34311e
Merge pull request #5299 from inspec/btm/hab-ed25519
Add ed25519 support to the habitat package
2020-11-05 11:29:51 +00:00
Bryan McLellan
104d669df6 Add ed25519 support to the habitat package
net-ssh only has ed25519 support if the gem is installed. Because it has
native extensions we currently install it as part of the Omnibus package
via the Gemfile, and do not include it in the gemspec.

Without this using ssh keys with `inspec exec -t ssh://` errors with:

```
STDERR: /hab/pkgs/chef/inspec/4.23.16/20201102165953/lib/gems/net-ssh-6.1.0/lib/net/ssh/authentication/ed25519_loader.rb:21:in `raiseUnlessLoaded': OpenSSH keys only supported if ED25519 is available (NotImplementedError)
```

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2020-11-04 21:40:45 -05:00
Chef Expeditor
f362b6e1a1 Bump version to 4.23.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-11-02 16:57:55 +00:00
James Stocks
170ce52e27
Merge pull request #5297 from inspec/js/rspec_pin
Pin rspec to 3.9
2020-11-02 16:56:31 +00:00
Konrad Schieban
1158e51dac replace deprecated attributes section with inputs
Signed-off-by: Konrad Schieban <kschieban@google.com>
2020-11-02 11:47:04 -05:00
James Stocks
cb6c311846 Pin rspec to 3.9
Fixes #5296

rspec 3.10.0 introduces text changes to test outputs. Let's keep it pinned - we don't need to keep rspec current.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-11-02 11:03:59 +00:00
James Stocks
985cdb63f4
Merge pull request #5290 from phiggins/fix-inspec-plugins-docs
Fix links on plugins docs page.
2020-10-26 10:14:59 +00:00
Chef Expeditor
6d2c6049da Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-23 09:03:33 +00:00
Pete Higgins
e11031351b Fix links on plugins docs page.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
2020-10-22 16:53:15 -07:00
Chef Expeditor
2d19011d66 Bump version to 4.23.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-22 00:47:54 +00:00
James Stocks
2183db2b2f
Merge pull request #5287 from inspec/btm/hab-ruby-26
Upgrade the habitat Ruby dependency to 2.6
2020-10-22 01:46:21 +01:00