Commit graph

9181 commits

Author SHA1 Message Date
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
Bryan McLellan
f03c627f75 Upgrade the habitat Ruby dependency to 2.6
We're using ruby 2.6.6 for omnibus via `omnibus_overrides.rb`, but the
core/ruby package is actually Ruby 2.5.

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2020-10-21 19:42:37 -04:00
Chef Expeditor
7b3801b2a8 Bump version to 4.23.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-19 09:42:33 +00:00
Nick Schwaderer
1f0bcd988f
Merge pull request #5278 from inspec/ns/waiver_message
Ensure that we populate information about waiver expiration regardless of `run: true/false`
2020-10-19 10:41:05 +01:00
Tim Smith
b25f13cd56 Update Ruby to 2.7.2
Now that Ruby 2.7.2 no longer throws deprecation warnings left and right
we should update InSpec to use the latest and greatest Ruby that we use
in Chef Infra Client and Workstation.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-10-16 10:53:59 -07:00
Chef Expeditor
9c3ec0613e Bump version to 4.23.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-14 18:45:09 +00:00
James Stocks
9d5d6c8565
Merge pull request #5279 from inspec/im/update_hugo
Update Hugo version to 0.76.4
2020-10-14 19:43:49 +01:00
Nick Schwaderer
4c4bfe0426 Update tests to handle waiver expiration message
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-10-14 12:55:39 +01:00
IanMadd
1fca289f85 Update Hugo version to 0.76.4
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-10-13 14:31:06 -07:00
Nick Schwaderer
459ffcdd2f Ensure that we populate information about waiver expiration regardless of
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-10-13 10:11:40 +01:00
Chef Expeditor
d64e588bc6 Bump version to 4.23.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-13 07:49:53 +00:00
Nick Schwaderer
19992035e9
Merge pull request #5269 from unixengineer/master
Added another example to illustrate use for only_if
2020-10-13 08:48:18 +01:00
Chef Expeditor
49b7d1033d Update CHANGELOG.md with details from pull request #5251
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-09 17:27:14 +00:00
Tim Smith
348388fae1
Merge pull request #5251 from inspec/nuke_requires
Remove thread requires as this is built in now
2020-10-09 10:25:53 -07:00
fpalomar
c5fe6f1a1e Merge branch 'issue-5182' of https://github.com/pacopal/inspec into issue-5182 2020-10-08 21:40:43 +02:00
fpalomar
3854f0b074 Signed-off-by: Francisco Palomares <fpalomares@hotmail.com> 2020-10-08 21:40:17 +02:00
fpalomar
3f5205535a Fixed Test Unit to compare with new values 2020-10-08 16:55:04 +02:00
Ramprasad Prabhakar
1136972fd4 Added another example to illustrate use for only_if
Signed-off-by: Ramprasad Prabhakar <unixengineer@gmail.com>
2020-10-02 16:43:43 -07:00
Chef Expeditor
93f5e0e30f Update CHANGELOG.md with details from pull request #5268
Obvious fix; these changes are the result of automation not creative thinking.
2020-10-01 22:06:58 +00:00
James Stocks
1ff95a6057
Merge pull request #5268 from inspec/im/fix_links
Fix "Edit on GitHub" links
2020-10-01 23:05:44 +01:00
unixengineer
40a64ad0cd
Update dsl_inspec.md 2020-09-29 13:25:09 -07:00
IanMadd
651b95183e Fix Edit on GitHub links
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-29 09:27:10 -07:00
Chef Expeditor
347fe8bfb6 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-28 15:01:40 +00:00
Chef Expeditor
ded881473f Bump version to 4.23.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-25 14:59:59 +00:00
James Stocks
4e1746c60c
Merge pull request #5255 from james-stocks/js/patents
Add Chef patent URL to --help, tidy help output
2020-09-25 15:58:29 +01:00
Catriona Malone
36f4289441 Add option for winrm-shell-type
Signed-off-by: Catriona Malone <cmalone@chef.io>
2020-09-25 15:38:11 +01:00
James Stocks
db5f6a1615 Tidy --help output slightly
Give `exec` a short description in the main help output. Hide the option to disable core plugins.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-25 13:02:16 +01:00