summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Resolve our chefstyle warningsredundant_beginsTim Smith2021-04-0119-174/+127
| | | | | | Now that knife has been moved we can resolve the current warnings Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix typo in release notesTim Smith2021-04-011-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.178 by Chef Expeditorv17.0.178Chef Expeditor2021-03-319-31/+32
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11180 from chef/mp/knife-gem-4Marc A. Paradise2021-03-31387-734/+1789
|\ | | | | Convert knife to its own gem. See prior comment for explanation of remaining failures in CI.
| * code review and cleanup for knife gem moveMarc A. Paradise2021-03-313-6/+0
| | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * require the thing, THEN patch itMarc A. Paradise2021-03-311-1/+1
| | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * Update knife version after rebasemp/knife-gem-4Marc A. Paradise2021-03-311-1/+1
| | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * Pend cookbook cheffish testMarc A. Paradise2021-03-311-1/+4
| | | | | | | | | | | | | | | | | | cheffish requires knife, which is no longer available. This will be addressed once we merge cheffish into this repository; I'm 0pending this test until that is addressed. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * do not use nonexistant bin path as cwdMarc A. Paradise2021-03-3114-13/+360
| | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * Remove knife from windows post-build validationMarc A. Paradise2021-03-311-1/+0
| | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * Move knife to its own gemChef Expeditor2021-03-31372-719/+1431
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves knife into /knife, in the same way that chef-utils and chef-config are separated. NOTES: == File History == If you see this message as the first message in the history of an knife file, you can see the complete history by using 'git log --follow', 'git config log.follow true' to make it the default behavior in this repository, or 'git config --globa log.follow true' to make it the global default. == API Changes == At the API level, there is one breaking change: CookbookSiteStreamingUploader has been moved out of chef and into knife/core. There were a combination of reasons we chose this path: - CookbookSiteStreamingUploader (CSSU) is only used within Knife. - CookbookSiteStreamingUploader (CSSU) references the command Chef::Knife::CookbookMetadata in order to generate a metadata file for the cookbook to upload - Chef::Knife::CookbookMetadata is no longer available to Chef:: because Knife has been moved to its own gem. Knife gem depends on the Chef gem, so Chef can't depend on something in Knife. A search for usage in related projects (berks, chef-cli) and the Internet at large shows that there are no known external consumers of CSSU. For now, we'll move this class into Knife::Core, as it's going to be faster than splitting off the metadata generation and time is a concern. If we find that we need the metadata generation in chef/ proper, we should evaluate decoupling that functionality from Knife::CookbookMetadata and exposing it via something like `Chef::Cookbook::Metadata#from_cookbook_files` == spec changes == The specs are kept in their existing locations, though we have separated out a `knife_spec_helper` so that we can ensure knife is not directly accessing chef requires; and chef is relying on knife's at all. We also now clear gem paths with each test, to force gem state to reset. This works around a problem where a combination of tests is corrupting the internal Gem state, causing failures in rubygems_spec. See branch `mp/broken-gems` for many more details around findings so far. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* Bump version to 17.0.177 by Chef Expeditorv17.0.177Chef Expeditor2021-03-317-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11270 from ↵Tim Smith2021-03-301-3/+3
|\ | | | | | | | | chef/dependabot/bundler/omnibus/master/omnibus-software-a0e7438 Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump omnibus-software from `caf6ae0` to `a0e7438` in /omnibusdependabot-preview[bot]2021-03-311-3/+3
|/ | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `caf6ae0` to `a0e7438`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/caf6ae0b5a111f615cc9cfd4d2970136d41d7b8d...a0e7438f3eda36164d05d1e76c6ecb0fadc508e5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Merge pull request #11259 from ↵Tim Smith2021-03-291-3/+3
|\ | | | | | | | | chef/dependabot/bundler/omnibus/master/omnibus-software-caf6ae0 Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump omnibus-software from `f6aa2ed` to `caf6ae0` in /omnibusdependabot/bundler/omnibus/master/omnibus-software-caf6ae0dependabot-preview[bot]2021-03-291-3/+3
| | | | | | | | | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `f6aa2ed` to `caf6ae0`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/f6aa2edd80c4b896738f843d9e613212c8510481...caf6ae0b5a111f615cc9cfd4d2970136d41d7b8d) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Bump version to 17.0.176 by Chef Expeditorv17.0.176Chef Expeditor2021-03-297-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11261 from ramereth/issue-11255Tim Smith2021-03-292-2/+58
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Update commentLance Albertson2021-03-291-1/+1
| | | | | | | | | | | | Signed-off-by: Lance Albertson <lance@osuosl.org>
| * | Add unit test for network mountsLance Albertson2021-03-291-0/+51
| | | | | | | | | | | | Signed-off-by: Lance Albertson <lance@osuosl.org>
| * | Fix idempotency issues with network mountsLance Albertson2021-03-291-1/+6
| |/ | | | | | | | | | | | | | | | | | | | | Resolves #11255 This is basically a continuation of #11031 where I fixed it in one place but then created a regression with idempotency as noted in #11255. This ensures that the /etc/fstab file actually gets the output we expect with network mounts using a root device. Signed-off-by: Lance Albertson <lance@osuosl.org>
* | Bump version to 17.0.175 by Chef Expeditorv17.0.175Chef Expeditor2021-03-297-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11262 from mwrock/bump_powershellTim Smith2021-03-2944-298/+306
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * bump powershell shim to 0.3.2 with powerrshell 7.1.3 depsMatt Wrock2021-03-2944-298/+306
|/ | | | Signed-off-by: Matt Wrock <matt@mattwrock.com>
* Bump version to 17.0.174 by Chef Expeditorv17.0.174Chef Expeditor2021-03-267-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11233 from jaymzh/windows_user_passwordLamont Granquist2021-03-261-1/+1
|\ | | | | Fix windows_user password idempotency
| * Fix windows_user password idempotencyPhil Dibowitz2021-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | If we're not trying to set a password - which given #10455 is probably the case - we will always think it's wrong and try to set it. This fixes that. Note it does *not* fix #10657 - do not close that one! Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | Add the ext dir back to more-ruby-cleanupLamont Granquist2021-03-261-0/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Merge pull request #11250 from chef/15_16_notesTim Smith2021-03-261-0/+54
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Update RELEASE_NOTES.md Tim Smith2021-03-261-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
| * | Update RELEASE_NOTES.md Tim Smith2021-03-261-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
| * | Update RELEASE_NOTES.md Tim Smith2021-03-261-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
| * | Add Release notes for 15.1615_16_notesTim Smith2021-03-251-0/+54
|/ / | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.0.173 by Chef Expeditorv17.0.173Chef Expeditor2021-03-257-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11246 from chef/expeditor/inspec-core-bin_4.29.3Tim Smith2021-03-251-7/+7
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Bump inspec-core-bin to 4.29.3Chef Expeditor2021-03-251-7/+7
|/ / | | | | | | | | | | This pull request was triggered automatically via Expeditor when inspec-core-bin 4.29.3 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.172 by Chef Expeditorv17.0.172Chef Expeditor2021-03-257-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11238 from ↵Tim Smith2021-03-251-1/+1
|\ \ | | | | | | | | | | | | chef/dependabot/bundler/omnibus/master/test-kitchen-2.11.2 Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Bump test-kitchen from 2.11.1 to 2.11.2 in /omnibusdependabot-preview[bot]2021-03-251-1/+1
|/ / | | | | | | | | | | | | | | Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 2.11.1 to 2.11.2. - [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.11.1...v2.11.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* | Bump version to 17.0.171 by Chef Expeditorv17.0.171Chef Expeditor2021-03-257-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #11234 from chef/lcg/databag-item-delegationTim Smith2021-03-241-2/+11
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Use method_missing for data bag item delegationLamont Granquist2021-03-241-2/+11
|/ | | | | | | | | This should fix our spec tests breaking in buildkite on the #to_plist method and actually makes DataBagItem's marginally more useful since they'll lazily delegate those kinds of methods which are monkeypatched into Hash as well. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 17.0.170 by Chef Expeditorv17.0.170Chef Expeditor2021-03-247-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11230 from ↵Tim Smith2021-03-241-1/+1
|\ | | | | | | | | chef/dependabot/bundler/omnibus/master/omnibus-software-f6aa2ed Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump omnibus-software from `ed85910` to `f6aa2ed` in /omnibusdependabot-preview[bot]2021-03-241-1/+1
|/ | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `ed85910` to `f6aa2ed`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/ed8591070a5c0a3e23acfefce9294779421e5964...f6aa2edd80c4b896738f843d9e613212c8510481) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump version to 17.0.169 by Chef Expeditorv17.0.169Chef Expeditor2021-03-247-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11228 from ↵Tim Smith2021-03-241-2/+2
|\ | | | | | | | | chef/dependabot/bundler/omnibus/master/omnibus-software-ed85910 Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump omnibus-software from `1769ef2` to `ed85910` in /omnibusdependabot-preview[bot]2021-03-241-2/+2
|/ | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `1769ef2` to `ed85910`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/1769ef260837e73a3a865f1fa3e02ef2e0aa394c...ed8591070a5c0a3e23acfefce9294779421e5964) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump version to 17.0.168 by Chef Expeditorv17.0.168Chef Expeditor2021-03-247-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11225 from chef/expeditor/train-core_3.5.5Tim Smith2021-03-241-1/+1
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>