Commit graph

4240 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
James Stocks
7576ad8ff5 Add Chef patent URL to --help
Fixes #5248

Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-25 13:02:16 +01:00
Chef Expeditor
4c2713b035 Bump version to 4.23.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-22 15:23:48 +00:00
James Stocks
cbad55aec9
Tweak JUnit plugin docs
Signed-off-by: James Stocks <jstocks@chef.io>

Co-authored-by: mjingle <mjinglewski@chef.io>
2020-09-22 15:46:20 +01:00
James Stocks
48054ef2d1 Update documentation for junit plugins
Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-22 14:15:01 +01:00
Chef Expeditor
4c02ebbf5b Bump version to 4.23.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-22 12:07:35 +00:00
Clinton Wolfe
b3f72f5854 Implement a corrected junit2 reporter that can be validated
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
IanMadd
c1da4f64c4 Updating links to inspec docs in ruby scripts
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 14:09:30 -07:00
IanMadd
6a592a6db2 Update various readmes and docs
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 14:09:23 -07:00
Chef Expeditor
70b4114f40 Bump version to 4.23.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-14 16:33:11 +00:00
Chef Expeditor
381a48eb9a Bump version to 4.23.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-14 15:54:49 +00:00
Nick Schwaderer
668197f726
Merge pull request #5213 from inspec/ns/windows
skip_windows! documentation and clearing
2020-09-14 16:53:15 +01:00
Chef Expeditor
c8a3922d2c Bump version to 4.23.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-14 14:57:57 +00:00
Nick Schwaderer
94224e0695
Merge pull request #5210 from Udyrfrykte/master
Improve handling of bracketed options in deb source
2020-09-14 15:56:25 +01:00
Nick Schwaderer
1a1205c729 Fixes many of the old skip_windows instances
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-09-14 15:55:10 +01:00
Chef Expeditor
4c1c4b08b4 Bump version to 4.23.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-14 14:28:04 +00:00
mwrock
60a79d7db7 autoload pry
Signed-off-by: mwrock <matt@mattwrock.com>
2020-09-09 16:55:48 -07:00
Chef Expeditor
29bc849474 Bump version to 4.23.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-09-02 14:59:10 +00:00
Raphael Geissert
b2e62b5b2f Run ps with an ulimited width on linux
On some systems the output of ps may be truncated, which may prevent
profiles from working as intended.

Some implementations specifically mention that the output width is
undefined "(it may be 80, unlimited, determined by the TERM variable,
and so on)".

This fixes #5226.

Signed-off-by: Raphael Geissert <atomo64@gmail.com>
2020-09-02 08:34:11 +02:00
Chef Expeditor
d00706b9a6 Bump version to 4.23.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-28 08:18:45 +00:00
Chef Expeditor
7126b7fea1 Bump version to 4.23.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-27 11:44:49 +00:00
Nick Schwaderer
1d71ce141a
Merge pull request #5185 from StylusEaterChef/amd/issue-5183
First pass at fixing issue #5183.
2020-08-27 12:43:18 +01:00
Chef Expeditor
427499a1e4 Bump version to 4.23.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2020-08-27 10:41:31 +00:00
Nick Schwaderer
1333fcd821
Merge pull request #5211 from tecracer-theinen/feature/configurable-input-cache
Add ability to disable input caching for kitchen-inspec use
2020-08-27 11:39:58 +01:00