summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Purposefully adding a failing test to prevent Chef Infra from promoting ↵license_acceptancetyler-ball2019-05-031-0/+4
| | | | | | unstable -> current Signed-off-by: tyler-ball <tball@chef.io>
* Fix 2 minute pause while we wait for license acceptance cli to time outMark Anderson2019-05-031-0/+6
| | | | Signed-off-by: Mark Anderson <mark@chef.io>
* Adding license acceptance support to 'knife bootstrap'tyler-ball2019-05-036-11/+14
| | | | Signed-off-by: tyler-ball <tball@chef.io>
* Use keyword arguments for acceptanceMark Anderson2019-05-036-6/+6
| | | | Signed-off-by: Mark Anderson <mark@chef.io>
* Only Chef Software binaries should enforce EULAtyler-ball2019-05-036-7/+9
| | | | Signed-off-by: tyler-ball <tball@chef.io>
* knife bootstrap is only knife command to have license acceptance flowtyler-ball2019-05-035-9/+13
| | | | | | | | Because in order to run `chef-client` on the bootstrapped node the user needs to have accepted the licenses locally. Right now we have commented out this code because we will enforce it in a different PR. Signed-off-by: tyler-ball <tball@chef.io>
* Adding developer docs to explain license flowtyler-ball2019-05-031-0/+13
| | | | Signed-off-by: tyler-ball <tball@chef.io>
* Doc team review of release notesmjingle2019-05-031-3/+3
| | | | | Co-Authored-By: tyler-ball <tball@chef.io> Signed-off-by: tyler-ball <tball@chef.io>
* While we always want latest license-acceptance gem, it's generating a lot of ↵Mark Anderson2019-05-031-3/+3
| | | | | | noise Signed-off-by: Mark Anderson <mark@chef.io>
* We always want the latest version of the license-acceptance gemtyler-ball2019-05-031-0/+3
| | | | Signed-off-by: tyler-ball <tball@chef.io>
* Read license-acceptance from chef config (knife.rb, client.rb)tyler-ball2019-05-032-19/+6
| | | | Signed-off-by: tyler-ball <tball@chef.io>
* Adding in the license-acceptance flowtyler-ball2019-05-0316-10/+65
| | | | | | | | | This adds a new feature to chef-client where users must accept the EULA before using the product. Users can accept the license by passing '--chef-license accept', setting ENV[CHEF_LICENSE]=accept or by running 'chef-client' and following the interactive prompt. Signed-off-by: tyler-ball <tball@chef.io>
* Update gemfile.lockMark Anderson2019-05-031-3/+3
| | | | Signed-off-by: Mark Anderson <mark@chef.io>
* chef.gemspecMark Anderson2019-05-031-0/+1
| | | | Signed-off-by: Mark Anderson <mark@chef.io>
* Update InSpec to 4.3.2Tim Smith2019-05-032-2/+4
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.0.259 by Chef Expeditorv15.0.259Chef Expeditor2019-05-046-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #8456 from chef/lcg/parse-only-rb-filesTim Smith2019-05-038-13/+26
|\ | | | | Chef-15: cookbook compiler should parse only .rb files
| * Chef-15: cookbook compiler should parse only .rb fileslcg/parse-only-rb-filesLamont Granquist2019-05-038-13/+26
| | | | | | | | | | | | | | Fixes #6281 which is a frequently reported issue where md files and swap files and other junk causes the cookbook compiler to barf. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 15.0.258 by Chef Expeditorv15.0.258Chef Expeditor2019-05-036-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8454 from chef/more_brandingTim Smith2019-05-035-14/+16
|\ \ | | | | | | Update more brand names to current
| * | Update more brand names to currentTim Smith2019-05-035-14/+16
| | | | | | | | | | | | | | | | | | Update Chef Client and Chef Server brand names to current. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 15.0.257 by Chef Expeditorv15.0.257Chef Expeditor2019-05-036-14/+15
|/ / | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8452 from chef/brandingTim Smith2019-05-0331-208/+225
|\ \ | | | | | | Add connstant for Chef Server and improve help messaging
| * | More periods and product constantsbrandingTim Smith2019-05-0220-75/+78
| | | | | | | | | | | | | | | | | | A few formatting fixes as well Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Improve the warning message about legacy validation key regTim Smith2019-05-021-2/+2
| | | | | | | | | | | | | | | | | | It's the legacy method. Call it that and maybe people will stop using it. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Provide a friendly list of supported options in helpTim Smith2019-05-021-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes for much better output: Valid choices are plaintext kerberos ssl negotiate. vs Valid choices are 'plaintext', 'kerberos', 'ssl' and 'negotiate'. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Update specs for the new messagesTim Smith2019-05-024-4/+4
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Update more help descriptionsTim Smith2019-05-026-17/+18
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fix a description I missedTim Smith2019-05-021-1/+1
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fix up main binary help messagesTim Smith2019-05-025-109/+110
| | | | | | | | | | | | | | | | | | | | | | | | Periods after each sentence Use the branding better Fix some weird capitalization Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add a dist value for the chef serverTim Smith2019-05-021-0/+3
|/ / | | | | | | | | | | We talk about the server in messages and we need to brand that appropriately Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.0.256 by Chef Expeditorv15.0.256Chef Expeditor2019-05-036-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8415 from ↵Tim Smith2019-05-021-2/+9
|\ \ | | | | | | | | | | | | MsysTechnologiesllc/Vijay/MSYS-1005_knife_status_long_output_runlist Fixed empty value for knife status long output
| * | Fixed empty value for knife status long outputVijay Mali2019-04-301-2/+9
| | | | | | | | | | | | Signed-off-by: Vijay Mali <vijay.mali@msystechnologies.com>
* | | Bump version to 15.0.255 by Chef Expeditorv15.0.255Chef Expeditor2019-05-036-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8440 from chef/CHEF-8432/fix-default-protocolBryan McLellan2019-05-024-80/+186
|\ \ \ | | | | | | | | [CHEF-8432] Ensure default protocol is used properly. Use correct 'require' before accessing Net::SSH constants.
| * | | Add some yard docsCHEF-8432/fix-default-protocolMarc A. Paradise2019-05-021-9/+73
| | | | | | | | | | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | | Require 'net/ssh' before we reference it.Marc A. Paradise2019-05-022-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also updates bootstrap to provide `non_interactive` as an option to TrainConnector, instead of TrainConnector setting it behind the scenes. Bootstrap uses non-interactive to ensure that we don't get net/ssh prompts for password in case of password failure. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | | Ensure that requested protocol is available and correctMarc A. Paradise2019-05-022-51/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are a few related changes here: * ensure that we always have the requested protocol, and use the default when we can't otherwise resolve it. This corrects the first part of CHEF-8432 * This also finishes the work started in a previous branch that moves the config handling out of TrainConnector::initialize and into a lazy loader for config. * Ensure that the baseline configuration contains only things that will not be picked up when merging user-provided config. This meant moving :non_interactive out to the caller (bootstrap). * Removed helpers that weren't helping much. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | | Remove testing method TrainConnector#test_instanceMarc A. Paradise2019-05-022-33/+17
| | |/ | |/| | | | | | | | | | | | | This can live in the tests. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | | Bump version to 15.0.254 by Chef Expeditorv15.0.254Chef Expeditor2019-05-026-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8448 from cc-build/product_distTim Smith2019-05-029-27/+30
|\ \ \ | |/ / |/| | Replace Chef Client by its constant in Chef::Dist
| * | One missed fix on functionnal testTensibai2019-05-021-2/+2
| | | | | | | | | | | | Signed-off-by: Tensibai <tensibai@iabis.net>
| * | Fix a sentence in run_lock and the knife test to match the latest output changesTensibai2019-05-022-6/+6
| | | | | | | | | | | | Signed-off-by: Tensibai <tensibai@iabis.net>
| * | Reload the changes, adapt a bitTensibai2019-05-026-16/+19
| | | | | | | | | | | | Signed-off-by: Tensibai <tensibai@iabis.net>
| * | Add the periods, squash and signoffTensibai2019-05-021-4/+4
| | | | | | | | | | | | Signed-off-by: Tensibai <tensibai@iabis.net>
* | | Bump version to 15.0.253 by Chef Expeditorv15.0.253Chef Expeditor2019-05-025-11/+11
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8450 from chef/lcg/update-ci-verifyLamont Granquist2019-05-012-13/+3
|\ \ \ | | | | | | | | update the ci verify tasks for chef-15
| * | | update the ci verify tasks for chef-15lcg/update-ci-verifyLamont Granquist2019-05-012-13/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we need to bundle install now in both places (ChefDK style of appbundling means there is no Gemfile.lock here and we do the install against the somewhat novel-looking Gemfile that kinda looks like Gemfile.lock). and on windows side since there is no Gemfile.lock any more we need to avoid that test. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 15.0.252 by Chef Expeditorv15.0.252Chef Expeditor2019-05-025-11/+11
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.