Commit graph

10984 commits

Author SHA1 Message Date
Chef Expeditor
1dd787800a Bump version to 6.2.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 12:18:22 +00:00
Vasundhara Jagdale
35f8c4829f
CFINSPEC-533: Fix undefined method 'summary' for Gem::SourceFetchProblem (NoMethodError) when airgapped (#6337) (#6434)
* 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.



* Adds test for reading description from local gemspec file.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-24 17:47:19 +05:30
Chef Expeditor
81845cec30 Bump version to 6.2.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 12:13:49 +00:00
Vasundhara Jagdale
4376365304
Fix env smoke test by updating ERB.new in inspec env; add additional test (#6342) (#6440)
* Failing test for Ruby 3.1 - ERB.new call options changed



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



* Restrict test to non-windows systems



* Restrict test to non-windows systems

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-02-24 17:42:42 +05:30
Chef Expeditor
e42413cfc3 Bump version to 6.2.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 11:46:40 +00:00
Vasundhara Jagdale
be7671da8e
Fixing typo in user_permissions (#6344) (#6465)
* Fixing typo in user_permissions



* Corrected spacing

Signed-off-by: Magruder, Micah <Micah.Magruder@oracle.com>
Co-authored-by: Micah Magruder <micah.magruder@cerner.com>
2023-02-24 17:15:28 +05:30
Chef Expeditor
80178eb7d6 Bump version to 6.2.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 10:58:07 +00:00
Chef Expeditor
5f82496263 Bump version to 6.2.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 10:56:15 +00:00
Nikita Mathur
5f69dea2ca
CFINSPEC-517: Fix for habitat buld failure (#6340) (#6461)
* Fix for habitat buld failure - Git load issue



* Updating ruby installer version to 3.2.1



* Revert "Updating ruby installer version to 3.2.1"

This reverts commit 53bae0f71e.

* Checking removing the lines which are not needed.



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

This reverts commit b5561abc51.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>
2023-02-24 16:25:51 +05:30
Vasundhara Jagdale
e95571fa05
CFINSPEC-393 - Fix for custom plugin loading issue when gemspec file is invalid and unable to load the lib path. (#6334) (#6464)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-24 16:24:44 +05:30
Nikita Mathur
3d54b17049
Upgraded mock ubuntu test from 20.04 to 22.04 (#6456)
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-02-24 16:00:19 +05:30
Chef Expeditor
01a8c4ac58 Bump version to 6.2.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 10:06:50 +00:00
Nikita Mathur
f619a1d69e
Update chefstyle from 2.0.x to 2.2.2 to use RuboCop 1.25.1 (#6240) (#6458)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Co-authored-by: Takuya N <takninnovationresearch@gmail.com>
2023-02-24 15:35:49 +05:30
Chef Expeditor
6f47b24162 Bump version to 6.2.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 09:43:38 +00:00
Vasundhara Jagdale
1e1e804b87
Prevent negative status from crashing launchd service resource (#6262) (#6433)
Signed-off-by: dtheyer <davidheyer2016@gmail.com>
Co-authored-by: dtheyer <davidheyer2016@gmail.com>
2023-02-24 15:12:38 +05:30
Chef Expeditor
88084d80ca Bump version to 6.2.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 09:41:11 +00:00
Vasundhara Jagdale
2e50b11ced
Remove Windows 3.0 testing. Chef 18 was never released for Ruby 3.0, only 3.1 (#6330) (#6452)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-02-24 15:10:01 +05:30
Chef Expeditor
26ca0f3f5b Bump version to 6.2.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 09:37:14 +00:00
Vasundhara Jagdale
e9155a3911
CFINSPEC-493 update signing_identity (#6298) (#6448)
* update signing_identity



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

Signed-off-by: Sathish <sbabu@progress.com>
Co-authored-by: Sathish Babu <80091550+sathish-progress@users.noreply.github.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-02-24 15:05:45 +05:30
Chef Expeditor
cd26c4e817 Bump version to 6.2.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 09:34:58 +00:00
Vasundhara Jagdale
8e429571a6
Fix Ruby 2.7 Bundle Installs on CI Verify Pipeline (#6324) (#6446)
* We will never be on 2.6 again



* Only run html-proofer test on Ruby 3



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

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-02-24 15:03:59 +05:30
Chef Expeditor
6940d59027 Bump version to 6.2.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 09:30:11 +00:00
Vasundhara Jagdale
2c27740940
Fix for omnibus build failure on Windows (#6289) (#6463)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-24 14:59:05 +05:30
Chef Expeditor
48a4d62187 Bump version to 6.2.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 09:11:27 +00:00
Vasundhara Jagdale
5755e90bcc
Bump omnibus-software from 1d540dc to 7d0e0fe in /omnibus (#6274) (#6462)
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-24 14:39:44 +05:30
Chef Expeditor
d51ab98fe1 Bump version to 6.2.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 09:05:52 +00:00
Vasundhara Jagdale
d63fec38a0
Bump test-kitchen from 3.3.1 to 3.3.2 in /omnibus (#6227) (#6460)
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-24 14:34:46 +05:30
Chef Expeditor
602b5e0cef Bump version to 6.2.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 08:51:10 +00:00
Vasundhara Jagdale
ecce508ee0
Sync up the default branch as main (#6239) (#6455)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Co-authored-by: Takuya N <takninnovationresearch@gmail.com>
2023-02-24 14:20:00 +05:30
Chef Expeditor
c72b757945 Bump version to 6.2.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 07:56:10 +00:00
Vasundhara Jagdale
3685eff535
RESOURCE-527 Add an inspec init template for alicloud (#6304) (#6432)
* adding the alicloud in the spec.files



* adding the test for generating inspec profile alicloud



* adding the alicloud profile



* fix lint error

Signed-off-by: Soumyodeep Karmakar <soumyo.k13@gmail.com>
Co-authored-by: Soumyodeep Karmakar <63713087+soumyo13@users.noreply.github.com>
2023-02-24 13:25:09 +05:30
Chef Expeditor
f83d593e74 Bump version to 6.2.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-11-30 05:52:20 +00:00
Sonu Saha
6d8a11ef08
Merge pull request #6333 from inspec/cw/foreport-6329
Foreport #6329 to inspec-6 - Update readme for usage via Docker (CFINSPEC-516)
2022-11-30 11:21:23 +05:30
Sonu Saha
94a5054678 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:41:12 -05:00
Chef Expeditor
9fe30c22c9 Bump version to 6.2.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-25 13:24:48 +00:00
Chef Expeditor
5b0e61598f Bump version to 6.2.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-25 13:23:01 +00:00
Nikita Mathur
44939be5a6
Merge pull request #6272 from inspec/nm/parallel-breaking-fix
CFINSPEC-479 Inspec parallel breaking fix
2022-10-25 18:52:10 +05:30
Nikita Mathur
7410dd7b73
Merge pull request #6288 from inspec/nm/missing-features
Added child-status reporter in features.yaml list
2022-10-25 18:51:56 +05:30
Nikita Mathur
4b4053c656 Reverted backtrace loggin in stderr for resolving test case issues
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-10-25 17:22:21 +05:30
Nikita Mathur
5647e16d65 Added child-status reporter in features.yaml
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-10-21 17:09:37 +05:30
Chef Expeditor
f02f2ffa12 Bump version to 6.2.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-21 07:46:52 +00:00
Vasundhara Jagdale
9d2f45e922
Update Faraday gem (#6283)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-10-21 13:15:49 +05:30
Chef Expeditor
87d865da01 Bump version to 6.2.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-20 18:14:45 +00:00
Chef Expeditor
a08d013a87 Bump version to 6.2.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-20 18:12:55 +00:00
Chef Expeditor
488f30e410 Bump version to 6.2.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-20 18:11:02 +00:00
Chef Expeditor
f486d0b180 Bump version to 6.2.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-20 18:09:04 +00:00
Nikita Mathur
b593c2ff34
Foreport 6257 to inspec 6 (#6279)
* 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-20 14:07:39 -04:00
Chef Expeditor
5026ac67e6 Bump version to 6.2.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-10-20 18:07:18 +00:00
Nikita Mathur
15433e8661
Foreport 6229 to inspec 6 (#6277)
* 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-10-20 14:07:10 -04:00
Sonu Saha
8b39f2865e
CFINSPEC-462: Fixes inspec sign breaks when there is period or dot in the profile name (#6261) (#6276)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

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

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>
2022-10-20 14:06:38 -04:00