summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add linklcg/dup-property-defultsLamont Granquist2021-02-251-0/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Revert some changes to tests that now pass againLamont Granquist2021-02-251-3/+3
| | | | | | | The dup'ing of property defaults change now allows these to pass again so the breaking change here in the API is reverted. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Dup default property valuesLamont Granquist2021-02-254-26/+46
| | | | | | | | | | This largely makes frozen default value errors go away. Each copy of a resource will get a dup of the default. Defaults are still frozen so we have defense-in-depth against them being mutated. This eliminates the need to `default: lazy{ {} }` things like Hashes or Arrays. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 17.0.126 by Chef Expeditorv17.0.126Chef Expeditor2021-02-257-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11111 from chef/lcg/add-compliance-node-attrTim Smith2021-02-253-3/+13
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add a compliance_mode node attributeLamont Granquist2021-02-253-3/+13
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting node["audit"]["compliance_mode"] to be false should force the compliance mode to not run. This is for sites which run override run lists which have the audit cookbook in them, but the rest of their cookbooks define profiles so that in normal running they still have those profiles defined but they're manually running the cookbook. That is likely a pretty bad pattern since the cookbook_synchronizer will be thrashing on at least the audit cookbook being downloaded and then removed, but it seems people have settled on this as their solution which breaks the assumptions we had for the compliance_mode. To sort this out those sites should set node["audit"]["compliance_mode"] to be false on their runs which aren't supposed to run audits. Instead of an override run list with the audit cookbook in it, they can just run an override run_list which sets this node attribute to true (in any fashion: roles, policyfiles, wrapper cookbook style, recipe mode, etc.) This also is obviously an opt-out switch, although sites preferring to use the audit cookbook should understand that cookbook development will be abandoned after it is deprecated and there will be no more bugfixes or support for that. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #11101 from chef/auto_pr_chefstyleTim Smith2021-02-251-0/+4
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Automatically create PRs to update chefstyleTim Smith2021-02-241-0/+4
| | | | | | | | | | | | Avoid needing to manually cut these PRs Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.0.125 by Chef Expeditorv17.0.125Chef Expeditor2021-02-247-19/+20
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11099 from chef/expeditor/inspec-core-bin_4.26.13Tim Smith2021-02-241-6/+6
|\ | | | | Bump inspec-core-bin to 4.26.13
| * Bump inspec-core-bin to 4.26.13Chef Expeditor2021-02-241-6/+6
| | | | | | | | | | | | This pull request was triggered automatically via Expeditor when inspec-core-bin 4.26.13 was promoted to Rubygems. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | Merge pull request #11100 from chef/auto_pr_ohaiTim Smith2021-02-241-1/+5
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Create a PR any time Ohai is bumpedTim Smith2021-02-241-1/+5
|/ | | | | | Avoid the need to manually create PRs when a PR is merged to Ohai Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.124 by Chef Expeditorv17.0.124Chef Expeditor2021-02-247-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11098 from ↵Tim Smith2021-02-241-2/+2
|\ | | | | | | | | chef/dependabot/bundler/omnibus/master/omnibus-software-fb0fa04 Bump omnibus-software from `9390767` to `fb0fa04` in /omnibus
| * Bump omnibus-software from `9390767` to `fb0fa04` in /omnibusdependabot-preview[bot]2021-02-241-2/+2
| | | | | | | | | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `9390767` to `fb0fa04`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/9390767fa21b761855a960c10ca7c3d8c5704b5e...fb0fa049edd5d1c5109ef22b8c974bf3d12c81a8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Update RELEASE_NOTES.mdTim Smith2021-02-241-0/+1
|/ | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.123 by Chef Expeditorv17.0.123Chef Expeditor2021-02-237-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11086 from ramereth/fix-resolver-test-kitchen-testsTim Smith2021-02-233-9/+8
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update resolver cookbook usage in test-kitchen testsLance Albertson2021-02-233-9/+8
| | | | | | | | | | | | | | | | Recently, the Sous Chefs released a new resource driven resolver cookbook and removed the default recipe, thus breaking tests. This should fix the tests related to this. Signed-off-by: Lance Albertson <lance@osuosl.org>
* | Bump version to 17.0.122 by Chef Expeditorv17.0.122Chef Expeditor2021-02-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 17.0.121 by Chef Expeditorv17.0.121Chef Expeditor2021-02-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11092 from chef/bump_ohai_for_hab_fixTim Smith2021-02-232-3/+3
|\ \ | | | | | | Update Ohai to 17.0.22
| * | Update Ohai to 17.0.22Tim Smith2021-02-232-3/+3
|/ / | | | | | | | | | | This should fix our failures running chef-client Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #11091 from chef/expeditor/train-core_3.5.2Tim Smith2021-02-231-2/+2
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Bump train-core to 3.5.2Chef Expeditor2021-02-231-2/+2
|/ / | | | | | | | | | | This pull request was triggered automatically via Expeditor when train-core 3.5.2 was promoted to Rubygems. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* | Bump version to 17.0.120 by Chef Expeditorv17.0.120Chef Expeditor2021-02-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11088 from chef/doc_examplesTim Smith2021-02-226-10/+57
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Further improve docs generationTim Smith2021-02-226-10/+57
| |/ | | | | | | | | | | Fix some markdown generration in the rake task and general cleanup of content in the resources. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.0.119 by Chef Expeditorv17.0.119Chef Expeditor2021-02-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11089 from chef/lcg/fix-unlazying-tests2Lamont Granquist2021-02-221-1/+1
|\ \ | | | | | | Re-lazy the template variable default
| * | Re-lazy the template variable defaultLamont Granquist2021-02-221-1/+1
| | | | | | | | | | | | | | | | | | This hash probably needs to be open to mutation Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Update cspell.jsonTim Smith2021-02-221-0/+1
| |/ |/| | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.0.118 by Chef Expeditorv17.0.118Chef Expeditor2021-02-226-16/+16
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11087 from chef/lcg/fix-unlazying-testsLamont Granquist2021-02-223-6/+6
|\ \ | |/ | | Fix tests broken by unlazying defaults
| * Fix tests broken by unlazying defaultsLamont Granquist2021-02-223-6/+6
|/ | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update RELEASE_NOTES.mdTim Smith2021-02-221-0/+1
| | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.117 by Chef Expeditorv17.0.117Chef Expeditor2021-02-227-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10187 from chef/snehal/Merge_knife_plugin_into_ChefLamont Granquist2021-02-2230-116/+1505
|\
| * To remove verison v1 for root_rest objectsnehal/Merge_knife_plugin_into_Chefsnehaldwivedi2021-02-169-17/+17
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * Revert "Updated rest object URL and removed api_version 1"snehaldwivedi2021-02-1619-58/+67
| | | | | | | | This reverts commit 182d83672e231c470e0b33ed777306a72a6bd76a.
| * Updated rest object URL and removed api_version 1snehaldwivedi2021-02-1619-67/+58
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * Updated API verion back to 1 and used user_v1snehaldwivedi2021-02-1613-135/+135
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * Remove unused filesnehaldwivedi2021-02-161-106/+0
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * Updated changes for variable name and class namesnehaldwivedi2021-02-164-7/+113
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * Updated changes to remove userV1 and use root_rest objectsnehaldwivedi2021-02-1623-265/+203
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * knife org edit NAME does not worksnehaldwivedi2021-02-162-3/+58
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * Fixed changes for prompt passwordsnehaldwivedi2021-02-161-0/+1
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * Updated reviewed changessnehaldwivedi2021-02-165-8/+13
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * Updated reviewed changes for copyrights and roo_restsnehaldwivedi2021-02-1626-217/+148
| | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>