summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Require Ruby 2.7ruby_27Tim Smith2021-01-151-1/+1
| | | | | | We support N-1 Ruby releases and 2.7 is now the -1 part. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.44 by Chef Expeditorv17.0.44Chef Expeditor2021-01-157-18/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10861 from chef/lcg/lazy-attributesTim Smith2021-01-156-9/+123
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Do not change the behavior of plain-old-procsLamont Granquist2021-01-153-3/+10
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * add test, fix node attributes deep merge buglcg/lazy-attributesLamont Granquist2021-01-153-2/+95
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix array slicesLamont Granquist2021-01-151-2/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * lazy attribute supportLamont Granquist2021-01-152-7/+21
|/ | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update CHANGELOG.md with details from pull request #10886Chef Expeditor2021-01-151-0/+2
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10886 from chef/remove_26Tim Smith2021-01-151-1/+1
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Resolve chefstyle failureTim Smith2021-01-151-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CHANGELOG.md with details from pull request #10885Chef Expeditor2021-01-151-0/+2
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10885 from chef/remove_26Tim Smith2021-01-153-2/+28
|\ \ | |/ | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Test chef-utils and chef-config on Ruby 2.6 stillTim Smith2021-01-153-2/+28
| | | | | | | | | | | | | | Since the world deps on these we really need a longer Ruby lifecycle here Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CHANGELOG.md with details from pull request #10884Chef Expeditor2021-01-151-0/+2
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10884 from chef/remove_26Tim Smith2021-01-151-53/+10
|\ \ | |/ | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove Ruby 2.6 testsTim Smith2021-01-151-53/+10
| | | | | | | | | | | | Ohai requires Ruby 2.7+ now Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CHANGELOG.md with details from pull request #10869Chef Expeditor2021-01-151-3/+4
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10869 from chef/csnapp/add_ruby_to_verify_pipelineTim Smith2021-01-152-20/+42
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Manually install necessary Ruby for verify pipelinecsnapp/add_ruby_to_verify_pipelineChristopher A. Snapp2021-01-122-20/+42
| | | | | | | | Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
* | Bump version to 17.0.43 by Chef Expeditorv17.0.43Chef Expeditor2021-01-147-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 17.0.42 by Chef Expeditorv17.0.42Chef Expeditor2021-01-147-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10880 from jaymzh/chefshell-configTim Smith2021-01-141-1/+32
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add support for client.d files in chef-shellPhil Dibowitz2021-01-141-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 #10882 from chef/lcg/better-auditcb-detectionTim Smith2021-01-142-5/+6
|\ \ \ | |/ / |/| | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Compliance Phase: even better audit cookbook detectionlcg/better-auditcb-detectionLamont Granquist2021-01-132-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 17.0.41 by Chef Expeditorv17.0.41Chef Expeditor2021-01-147-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #10881 from ↵Tim Smith2021-01-132-3/+3
|\ \ \ | |/ / |/| | | | | | | | MsysTechnologiesllc/Kapil/Github-10800_Update_uuidtools Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Updated uuidtools versionKapil Chouhan2021-01-142-3/+3
|/ / | | | | | | Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
* | Bump version to 17.0.40 by Chef Expeditorv17.0.40Chef Expeditor2021-01-137-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10879 from chef/pin_rspecTim Smith2021-01-133-25/+28
|\ \ | | | | | | Pin rspec until we can resolve failures with 3.10
| * | Pin rspec until we can resolve failures with 3.10Tim Smith2021-01-133-25/+28
|/ / | | | | | | | | | | | | 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 17.0.39 by Chef Expeditorv17.0.39Chef Expeditor2021-01-137-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10874 from chef/lcg/fix-ohai-resource-specTim Smith2021-01-122-11/+3
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fix ohai resource specLamont Granquist2021-01-122-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>
* | Bump version to 17.0.38 by Chef Expeditorv17.0.38Chef Expeditor2021-01-137-20/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 17.0.37 by Chef Expeditorv17.0.37Chef Expeditor2021-01-137-18/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10870 from chef/fix_yard_warningsTim Smith2021-01-121-6/+6
|\ \ | | | | | | Fix yard warnings in the chef_vault dsl
| * | Fix yard warnings in the chef_vault dslfix_yard_warningsTim Smith2021-01-121-6/+6
| | | | | | | | | | | | | | | | | | | | | These get parsed by the vscode snippets repo and these were annoying to see Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #10873 from chef/docsTim Smith2021-01-122-2/+2
|\ \ \ | | | | | | | | Update the alternatives and chef_client_launchd descriptions
| * | | Update lib/chef/resource/alternatives.rb Tim Smith2021-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
| * | | Update the alternatives and chef_client_launchd descriptionsTim Smith2021-01-122-2/+2
|/ / / | | | | | | | | | | | | | | | Match our current format and make it more clear that launchd == macos Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Fix typo in release notesTim Smith2021-01-121-1/+1
| |/ |/| | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CHANGELOG.md with details from pull request #10868Chef Expeditor2021-01-121-3/+4
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10868 from coldiron/aixinit_service_spec.rb-typoTim Smith2021-01-121-7/+7
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fix misspelling in spec/functional/resource/aixinit_service_spec.rb.Richard Mitsuk Lavitt2021-01-121-7/+7
| | | | | | | | | | | | Obvious fix.
* | | Bump version to 17.0.36 by Chef Expeditorv17.0.36Chef Expeditor2021-01-127-19/+20
| |/ |/| | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10865 from chef/remove_azure_depTim Smith2021-01-121-3/+2
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Remove the kitchen-azurerm dep for kitchent testsTim Smith2021-01-121-3/+2
| |/ | | | | | | | | | | This is not actually used Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.0.35 by Chef Expeditorv17.0.35Chef Expeditor2021-01-127-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10864 from chef/lcg/fix-auditcb-checkerTim Smith2021-01-122-12/+7
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>