Commit graph

10786 commits

Author SHA1 Message Date
Clinton Wolfe
11784ceb5d
Fix omnibus build which is picking ruby 2.7.4 which has vulnerability (#6341)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-03 10:02:48 -05: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
Nikita Mathur
285b2d0bc0
Upgraded mock ubuntu test from 20.04 to 22.04 (#6351)
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-01-03 09:58:58 -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
Vasundhara Jagdale
7fa49e5132
CFINSPEC-517: Fix for habitat buld failure (#6340)
* Fix for habitat buld failure - Git load issue

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

* Updating ruby installer version to 3.2.1

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

* Revert "Updating ruby installer version to 3.2.1"

This reverts commit 53bae0f71e.

* Checking removing the lines which are not needed.

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

* Revert "Checking removing the lines which are not needed."

This reverts commit b5561abc51.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-03 09:57:01 -05: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
Sonu Saha
3532c41634
Update readme for usage via Docker (CFINSPEC-516) (#6329)
* DOCS: Update readme for usage via Docker (CFINSPEC-516)

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* DOCS: Explain updated readme (CFINSPEC-516)

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-11-29 18:37:44 -05: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
Takuya N
d8195bdc4b
Update chefstyle from 2.0.x to 2.2.2 to use RuboCop 1.25.1 (#6240)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-11-29 12:13:49 -05: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
Clinton Wolfe
1ae835af73
Remove Windows 3.0 testing. Chef 18 was never released for Ruby 3.0, only 3.1 (#6330)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-11-29 09:34:45 -05: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
Sathish Babu
a1aa3302bd
Cfinspec 488 fix nokigiri omnibus (#6305)
* update signing_identity

Signed-off-by: Sathish <sbabu@progress.com>

* pin chef 17.0 to ruby 2.7

Signed-off-by: Sathish <sbabu@progress.com>

* add nokogiri as dependency

Signed-off-by: Sathish <sbabu@progress.com>

* pin chef to older version for ruby version lesser than 3.0

Signed-off-by: Sathish <sbabu@progress.com>

* Linting

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

Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-11-27 19:11:46 -05: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
Sathish Babu
d9076e31de
CFINSPEC-493 update signing_identity (#6298)
* update signing_identity

Signed-off-by: Sathish <sbabu@progress.com>

* pin chef to older version for ruby version lesser than 3.0

Signed-off-by: Sathish <sbabu@progress.com>

Signed-off-by: Sathish <sbabu@progress.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-11-27 18:56:44 -05: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
Vasundhara Jagdale
167de6ff70
Fix for omnibus build failure on Windows (#6289)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-10-27 08:58:47 -04: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
dependabot[bot]
ad80703e44
Bump omnibus-software from 1d540dc to 7d0e0fe in /omnibus (#6274)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `1d540dc` to `7d0e0fe`.
- [Release notes](https://github.com/chef/omnibus-software/releases)
- [Commits](1d540dcdef...7d0e0fe472)

---
updated-dependencies:
- dependency-name: omnibus-software
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 10:38:26 -04: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
dependabot[bot]
838070c94c
Bump test-kitchen from 3.3.1 to 3.3.2 in /omnibus (#6227)
Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/test-kitchen/test-kitchen/releases)
- [Changelog](https://github.com/test-kitchen/test-kitchen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/test-kitchen/test-kitchen/commits)

---
updated-dependencies:
- dependency-name: test-kitchen
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 10:18:42 -04: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
Vasundhara Jagdale
612e1c21b4
Update Faraday gem (#6267)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-10-19 20:56:19 +05:30
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
Chef Expeditor
60c80527f3 Bump version to 5.20.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-09-20 14:34:28 +00:00
Vasundhara Jagdale
572524b7ff
CFINSPEC-462: Fixes inspec sign breaks when there is period or dot in the profile name (#6261)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-09-20 10:33:10 -04:00
Chef Expeditor
361c19a006 Bump version to 5.20.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-09-15 13:24:51 +00:00
Sonu Saha
3bcf4e6544
Enhance lxc resource to test properties (#6243)
* ENHANCE: Extend lxc resource to test the properties

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* TEST: Extend test for introduced properties

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* DOCS: Extend test for introduced properties

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* FIX: Correct exception class to handle bad yaml

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* Doc Review

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

* FIX: Handle specific exception to handle bad yaml

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
Co-authored-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-09-15 09:23:45 -04:00
Marijus Ravickas
93f24cabbe
resolves inspec/inspec#6042 (#6043)
Signed-off-by: Marijus Ravickas <marijus.ravickas@gmail.com>

Signed-off-by: Marijus Ravickas <marijus.ravickas@gmail.com>
2022-08-25 09:39:17 -04:00
Chef Expeditor
fb44afe020 Bump version to 5.20.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-08-25 13:34:35 +00:00
Takuya N
fdb789febf
Sync up the default branch as main (#6239)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-08-25 09:33:17 -04:00
Chef Expeditor
61798ca383 Bump version to 5.20.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-08-04 13:18:01 +00:00
Vasundhara Jagdale
a32a6c130f
Fix the dependabot adding ffi (1.15.5-x64-unknown) and removing ffi (1.15.5-x64-mingw-ucrt) from the Gemfile.lock (#6213)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Adding x64-mingw-ucrt

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-08-04 09:16:36 -04:00