Commit graph

10860 commits

Author SHA1 Message Date
Chef Expeditor
d3cebed4fb Bump version to 5.22.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 00:59:08 +00:00
Clinton Wolfe
3759157b07
CHEF-1631 Clarify that command timeout default was withdrawn (#6511)
* Clarify that command timeout default was withdrawn

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

* Delete reference to timeout default entirely.

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

Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
2023-05-17 20:58:10 -04:00
Alan Foster
ce5fb0fb46
Update host resource to resolve all ipaddresses (#6481)
Signed-off-by: Alan Foster <alan@alanfoster.me>
2023-05-15 21:43:22 -04:00
Chef Expeditor
3ecb812aac Bump version to 5.22.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-16 01:34:57 +00:00
Pg
869e1902a1
For #6493 : Add postgres_session support for custom port with a socket connection (#6494)
* Add support for custom port with a socket connection

Signed-off-by: Pg <pg.developper.fr@gmail.com>

* Add tests for the postgres_session with custom port

Signed-off-by: Pg <pg.developper.fr@gmail.com>

---------

Signed-off-by: Pg <pg.developper.fr@gmail.com>
2023-05-15 21:33:47 -04:00
Chef Expeditor
30fa76a5af Bump version to 5.22.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-16 01:29:52 +00:00
amlodzianowski
4c2aa78789
fix: ensure Invoke-WebRequest headers can be configured (#6484)
* fix: ensure Invoke-WebRequest headers can be configured

Signed-off-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>

* fix: use array for custom headers

Signed-off-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>

* test: add unit test for Windows simple HTTP request with headers

Signed-off-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>

---------

Signed-off-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
Co-authored-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
2023-05-15 21:28:48 -04:00
dependabot[bot]
4ca2058db4
Bump omnibus-software from 225e357 to f06bbea in /omnibus (#6508)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `225e357` to `f06bbea`.
- [Release notes](https://github.com/chef/omnibus-software/releases)
- [Commits](225e3576c4...f06bbea744)

---
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-05-15 20:43:51 -04:00
Chef Expeditor
000bdd163c Bump version to 5.22.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-16 00:24:29 +00:00
dependabot[bot]
023b2718b5
Bump rack from 2.2.6.2 to 2.2.6.4 in /omnibus (#6490)
Bumps [rack](https://github.com/rack/rack) from 2.2.6.2 to 2.2.6.4.
- [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/v2.2.6.2...v2.2.6.4)

---
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-05-15 20:23:16 -04:00
dependabot[bot]
bd1b6e986b
Bump omnibus from cf97613 to ae855f3 in /omnibus (#6515)
Bumps [omnibus](https://github.com/chef/omnibus) from `cf97613` to `ae855f3`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](cf97613115...ae855f3060)

---
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-05-15 20:21:08 -04:00
Chef Expeditor
ad7529136f Bump version to 5.22.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-16 00:15:34 +00:00
Clinton Wolfe
dac2bdf878
CHEF-2438 Add train-kubernetes to inspec gemspec (#6512)
* Add train-kubernetes to inspec gemspec, fix spacing

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

* Fix failing test to detect system plugins

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

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-05-15 20:14:15 -04:00
Clinton Wolfe
5640dbeff1
Clarify key_rsa docs regarding SSH keys (#6507)
* Clarify that an RSA resource can only work on RSA keypairs

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

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

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

Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
2023-05-15 20:10:35 -04:00
Chef Expeditor
351dbc0727 Bump version to 5.21.44 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-16 00:06:17 +00:00
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