Commit graph

5443 commits

Author SHA1 Message Date
Chef Expeditor
668fb50b62 Bump version to 5.21.33 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 04:46:45 +00:00
Vasundhara Jagdale
344b0aa335
CFINSPEC-576 : Fix profile gem dependency loading issue when dependent gem is required inside profile libraries. (#6408)
* Test profile consist of custom resource which has a gem dependency

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* CFINSPEC-576 Fix for profile gem depedency loading issue if depedent gem is required in libraries files of the profile

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Fix windows test failure for profile gem dependency

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-26 23:45:47 -05:00
Chef Expeditor
5d8518b9fa Bump version to 5.21.32 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-03 08:27:16 +00:00
Chef Expeditor
fe187f73c7 Bump version to 5.21.31 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-03 08:25:17 +00:00
Vasundhara Jagdale
b3181ef903
CFINSPEC-573: Fix for mongo_session resources prints debug level of information in output of the run result. (#6401)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-03 13:54:08 +05:30
Chef Expeditor
444c53e5db Bump version to 5.21.30 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-03 07:49:56 +00:00
Sonu Saha
9137afd84c RAKE TEST: Fix rake task for docs:cli
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-01-31 21:31:06 +05:30
Chef Expeditor
81e11ff940 Bump version to 5.21.29 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-24 05:54:46 +00:00
Chef Expeditor
dce7f206e1 Bump version to 5.21.28 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-24 01:29:24 +00:00
Chef Expeditor
778edb020a Bump version to 5.21.27 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-18 16:27:30 +00:00
Chef Expeditor
0cb4b6c06e Bump version to 5.21.26 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-17 12:31:03 +00:00
Nikita Mathur
74e69e6acd
CFINSPEC-542 Bug fix for profiles with dependent profiles (#6377)
* Matching semver using regex to determine profile name without version in dsl logic

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Testing for selecting control using version in require control dsl

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Documentation for using version with profile name when including or selecting controls in a profile

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Commenting in dsl library about logic for fetching version and matching it

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Comment for regex used to fetch version

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Minor improvement for regex variable placement

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-01-17 07:29:52 -05:00
Chef Expeditor
1677273fd9 Bump version to 5.21.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-17 12:29:00 +00:00
Nikita Mathur
ae1173c0b3
CFINSPEC-240 Extended file format support for waivers: JSON & CSV (#6369)
* Revert "Revert "CFINSPEC-240 Extended file format support for waivers (#6193)" (#6366)"

This reverts commit 30146e07fe.

* Waiver support for csv and json

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Removed the word excel from image tag

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Update waivers.md

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Co-authored-by: Ian Maddaus <ian.maddaus@progress.com>
2023-01-17 07:27:47 -05:00
Chef Expeditor
833a7959f9 Bump version to 5.21.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-16 14:21:26 +00:00
Chef Expeditor
a31d6c0134 Bump version to 5.21.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-16 07:04:48 +00:00
Chef Expeditor
73f65d33b7 Bump version to 5.21.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-06 05:54:20 +00:00
Chef Expeditor
b98363a05e Bump version to 5.21.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-04 10:33:19 +00:00
Nikita Mathur
30146e07fe
Revert "CFINSPEC-240 Extended file format support for waivers (#6193)" (#6366)
This reverts commit b7ddac9dcc.
2023-01-04 16:02:16 +05:30
Chef Expeditor
a2c8de2bdf Bump version to 5.21.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 15:06:06 +00:00
Chef Expeditor
4404c7bf57 Bump version to 5.21.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 15:04:14 +00:00
Chef Expeditor
649347d411 Bump version to 5.21.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 15:02:12 +00:00
Vasundhara Jagdale
326b6bfd47
CFINSPEC-533: Fix undefined method 'summary' for Gem::SourceFetchProblem (NoMethodError) when airgapped (#6337)
* This fixes the undefined method 'summary' for #<Gem::SourceFetchProblem:0x000000000139dc70> (NoMethodError) while invoking any inspec command if the custom plugin is installed and if inspec commands are run in an air gap environment.
This fix removes an earlier call for getting gem specification from rubygems.org which is the cause for above error and replaces it with fetching the summary from a locally saved gemspec file. This will work in both airgap and non-airgap environments.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Adds test for reading description from local gemspec file.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-03 10:01:49 -05:00
Clinton Wolfe
a8e0c5c435
Fix env smoke test by updating ERB.new in inspec env; add additional test (#6342)
* Failing test for Ruby 3.1 - ERB.new call options changed

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Fix for Ruby 3.1 by using named params to ERB.new

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Restrict test to non-windows systems

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Restrict test to non-windows systems

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-01-03 10:00:34 -05:00
Chef Expeditor
5a4247ae04 Bump version to 5.21.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 15:00:06 +00:00
Micah Magruder
be56fead39
Fixing typo in user_permissions (#6344)
* Fixing typo in user_permissions

Signed-off-by: Magruder, Micah <Micah.Magruder@oracle.com>

* Corrected spacing

Signed-off-by: Magruder, Micah <Micah.Magruder@oracle.com>

Signed-off-by: Magruder, Micah <Micah.Magruder@oracle.com>
2023-01-03 09:59:30 -05:00
Chef Expeditor
9c1abfebd2 Bump version to 5.21.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-03 14:58:11 +00:00
Chef Expeditor
20f8d3b67f Bump version to 5.21.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-12-01 15:19:41 +00:00
Vasundhara Jagdale
036bc32f9b
CFINSPEC-393 - Fix for custom plugin loading issue when gemspec file is invalid and unable to load the lib path. (#6334)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-12-01 10:18:40 -05:00
Chef Expeditor
310bc1a5b0 Bump version to 5.21.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-29 23:38:41 +00:00
Chef Expeditor
130c99c88f Bump version to 5.21.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-29 17:14:47 +00:00
Chef Expeditor
90f8a30bcc Bump version to 5.21.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-29 14:38:17 +00:00
dtheyer
0695b0dbc8
Prevent negative status from crashing launchd service resource (#6262)
Signed-off-by: dtheyer <davidheyer2016@gmail.com>

Signed-off-by: dtheyer <davidheyer2016@gmail.com>
2022-11-29 09:37:12 -05:00
Chef Expeditor
1215f22e0e Bump version to 5.21.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-29 14:35:47 +00:00
Chef Expeditor
057f187b79 Bump version to 5.21.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-28 00:12:43 +00:00
Chef Expeditor
41fc564ef5 Bump version to 5.21.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-27 23:57:37 +00:00
Chef Expeditor
64186c37f3 Bump version to 5.21.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-27 22:58:16 +00:00
Clinton Wolfe
d27d981b33
Fix Ruby 2.7 Bundle Installs on CI Verify Pipeline (#6324)
* We will never be on 2.6 again

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Only run html-proofer test on Ruby 3

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Pin to chef 16 on ruby 2.7, 17+ on Ruby 3

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-11-27 17:57:20 -05:00
Chef Expeditor
95cd68bd3c Bump version to 5.21.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-23 07:39:27 +00:00
Soumyodeep Karmakar
965a5df1a2
RESOURCE-527 Add an inspec init template for alicloud (#6304)
* adding the alicloud in the spec.files

Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>

* adding the test for generating inspec profile alicloud

Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>

* adding the alicloud profile

Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>

* fix lint error

Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>

Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>
2022-11-23 13:08:29 +05:30
Chef Expeditor
3ca40b46f7 Bump version to 5.21.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-27 12:59:46 +00:00
Chef Expeditor
248af4efec Bump version to 5.21.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-20 14:39:26 +00:00
Chef Expeditor
2c8d501af1 Bump version to 5.21.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-20 14:19:47 +00:00
Chef Expeditor
6c6ccfe96f Bump version to 5.21.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-19 15:27:18 +00:00
Chef Expeditor
a3de40f571 Bump version to 5.21.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-19 13:58:13 +00:00
Takuya N
5be10c0ea2
Replace faraday_middleware with faraday-follow_redirects (#6238)
faraday_middleware was already DEPRECATED in 2022-01.
Only FaradayMiddleware::FollowRedirects from faraday_middleware has been
used, and so we can replace it with faraday-follow_redirects.

faraday-follow_redirects 0.3.0 requires faraday ~> 1.0, which is as same
as "faraday_middleware 1.0.0 or higher.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-10-19 09:57:15 -04:00
Chef Expeditor
af5b8335af Bump version to 5.21.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-14 14:00:39 +00:00
Nikita Mathur
139f84831a
CFINSPEC-458 Oracle DB session resource compatibility with AIX-C shell (#6257)
* Oracle DB session resource compatibility with AIX-Cshell

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Fixes in oracledb session unit test using oracle_query_string

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-10-14 09:59:27 -04:00
Chef Expeditor
b71caaeaa1 Bump version to 5.21.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-09-29 13:46:06 +00:00
Nikita Mathur
f2dc49f6ea
CFINSPEC-374 DSL keyword only_applicable_if added (#6229)
* Not applicable if logic addition

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Changes from not applicable if to only applicable if

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Fix to enable placing only_applicable_if at any position in control and for keeping impact zero intact

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Doc change added for only_applicable_if

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Doc Review

Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>

* Added generic examples that supports cross platform for testing

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Yet another build fix due to changes in test

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
Co-authored-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-09-29 09:44:52 -04:00