Commit graph

10845 commits

Author SHA1 Message Date
jjacque
33e148dae4
Add nftables resources (#6499)
* Fix systemd path for Leap image

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Use vhef client version 17 as doocker cookbook do not support >= 18

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Add nftables resource

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Add nftables tests

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Add fixtures for nftables tests

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* enable nftables only when attr is true - then disable iptables

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* By default test iptables, not nftables

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Fix tests and lint errors

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Increase unit test coverage for nftables

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Do not use -nn nft option as behaviour changes based on nft version

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Base nft params identification on its version, not os version

    Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Make test more human friendly by reversing unless/if logic

    Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Update mocked cmds with nft params

    Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Fix quoting issue with rubocop

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Fix uninitiallized class vars

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Fix unit test by adding nft version mocking

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

* Clean nftables doc

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>

---------

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
2023-05-15 20:05:01 -04:00
Chef Expeditor
d0210bfda4 Bump version to 5.21.43 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-28 15:20:03 +00:00
Vasundhara Jagdale
f2016ac4d6
Adds configuration required for sonarqube integration. (#6480)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-03-28 20:48:59 +05:30
Chef Expeditor
f54db5ccef Bump version to 5.21.42 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-23 14:55:08 +00:00
Nikita Mathur
2e4e61dab5
CHEF-1458 Multiple values changes in SimpleConfig library (#6489)
* Simple config changes to return array of values with multiple values opt

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

* New option added to split multiple values with a delimiter regex

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-03-23 20:24:01 +05:30
Chef Expeditor
78afa94583 Bump version to 5.21.41 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-28 11:28:59 +00:00
Vasundhara Jagdale
f32ef139c8
Revert "adding new private verify, as this will kick off the expeditor bump version (#6397)" (#6479)
This reverts commit 227b0f2d35.
2023-02-28 16:57:18 +05:30
Chef Expeditor
bbf0e7512e Bump version to 5.21.40 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 15:44:44 +00:00
dependabot[bot]
15e568501a
Bump rack from 2.2.4 to 2.2.6.2 in /omnibus (#6388)
Bumps [rack](https://github.com/rack/rack) from 2.2.4 to 2.2.6.2.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.4...v2.2.6.2)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:13:39 +05:30
Chef Expeditor
774f68eb59 Bump version to 5.21.39 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 13:47:34 +00:00
dependabot[bot]
8c5eaffcdd
Bump test-kitchen from 3.3.2 to 3.5.0 in /omnibus (#6360)
Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 3.3.2 to 3.5.0.
- [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/v3.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 19:16:27 +05:30
Chef Expeditor
d337843709 Bump version to 5.21.38 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 12:05:20 +00:00
dependabot[bot]
535e400744
Bump kitchen-vagrant from 1.12.1 to 1.14.1 in /omnibus (#6427)
Bumps [kitchen-vagrant](https://github.com/opscode/kitchen-vagrant) from 1.12.1 to 1.14.1.
- [Release notes](https://github.com/opscode/kitchen-vagrant/releases)
- [Changelog](https://github.com/test-kitchen/kitchen-vagrant/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opscode/kitchen-vagrant/compare/v1.12.1...v1.14.1)

---
updated-dependencies:
- dependency-name: kitchen-vagrant
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 17:34:21 +05:30
Chef Expeditor
fdee4f6c8b Bump version to 5.21.37 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 10:48:00 +00:00
dependabot[bot]
763089d809
Bump omnibus from c66e97c to cf97613 in /omnibus (#6423)
Bumps [omnibus](https://github.com/chef/omnibus) from `c66e97c` to `cf97613`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](c66e97c211...cf97613115)

---
updated-dependencies:
- dependency-name: omnibus
  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-27 16:17:00 +05:30
Chef Expeditor
ff1f48c013 Bump version to 5.21.36 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 09:27:14 +00:00
dependabot[bot]
62f05ce57c
Bump omnibus-software from 6a13693 to 225e357 in /omnibus (#6442)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `6a13693` to `225e357`.
- [Release notes](https://github.com/chef/omnibus-software/releases)
- [Commits](6a13693685...225e3576c4)

---
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-27 14:56:14 +05:30
Vasundhara Jagdale
1d7de8f6ba
CFINSPEC-550 Add RHEL9 to build matrix (#6403)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-27 00:05:14 -05:00
Chef Expeditor
c5b3599d2c Bump version to 5.21.35 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 05:03:24 +00:00
Ian Maddaus
c9a13ea6a2
Formatting fixes for podman docs (#6386)
* Formatting fixes for podman docs

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

* Minor fix

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

* Update docs-chef-io/content/inspec/resources/podman.md

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

Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>

* Update docs-chef-io/content/inspec/resources/podman.md

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

Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>

---------

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>
2023-02-27 00:02:20 -05:00
Chef Expeditor
42c422d877 Bump version to 5.21.34 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 04:57:39 +00:00
Nikita Mathur
80121f361a
CFINSPEC-580 Dependent profiles fix for any scheme of version used in profiles (#6410)
* Dependent profiles fix for any scheme of version used in profiles

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

* Dependent profile fix when version is blank in dependent profiles

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

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-02-26 23:56:36 -05:00
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
7cff4cdf86
Updates release process docs as per current changes (#6398)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-03 13:54:31 +05:30
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
f72b0fa2b3
Merge pull request #6384 from inspec/ss/update-cli-docs-rake-task
CFINSPEC-554: Update CLI Docs rake task to work with current InSpec docs.
2023-02-03 13:18:38 +05:30
Sonu Saha
724b5c5f60 REFACTOR: Remove repetitive dl closing for subcommands of single command
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-02-02 12:45:25 +05:30
Sonu Saha
5d9e023828 FORMAT: Use html dl, dt, dd tags for displaying subcommands
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-02-01 16:32:00 +05:30
Sonu Saha
e70d8091d6 Remove unused require
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-02-01 10:39:19 +05:30
Sonu Saha
b59e2cb92a DOCS: Generate cli.md with rake docs:cli
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-01-31 21:31:45 +05:30
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
Sonu Saha
ae90a28838
CFINSPEC-522: Remove rake tasks which are no longer used (#6367)
* CLEAN-UP: Remove unused rake tasks
missing, kitchen and version tasks are not used

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

* CLEAN-UP: Remove functional rake test
test:default covers both unit and functional tests
default was introduced to cover both functional and unit in PR #4102

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

* CLEAN-UP: Remove unused docs related tasks

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

* CLEAN-UP: Remove tasks/* from expeditor config

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

* REVERT: Undo deletion of functional test

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

* RECOVER: Retain docs:cli task

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

* UNDO: Revert changes to config

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

* CHORE: Add reference to this PR in note for future use

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-01-31 10:07:38 -05:00
Chef Expeditor
9a4da5cca6 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2023-01-24 15:25:51 +00:00
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
Clinton Wolfe
122e9bff72
Update copyright year in README (#6395)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-01-24 00:53:45 -05: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
sean-simmons-progress
227b0f2d35
adding new private verify, as this will kick off the expeditor bump version (#6397)
Signed-off-by: Sean Simmons <ssimmons@progress.com>

Signed-off-by: Sean Simmons <ssimmons@progress.com>
2023-01-23 20:28:16 -05:00
Vasundhara Jagdale
8c3f432967
Add ruby-msys2-devkit as dependency and check (#6391)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-19 17:31:21 +05:30
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
Vasundhara Jagdale
7538ba387a
Bump version of omnibus-software (#6385)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-18 11:26:25 -05: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
Vasundhara Jagdale
6ec5c5020f
Ruby 3.1 support: Adds ucrt platform to resolve windows omnibus build. (#6381)
* Adds the ucrt platform support for Windows

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

* Adds the environment variable to ignore artifactory proxy as some gem are getting 500 error when tries to download from artifactory

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

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-16 09:20:09 -05:00