summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update a few more knife.rb references to include config.rbconfigrbTim Smith2019-05-063-3/+4
| | | | | | Most of the knife.rb mentions have been updated and the docs have been updated already. Mention both since every existing user is only familiar with knfie.rb. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #8472 from chef/lcg/rakefile-license-acceptTim Smith2019-05-061-0/+2
|\ | | | | Accept-no-persist the license in the Rakefile
| * Accept-no-persist the license in the Rakefilelcg/rakefile-license-acceptLamont Granquist2019-05-061-0/+2
| | | | | | | | | | | | | | | | | | We should probably push all the travis tests through the rakefile at some point and centralize this, and make rake the entrypoint which sets the env var, but we'd need rake tasks for the external and kitchen tests. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Fix the announce task to use the new Chef Infra Client nameTim Smith2019-05-062-2/+2
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.0.266 by Chef Expeditorv15.0.266Chef Expeditor2019-05-066-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 15.0.265 by Chef Expeditorv15.0.265Chef Expeditor2019-05-066-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #7758 from chef/btm/target-modeTim Smith2019-05-0618-18/+511
|\ | | | | Initial target_mode implementation
| * add missing requireBryan McLellan2019-05-061-0/+3
| | | | | | | | Signed-off-by: Bryan McLellan <btm@loftninjas.org>
| * Fix train Gemfilebtm/target-modeBryan McLellan2019-05-062-4/+3
| | | | | | | | Signed-off-by: Bryan McLellan <btm@loftninjas.org>
| * Feedback from Ryan DavisBryan McLellan2019-05-063-26/+11
| | | | | | | | Signed-off-by: Bryan McLellan <btm@loftninjas.org>
| * Update target mode log message for Chef::DistBryan McLellan2019-05-061-1/+1
| | | | | | | | Signed-off-by: Bryan McLellan <btm@chef.io>
| * Unit tests for experimental target modeBryan McLellan2019-05-064-7/+174
| | | | | | | | Signed-off-by: Bryan McLellan <btm@chef.io>
| * Target Mode initial implementationBryan McLellan2019-05-0617-16/+355
| | | | | | | | Signed-off-by: Bryan McLellan <btm@chef.io>
* | Merge pull request #8354 from chef/license_acceptanceTyler Ball2019-05-0627-19/+99
|\ \ | | | | | | Add logic to require acceptannce of the Chef license to run the client
| * | 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.264 by Chef Expeditorv15.0.264Chef Expeditor2019-05-066-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8465 from chef/CHEF-8423Tim Smith2019-05-061-1/+1
|\ \ \ | |_|/ |/| | [CHEF-8423] Upgrade train-core to 2.1.0 for windows detection over ssh
| * | Enable windows detection over ssh (train-core 2.1.0)CHEF-8423Marc A. Paradise2019-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | This corrects CHEF-4823 by upgrading train-core to a version with support for detecting windows over ssh. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | | Bump version to 15.0.263 by Chef Expeditorv15.0.263Chef Expeditor2019-05-066-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8457 from chef/lcg/chef-15-dsl-changesTim Smith2019-05-063-18/+29
|\ \ \ | |/ / |/| | Move more DSL helpers into universal so they're available everywhere
| * | Chef-15 DSL changeslcg/chef-15-dsl-changesLamont Granquist2019-05-033-18/+29
| | | | | | | | | | | | | | | | | | | | | | | | Move the data_query, powershell and registry_helper DSLs up to universal. Move the `tagged?` helper into data_query for organizational purposes. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version to 15.0.262 by Chef Expeditorv15.0.262Chef Expeditor2019-05-066-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8442 from chef/mp/bootstrap/restore-prereleaseBryan McLellan2019-05-0610-131/+137
|\ \ \ | | | | | | | | Restore bootstrap pre-release support
| * | | Pass channel directly into the script/url to determine Chef Infra downloadmp/bootstrap/restore-prereleaseMarc A. Paradise2019-05-037-139/+55
| | | | | | | | | | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | | Update readme with deprecation info for --prereleaseMarc A. Paradise2019-05-031-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | | `prerelease` -> `channel` in bootstrap contextsMarc A. Paradise2019-05-035-63/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates BootstrapContext and WindowsBootstrapContext to expect a 'channel' config value instead of a 'prelease' value. This removes the old behavior of inferring pre-release (current) from the presence of a fourth version number in the version string (eg 1.2.3.pre) - that was specific to gem installs, and gem installs are not used in bootstrap. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | | Change 'prerelease' to 'channel'.Marc A. Paradise2019-05-032-41/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for deprecating a boolean flag into a non-boolean value, and uses it to make `--prerelease` deprecated in favor of `--channel current`. By default, `channel` is `stable`. Separately, all deprecated options are now configured to display at the end of the options list, instead of mixed into the non-deprecated list. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | | Make config_source aware of cli defaultsMarc A. Paradise2019-05-032-25/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a value comes from CLI defaults, it will now return :cli_default. This supports verifying deprecations when we need to know if a value was actually supplied from the CLI, or if it was defaulted from CLI options. Since we have all of the original sources still available, this also makes it so that we don't keep a separate hash for tracking config source - we're just checking in the original config sources in order that matches merge priority. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
| * | | Restore bootstrap pre-release supportMarc A. Paradise2019-05-036-14/+86
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was originally removed after discussion in community slack, but it turns out to have a little more utility than we thought. When enabled, it will cause the package to be downloaded from the `current` channel. Option description has been updated from 'install prerelease gem' to 'install from current channel'. This commit otherwise restores the original behavior and adds some tests. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | | Bump version to 15.0.261 by Chef Expeditorv15.0.261Chef Expeditor2019-05-066-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8455 from chef/btm/MSYS-979Tim Smith2019-05-062-22/+137
|\ \ \ | | | | | | | | Fix for cron resource get confused by environment/property mismatch
| * | | - Added a warning in case user is using a `environment` for an entry that ↵btm/MSYS-979vijaymmali19902019-05-032-22/+137
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can also be specified as a `property` - Added unit test cases - Ensured chefstyle - Added a warning in case user is using a `environment` for an entry that can also be specified as a `property` - Revert changes in order to pass chefstyle - Added a warning in case user is using a `environment` for an entry that can also be specified as a `property` - Added these changes in cron_different? method - Added unit test cases - Added some changes in cron.rb - It now throws error if user passes both environment with the {:SHELL, :HOME, :PATH, :MAILTO} and these properties itself. - It maintains idempotency. - Added Rspecs for this case. - Ensured chef-style. Signed-off-by: vijaymmali1990 <vijay.mali@msystechnologies.com>
* | | Bump version to 15.0.260 by Chef Expeditorv15.0.260Chef Expeditor2019-05-066-14/+15
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #8459 from chef/lcg/knife-diff-exceptionsTim Smith2019-05-061-12/+11
|\ \ \ | |_|/ |/| | fix knife diff exceptions
| * | fix knife diff exceptionslcg/knife-diff-exceptionsLamont Granquist2019-05-031-12/+11
| |/ | | | | | | | | | | closes #4189 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | 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.