summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Clarify log messaging for required recipe featurerequired-recipe-backportdanielsdeleo2017-04-102-2/+3
| | | | | | | The previous log message didn't have enough context and could sound "scary" to users unfamiliar with the feature. Signed-off-by: Daniel DeLeo <dan@chef.io>
* Merge pull request #6032 from chef/sd/required-recipeThom May2017-04-103-0/+100
| | | | | | server enforced required recipe Signed-off-by: Daniel DeLeo <dan@chef.io>
* Merge pull request #6039 from chef/tm/backport_5838Thom May2017-04-102-4/+12
|\ | | | | Ensure the apt package fix gets on chef-12 branch
| * Add a spec for apt_package install with quoted optionstm/backport_5838Mark Harrison2017-04-101-0/+10
| | | | | | | | Signed-off-by: Mark Harrison <mark@mivok.net>
| * Use shellsplit for apt_package optionsMark Harrison2017-04-101-4/+2
|/ | | | | | | | This correctly deals with quotes and so on in package options. Fixes #5836 Signed-off-by: Mark Harrison <mark@mivok.net>
* Use omnibus-toolchain on Windows platforms.Ryan Hass2017-03-082-27/+24
| | | | | | | | This updates the branch pinnings to use the omnibus-toolchain enabled version of omnibus and omnibus-software. Signed-off-by: Ryan Hass <rhass@users.noreply.github.com> Signed-off-by: Tom Duffield <tom@chef.io>
* Fix apt_repository for latest os version 16.10Salim Afiune2017-03-082-30/+38
| | | | | | | | | | | | | | | | Great description and solution of the problem made by @jeremiahsnapp in the below issue! Closes https://github.com/chef/chef/issues/5831 I have validated this works fine for the following os: * Ubuntu 14.04 * Ubuntu 16.04 * Ubuntu 16.10 (latest) * Debian-6.0.10 * Debian-8.7 (latest) Signed-off-by: Salim Afiune <afiune@chef.io>
* Bump version to 12.20.2 (manually)Tom Duffield2017-03-076-13/+43
| | | | Signed-off-by: Tom Duffield <tom@chef.io>
* Verify data bag exists before trying to create itSalim Afiune2017-03-071-4/+6
| | | | | | | | | | | | | | | | | [ZD-12613] There are users who want to customize permissions to prevent a group of users from creating new data bags but want to allow the group of users to create data bag items within an existing data bag. If the user doesn't have permission to create data bags then the current API request sequence will prevent the user from creating a data bag item even if the data bag already exists. This commit fixes the above problem by verifying (not trying to create) if the data bag exist through a GET request, if it doesn't the it tries to generate it, then it proceeds to create the data bag item. Signed-off-by: Salim Afiune <afiune@chef.io>
* Add test to assert we use GET RequestSalim Afiune2017-03-071-45/+65
| | | | Signed-off-by: Salim Afiune <afiune@chef.io>
* Bump version of chef to 12.19.35 by Chef Versioner.v12.19.35Chef Versioner2017-02-226-34/+13
|
* Merge pull request #5826 from chef/shain/deprecate_ciscoLamont Granquist2017-02-221-0/+4
|\ | | | | Deprecate Cisco platforms
| * Deprecate Cisco platformsshain/deprecate_ciscoScott Hain2017-02-171-0/+4
|/ | | | Signed-off-by: Scott Hain <shain@chef.io>
* Bump version of chef to 12.19.34 by Chef Versioner.v12.19.34Chef Versioner2017-02-175-11/+11
|
* Merge pull request #5825 from chef/lcg/changelogLamont Granquist2017-02-171-26/+22
|\ | | | | changelog update for 12.19.33
| * missed classifying one PR in the CHANGELOGLamont Granquist2017-02-171-2/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * changelog update for 12.19.33Lamont Granquist2017-02-171-24/+20
|/ | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version of chef to 12.19.33 by Chef Versioner.v12.19.33Chef Versioner2017-02-165-10/+10
|
* Merge pull request #5821 from chef/lcg/revert-dep-bumpLamont Granquist2017-02-162-23/+22
|\ | | | | Revert "updating dependencies"
| * Revert "updating dependencies"Lamont Granquist2017-02-162-23/+22
|/ | | | | | This reverts commit bd45e8360cf233cbadba17c4ee9870d450a610f8. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version of chef to 12.19.32 by Chef Versioner.v12.19.32Chef Versioner2017-02-165-10/+10
|
* Merge pull request #5818 from chef/lcg/remove-ivarsLamont Granquist2017-02-1631-640/+640
|\ | | | | cleans up the remaining new/current_resource ivars in remaining provider code
| * cleans up the remaining new/current_resource ivarslcg/remove-ivarsLamont Granquist2017-02-1531-640/+640
| | | | | | | | | | | | switches from using ivars to accessors for getters Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.19.31 by Chef Versioner.v12.19.31Chef Versioner2017-02-155-11/+10
| |
* | Merge pull request #5817 from chef/lcg/bump-deps3Lamont Granquist2017-02-152-22/+23
|\ \ | |/ |/| updating dependencies
| * updating dependenciesLamont Granquist2017-02-152-22/+23
|/ | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version of chef to 12.19.30 by Chef Versioner.v12.19.30Chef Versioner2017-02-145-10/+11
|
* Merge pull request #5816 from chef/lcg/yum-coerce-array-attributesLamont Granquist2017-02-143-5/+55
|\ | | | | coerce immutable arrays to normal arrays in the yum_package resource
| * coerce immutable arrays to normal arrayslcg/yum-coerce-array-attributesLamont Granquist2017-02-143-5/+55
| | | | | | | | | | | | | | as noted in comments this works around bugginess in the yum provider that require a major refactor to fix. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.19.29 by Chef Versioner.v12.19.29Chef Versioner2017-02-145-10/+10
| |
* | Merge pull request #5731 from chef/tm/versioned_apiThom May2017-02-147-0/+381
|\ \ | | | | | | Beginning of automatic API version detection
| * | Make it easier to have a versioned factorytm/versioned_apiThom May2017-02-145-14/+258
| | | | | | | | | | | | | | | | | | | | | classes providing an API should include VersionedAPI, whilst the factory class includes VersionedAPIFactory. Signed-off-by: Thom May <thom@may.lt>
| * | Beginning of automatic API version detectionThom May2017-02-144-0/+137
|/ / | | | | | | | | | | | | | | | | When we make a request to a chef server, we capture the minimum and maximum support API versions and allow them to be queried. We then provide some infrastructure for making decisions on which class should be used, in a middleware-ish mechanism. Signed-off-by: Thom May <thom@chef.io>
* | Bump version of chef to 12.19.28 by Chef Versioner.v12.19.28Chef Versioner2017-02-145-10/+10
| |
* | Merge pull request #5806 from chef/rackLamont Granquist2017-02-141-2/+2
|\ \ | |/ |/| Bump minimum required ruby version to 2.2.2
| * Bump minimum required ruby version to 2.2.2rackTim Smith2017-02-091-2/+2
| | | | | | | | | | | | Ruby 2.2 is still not compatible with the latest rack. We need to actually specify 2.2.2+ which is what rack and others now require. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version of chef to 12.19.27 by Chef Versioner.v12.19.27Chef Versioner2017-02-145-11/+11
| |
* | Merge pull request #5814 from chef/lcg/fix-more-chefstylesLamont Granquist2017-02-13142-910/+778
|\ \ | | | | | | fix specs: RedundantReturn, RedundantSelf, RedundantBegin
| * | re-fix redundant selflcg/fix-more-chefstylesLamont Granquist2017-02-131-31/+31
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | greenify rspecLamont Granquist2017-02-131-58/+58
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix specs: RedundantReturn, RedundantSelf, RedundantBeginLamont Granquist2017-02-13142-883/+751
|/ / | | | | | | | | | | department of redundancy department Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.19.26 by Chef Versioner.v12.19.26Chef Versioner2017-02-125-10/+10
| |
* | Merge pull request #5712 from chef/lcg/package-cleanupLamont Granquist2017-02-1163-979/+1033
|\ \ | | | | | | package provider code cleanup
| * | package provider cleanuplcg/package-cleanupLamont Granquist2017-02-1163-979/+1033
|/ / | | | | | | | | | | | | | | | | - cleans up a lot of ivar usage - converts most providers to shell_out_compact_timeout! - almost deprecates a few APIs, but can't quite yet - windows providers need mixlib-shellout to take an argv Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.19.25 by Chef Versioner.v12.19.25Chef Versioner2017-02-115-10/+10
| |
* | Merge pull request #5807 from chef/multisshTim Smith2017-02-114-154/+12
|\ \ | | | | | | Require net-ssh-multi 1.2.1 and remove our monkeypatch
| * | Update Gemfile.lock to avoid corruption failuresmultisshTim Smith2017-02-111-11/+11
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Require net-ssh-multi 1.2.1 and remove our monkeypatchTim Smith2017-02-103-143/+1
| | | | | | | | | | | | | | | | | | The fix was merged upstream and released in 1.2.1 Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version of chef to 12.19.24 by Chef Versioner.v12.19.24Chef Versioner2017-02-115-10/+10
| | |
* | | Merge pull request #5804 from chef/1219_notesTim Smith2017-02-111-40/+73
|\ \ \ | | | | | | | | Update release notes for 12.19