summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Replace deprecated File.exists? with File.exist? in more placesfile_existsTim Smith2021-02-027-15/+15
| | | | | | Just some boring cleanup Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.9.33 by Chef Expeditorv16.9.33Chef Expeditor2021-02-027-21/+29
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10961 from ↵Tim Smith2021-02-021-1/+1
|\ | | | | | | | | chef/dependabot/bundler/omnibus/chef-16/kitchen-vagrant-1.8.0 Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump kitchen-vagrant from 1.7.2 to 1.8.0 in /omnibusdependabot-preview[bot]2021-02-021-1/+1
|/ | | | | | | | Bumps [kitchen-vagrant](https://github.com/opscode/kitchen-vagrant) from 1.7.2 to 1.8.0. - [Release notes](https://github.com/opscode/kitchen-vagrant/releases) - [Changelog](https://github.com/test-kitchen/kitchen-vagrant/blob/master/CHANGELOG.md) - [Commits](https://github.com/opscode/kitchen-vagrant/compare/v1.7.2...v1.8.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Update CHANGELOG.md to reflect the promotion of 16.9.32Chef Expeditor2021-01-282-14/+11
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.9.32 by Chef Expeditorv16.9.32Chef Expeditor2021-01-277-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10947 from chef/inspec_bumpTim Smith2021-01-272-17/+23
|\ | | | | Update inspec to 4.26.4 and train to 3.4.9
| * Update inspec to 4.26.4 and train to 3.4.9Tim Smith2021-01-272-17/+23
|/ | | | | | This unblocks remediation content. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.9.31 by Chef Expeditorv16.9.31Chef Expeditor2021-01-277-22/+23
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10943 from ↵Tim Smith2021-01-271-4/+4
|\ | | | | | | | | chef/dependabot/bundler/omnibus/chef-16/omnibus-65c5931 Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump omnibus from `44f1303` to `65c5931` in /omnibusdependabot-preview[bot]2021-01-271-4/+4
|/ | | | | | | Bumps [omnibus](https://github.com/chef/omnibus) from `44f1303` to `65c5931`. - [Release notes](https://github.com/chef/omnibus/releases) - [Commits](https://github.com/chef/omnibus/compare/44f13035ff8aa40ea15e4483dfcfde09b8c82e5c...65c593140db931e91a25ce6624d99a3248c7288e) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump version to 16.9.30 by Chef Expeditorv16.9.30Chef Expeditor2021-01-227-18/+26
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10914 from chef/lcg/backport-dev-gem-removalLamont Granquist2021-01-224-15/+24
|\ | | | | Backport of changes necessary for removal of dev gems
| * Backport of changes necessary for removal of dev gemslcg/backport-dev-gem-removalLamont Granquist2021-01-204-15/+24
|/ | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update CHANGELOG.md to reflect the promotion of 16.9.29Chef Expeditor2021-01-212-21/+18
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.9.29 by Chef Expeditorv16.9.29Chef Expeditor2021-01-207-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10908 from chef/inspec_bumpTim Smith2021-01-202-22/+26
|\ | | | | Update InSpec to 4.25
| * Update InSpec to 4.25Tim Smith2021-01-202-22/+26
|/ | | | | | | This fixes issues with large reports causing failures in Automate and also unblocks many deps for Ruby 3 Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.9.28 by Chef Expeditorv16.9.28Chef Expeditor2021-01-207-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10904 from chef/pin_rspec_16Tim Smith2021-01-193-19/+25
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Pin rspec until we can resolve failures with 3.10Tim Smith2021-01-193-19/+25
| | | | | | | | | | | | | | 3.10 is causing failures in CI. This pins it so we can keep bumping our other deps Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.9.27 by Chef Expeditorv16.9.27Chef Expeditor2021-01-207-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 16.9.26 by Chef Expeditorv16.9.26Chef Expeditor2021-01-207-19/+20
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.9.25 by Chef Expeditorv16.9.25Chef Expeditor2021-01-207-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.9.24 by Chef Expeditorv16.9.24Chef Expeditor2021-01-207-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10902 from ↵Tim Smith2021-01-191-3/+3
|\ | | | | | | | | chef/dependabot/bundler/omnibus/chef-16/omnibus-software-1cff56e Bump omnibus-software from `023e6bf` to `1cff56e` in /omnibus
| * Bump omnibus-software from `023e6bf` to `1cff56e` in /omnibusdependabot-preview[bot]2021-01-201-3/+3
| | | | | | | | | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `023e6bf` to `1cff56e`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/023e6bf1221e9ab92a6809c9f04f55973178f0b1...1cff56e31219e2851d2651e9b92fffd15e42bd00) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Merge pull request #10900 from chef/compliance_detectionTim Smith2021-01-192-5/+6
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Compliance Phase: even better audit cookbook detectionLamont Granquist2021-01-192-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This detects if the audit cookbook's library files have been parsed, which is mildly brittle but this constant has been stable back to 2017. This catches the case where a site: 1. Has the audit cookbook as a cookbook dependency so it is in the run_list. 2. The wrapper cookbook is loading the attributes. 3. But the audit cookbook is not run every time and is controlled by "include_recipe" with a conditional wrapper. It may also catch cases where the site uses a named_run_list in a PolicyFile since the cookbook set is the same no matter what named_run_list you are running (pretty sure that's a feature of how PolicyFiles work). What it can't do is catch old-style override run_lists with the audit cookbook normally not in the cookbook set at all. That is quite literally impossible to detect. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 16.9.23 by Chef Expeditorv16.9.23Chef Expeditor2021-01-207-19/+20
|/ / | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10899 from chef/client_dTim Smith2021-01-191-1/+32
|\ \ | | | | | | Add support for client.d files in chef-shell
| * | Add support for client.d files in chef-shellPhil Dibowitz2021-01-191-1/+32
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings chef-shell a bit closer to behaving properly. This code is tons of copy-pasta and needs some love. Because it's not using *any* of `Chef::Application` (not `Application` or `Application::Base` or even it's own fork of `Application` like half the other stuff in the repo), it doesn't have access to _any_ of the many versions of `load_config_file` (note to self: collapse those into one). Pulling in Application will be a significant chunk of work, so in the mean time I did the minimal amount of work to make the `parse_opts` in shell.rb create the right bits so that Chef::Config and Mixin::DotD can work... so while this doesn't fix the problem that we're invoking our own config parsing, it at least uses as much of the common code as I can without reworking the entirety of chef-shell. Here's an example of it working: ``` root@ldt-hardwired:~# cinc-shell -s -c /etc/chef/client.rb loading configuration: /etc/chef/client.rb true Session type: solo ``` From there it loads not only `/et/chef/client.rb` but also `/etc/chef/client.d/ohai.rb`. Neat. None of this portion of the code is tested in the specs and frankly, I'm not entirely certainly how to go about writing a test, but I'll poke around. fixes #10748 Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | Merge pull request #10897 from chef/ohai_16Tim Smith2021-01-192-11/+3
|\ \ | | | | | | Fix ohai resource spec
| * | Fix ohai resource specLamont Granquist2021-01-192-11/+3
| |/ | | | | | | | | | | | | | | 1. this speeds it up by avoiding the sleep and the old ohai data 2. this fixes it because it was totally broken and the old uptime value was nil anyway Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Merge pull request #10898 from chef/uuidtoolsTim Smith2021-01-192-3/+3
|\ \ | |/ |/| Updated uuidtools version
| * Updated uuidtools versionKapil Chouhan2021-01-192-3/+3
|/ | | | Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
* Bump version to 16.9.22 by Chef Expeditorv16.9.22Chef Expeditor2021-01-187-20/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.9.21 by Chef Expeditorv16.9.21Chef Expeditor2021-01-187-18/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10888 from ↵Tim Smith2021-01-181-1/+1
|\ | | | | | | | | chef/dependabot/bundler/omnibus/chef-16/test-kitchen-2.10.0 Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump test-kitchen from 2.9.0 to 2.10.0 in /omnibusdependabot/bundler/omnibus/chef-16/test-kitchen-2.10.0dependabot-preview[bot]2021-01-181-1/+1
| | | | | | | | | | | | | | | | Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 2.9.0 to 2.10.0. - [Release notes](https://github.com/test-kitchen/test-kitchen/releases) - [Changelog](https://github.com/test-kitchen/test-kitchen/blob/master/CHANGELOG.md) - [Commits](https://github.com/test-kitchen/test-kitchen/compare/v2.9.0...v2.10.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Merge pull request #10891 from ↵Tim Smith2021-01-181-5/+5
|\ \ | |/ |/| | | | | chef/dependabot/bundler/omnibus/chef-16/omnibus-software-023e6bf Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump omnibus-software from `869ef4e` to `023e6bf` in /omnibusdependabot/bundler/omnibus/chef-16/omnibus-software-023e6bfdependabot-preview[bot]2021-01-181-5/+5
|/ | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `869ef4e` to `023e6bf`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/869ef4e1ece0d53c267b8ca0b4b86e2644ef7693...023e6bf1221e9ab92a6809c9f04f55973178f0b1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Update CHANGELOG.md with details from pull request #10871Chef Expeditor2021-01-151-2/+10
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10871 from chef/csnapp/add_ruby_to_chef16_verify_pipelineTim Smith2021-01-152-21/+44
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Manually install necessary Ruby for verify pipelinecsnapp/add_ruby_to_chef16_verify_pipelineChristopher A. Snapp2021-01-122-21/+44
| | | | | | | | Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
* | Update CHANGELOG.md to reflect the promotion of 16.9.20Chef Expeditor2021-01-132-14/+11
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.9.20 by Chef Expeditorv16.9.20Chef Expeditor2021-01-127-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10867 from chef/fix_freebsdTim Smith2021-01-122-2/+4
|\ | | | | adapt to FreeBSD pkgng sysexit changes
| * adapt to FreeBSD pkgng sysexit changesDaniel Schauenberg2021-01-122-2/+4
| | | | | | | | Signed-off-by: Daniel Schauenberg <d@unwiredcouch.com>
* | Bump version to 16.9.19 by Chef Expeditorv16.9.19Chef Expeditor2021-01-127-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.