summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Be a bit less keen to help propertiestm/demagic_propertiesThom May2017-03-073-139/+47
| | | | | | | | | | This removes all the magic that attempts to allow users to write unsafe properties - ie, ones that set a default but claim to be a name property. This yielded different results depending on ordering. It's better for our users to just suck up fixing this. Closes: #5542 Signed-off-by: Thom May <thom@may.lt>
* Merge pull request #5862 from chef/lcg/ohai-from-gitLamont Granquist2017-03-064-2/+50
|\ | | | | build ohai from git
| * build ohai from gitlcg/ohai-from-gitLamont Granquist2017-03-064-2/+50
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 13.0.8 by Chef Versioner.v13.0.8Chef Versioner2017-03-064-8/+8
| |
* | Merge pull request #5830 from shortdudey123/CHEF-4538_ssh-gateway-identity-authThom May2017-03-065-1/+53
|\ \ | | | | | | CHEF-4538 - add an option for gateway_identity_file that will allow key-based authentication on the gateway.
| * | Remove unneeded comment and bundle configGrant Ridder2017-03-062-3/+0
| | | | | | | | | | | | Signed-off-by: Grant Ridder <shortdudey123@gmail.com>
| * | Fix spec testing for ssh_gateway_identity optionGrant Ridder2017-02-213-4/+11
| | | | | | | | | | | | Signed-off-by: Grant Ridder <shortdudey123@gmail.com>
| * | Fix chefstyleGrant Ridder2017-02-212-6/+5
| | | | | | | | | | | | Signed-off-by: Grant Ridder <shortdudey123@gmail.com>
| * | CHEF-4538 - add an option for gateway_identity_file that will allow ↵brettcave2017-02-215-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | key-based authentication on the gateway. CHEF-4538 - rename option to be consistent with knife-ec2 option. CHEF-4538 - added parameter to config. Added config merge from parameter for ssh. Added ssh test for gateway identity. CHEF-4538 - bootstrap parameter for gateway identity
* | | Bump version of chef to 13.0.7 by Chef Versioner.v13.0.7Chef Versioner2017-03-064-8/+8
| | |
* | | Merge pull request #5497 from gbatye/fix_osx_profileThom May2017-03-061-1/+1
|\ \ \ | | | | | | | | Mac: Validate that a machine has a computer level profile
| * \ \ Merge remote-tracking branch 'chef/master' into fix_osx_profileGregory Batye2017-02-1736-651/+650
| |\ \ \ | | | | | | | | | | | | | | | Signed-off-by: Gregory Batye <gbatye@fb.com>
| * \ \ \ Merge remote-tracking branch 'chef/master' into fix_osx_profileGregory Batye2017-02-15523-4891/+11257
| |\ \ \ \
| * | | | | chefstyleGregory Batye2016-11-071-1/+1
| | | | | |
| * | | | | Merge remote-tracking branch 'chef/master' into fix_osx_profileGregory Batye2016-11-0765-278/+2367
| |\ \ \ \ \
| * | | | | | Validate machine has computer level profileGregory Batye2016-10-281-1/+1
| | | | | | |
* | | | | | | Bump version of chef to 13.0.6 by Chef Versioner.v13.0.6Chef Versioner2017-03-064-8/+8
| | | | | | |
* | | | | | | Merge pull request #5855 from chef/afiune/COOL-634/verify-if-data-bag-existsThom May2017-03-062-49/+71
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | Verify data bag exists before trying to create it
| * | | | | | Add test to assert we use GET Requestafiune/COOL-634/verify-if-data-bag-existsSalim Afiune2017-03-031-45/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Salim Afiune <afiune@chef.io>
| * | | | | | Verify data bag exists before trying to create itSalim Afiune2017-03-021-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>
* | | | | | | Bump version of chef to 13.0.5 by Chef Versioner.v13.0.5v13.1.113v12.19.37Chef Versioner2017-03-034-8/+8
| | | | | | |
* | | | | | | Merge pull request #5861 from chef/lcg/bump-omnibus-gemsLamont Granquist2017-03-031-10/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | forgot to run the rake task to update deps
| * | | | | | | forgot to run the rake task to update depsLamont Granquist2017-03-031-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | now the build should be fixed. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | | | Bump version of chef to 13.0.4 by Chef Versioner.v13.0.4Chef Versioner2017-03-034-8/+8
| | | | | | | |
* | | | | | | | Merge pull request #5860 from chef/lcg/bump-omnibus-gemsLamont Granquist2017-03-032-32/+31
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | bump omnibus gems and change protocol to https
| * | | | | | | bump omnibus gems and change protocol to httpsLamont Granquist2017-03-032-32/+31
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the `github:` argument gets translated to git:// urls, which are insecure and i have a .gitconfig which translates those to https:// urls, and the effect of that is that when _I_ bump the Gemfile.lock the urls don't match and `bundle install` with the `--deployment` flag gets all pissy and I break the build, and since i don't habitually `bundle install --deployment` locally I never see the failures. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | | Bump version of chef to 13.0.3 by Chef Versioner.v13.0.3Chef Versioner2017-03-034-8/+8
| | | | | | |
* | | | | | | Merge pull request #5856 from chef/lcg/remove-resource-cloningLamont Granquist2017-03-035-262/+30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Chef-13 remove resource cloning and 3694 warnings
| * | | | | | | bump deps, mostly for poiselcg/remove-resource-cloningLamont Granquist2017-03-031-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | required to pull in test fixes to retire resource cloning. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | | Chef-13 remove resource cloning and 3694 warningsLamont Granquist2017-03-024-255/+23
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | | Bump version of chef to 13.0.2 by Chef Versioner.v13.0.2Chef Versioner2017-03-034-8/+8
| | | | | | |
* | | | | | | Merge pull request #5858 from chef/lcg/debug-log-bad-json-payloadLamont Granquist2017-03-031-1/+4
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | HTTP: add debug long for non-JSON response
| * | | | | | protect against nil response bodylcg/debug-log-bad-json-payloadLamont Granquist2017-03-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | truncate long response bodies in debug outputLamont Granquist2017-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | add debug long for non-JSON responseLamont Granquist2017-03-021-1/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we should probably raise (?) but this at least helps us debug. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | | Bump version of chef to 13.0.1 by Chef Versioner.v13.0.1v12.19.38Chef Versioner2017-03-015-9/+40
| | | | | |
* | | | | | Merge pull request #5833 from chef/lcg/bump-to-chef-13Lamont Granquist2017-02-2859-781/+387
|\ \ \ \ \ \ | | | | | | | | | | | | | | bump major to chef-13
| * | | | | | final fix for ohai-13 breakagelcg/bump-to-chef-13Lamont Granquist2017-02-281-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | self-deps are now just illegalLamont Granquist2017-02-281-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | circular deps are poor form, but allowed, so we still need to check. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | fix powershell_script tests for mandatory code blocksLamont Granquist2017-02-281-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | yet another lesson that doing too much in the initializer is poor coding practice. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | bumping deps to pickup master of ohaiLamont Granquist2017-02-281-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | removing a Chef-13 deprecation i sorta disagree withLamont Granquist2017-02-281-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this seems like entirely fine behavior to me. i don't see the benefit of forcing users to put all their actions on one line. mostly it was vargo and keiser who wanted this gone and since i'm the last one still at Chef i win the argument? Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | raise on cookbook self-dependencyLamont Granquist2017-02-283-14/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | remove policyfile fallback API for old Chef ServersLamont Granquist2017-02-283-56/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | remove test that removing load_node brokeLamont Granquist2017-02-281-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | Chef-13: Remove Chef::PolicyBuilder::ExpandNodeObject#load_nodeLamont Granquist2017-02-283-34/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | Chef-13: relative creates paths in the execute resource requires a cwdLamont Granquist2017-02-284-17/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | Chef-13: Remove supports API from all user providersLamont Granquist2017-02-2817-119/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | add RELEASE_NOTES for mandatory code property on script resourceLamont Granquist2017-02-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | | | Chef 13: script resources (and e.g. bash) require 'code' propertyLamont Granquist2017-02-282-71/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>