summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Add an integration test of chef-client with empty ENV.ksubrama/no_envKartik Null Cating-Subramanian2015-05-011-2/+19
|
* Merge pull request #3207 from Igorshp/exception_handlersThom May2015-04-301-0/+13
|\ | | | | patch to always run exception handlers
| * cleaned up rspec testIgor Shpakov2015-04-211-5/+1
| |
| * revised rspec testIgor Shpakov2015-04-201-9/+6
| |
| * small tweak to wordingIgor Shpakov2015-04-091-1/+1
| |
| * added rspec testIgor Shpakov2015-04-091-0/+20
| | | | | | | | testing early fail inside 'run#begin' block.
* | Implemented `knife user key delete` and `knife client key delete`.tylercloke2015-04-294-3/+158
| |
* | Merge pull request #3235 from jaymzh/yum_archPhil Dibowitz2015-04-291-0/+26
|\ \ | | | | | | Make multipackage and arch play nicely together
| * | Make multipackage and arch play nicely togetherPhil Dibowitz2015-04-291-0/+26
| | | | | | | | | | | | Fixes #3233
* | | Implemented `knife user key list` and `knife client key list`.tc/key-listtylercloke2015-04-294-39/+373
|/ / | | | | | | Abstracted out a bunch of common tests with the key create code to reduce redundancy.
* | Implemented `knife user key create` and `knife client key create`.tylercloke2015-04-283-5/+298
| | | | | | | | Implemented using a common service class that contains most of the actual functionality outside of parsing and inheriting Chef::Knife.
* | Fixed bug in Chef::Key where create failed to return the full key.tylercloke2015-04-281-10/+32
| | | | | | | | | | | | | | Code assumed POST to keys endpoint returned the key body like other parts of the API. Now, it simply generated the new key returned by create from the original key plus the private_key returned by the API if any. Specs also updated.
* | Merge pull request #3279 from chef/lcg/fix-provider-resolver-api-breakThom May2015-04-271-0/+4
|\ \ | | | | | | Lcg/fix provider resolver api break
| * | Fix API break in 12.3.0.rc.0Lamont Granquist2015-04-241-0/+4
| | | | | | | | | | | | | | | | | | | | | provides? on a provider was passed the full resource. provides? on a resource class cannot be passed the resource and must be passed the declared_type instead. i tried to make them the same, but that would change the API on the provider.
* | | Merge pull request #3166 from chef/ssd/find-pythonThom May2015-04-251-1/+35
|\ \ \ | |/ / |/| | Use the same python interpreter as yum when possible
| * | Use the same python interpreter as yum when possiblessd/find-pythonSteven Danna2015-03-311-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | We rely on a system python installation with the correct python libraries. To improve the chances that the python interpreter we call has the yum libary available, we use the same interpreter as yum uses. Fixes #3143
* | | Revert "Fix API break in 12.3.0.rc.0"Lamont Granquist2015-04-241-4/+0
| | | | | | | | | | | | This reverts commit 57cdbe124f63e47cab960e714572539d3979b90f.
* | | Fix API break in 12.3.0.rc.0Lamont Granquist2015-04-241-0/+4
| | | | | | | | | | | | | | | | | | | | | provides? on a provider was passed the full resource. provides? on a resource class cannot be passed the resource and must be passed the declared_type instead. i tried to make them the same, but that would change the API on the provider.
* | | Implemented the Key object corrosponding to key rotation API endpoint.tc/chef_key_objecttylercloke2015-04-201-0/+577
| | |
* | | Fix nil pointer for windows event loggerJay Mundrawala2015-04-201-0/+14
| | | | | | | | | | | | | | | It is possible for the run to fail and no run_status to even have been set. This resolves issue #2996
* | | Reduce size of nested JSON test to 252 deepbtm/lower-json-nest-testsBryan McLellan2015-04-203-9/+9
| | | | | | | | | | | | | | | | | | I got confused running git on the tester with my last commit for #3101. This should clean it up.
* | | Unit testify shell_specjdm/solarisJay Mundrawala2015-04-171-1/+3
| | |
* | | Fix failing specsjdm/3102Jay Mundrawala2015-04-161-1/+1
| | |
* | | Merge pull request #3135 from tomhughes/searchThom May2015-04-161-0/+24
|\ \ \ | | | | | | | | Ensure that a search query makes progress
| * | | Test that search queries make progressSteven Danna2015-03-251-0/+24
| | | |
* | | | Merge pull request #3102 from chef/btm/lower-json-nest-testsThom May2015-04-163-24/+9
|\ \ \ \ | | | | | | | | | | Reduce size of json nested entries
| * | | | Reduce size of json nested entriesBryan McLellan2015-04-153-24/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On FreeBSD 10.1 i386 we're seeing rspec 3.2.2 raise SystemStackError if the expect line has a nested hash of 255 levels. I'm going to guess we don't even need this many. I lowered this test from 1000 to 300 arbitrarily some time ago. Fixes #3101
* | | | | add resource_resolver and resource_priority_mapLamont Granquist2015-04-156-8/+140
|/ / / / | | | | | | | | | | | | also wire them up through the Chef class.
* | | | Merge pull request #3213 from chef/2140/jm/support_username_passwordJon Morrow2015-04-151-6/+43
|\ \ \ \ | | | | | | | | | | Fixes 2140 - Honor Proxy from Env
| * | | | Fixes 2140 - Honor Proxy from EnvJon Morrow2015-04-141-6/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds support to Chef's core http libs to honor a proxy uri set in the environment not just chef/knife config. It also adds support for username and password both in uri and env. The order of precidence for values is uri, config, env.
* | | | | Merge pull request #3051 from mikedodge04/macosx_service_updatePhil Dibowitz2015-04-111-203/+230
|\ \ \ \ \ | |/ / / / |/| | | | Load LaunchAgents as console user, adding plist and session_type options
| * | | | adding assert for plistMike Dodge2015-04-011-0/+2
| | | | |
| * | | | added requsted chagnesMike Dodge2015-03-261-0/+1
| | | | |
| * | | | addressed each of the commentsMike Dodge2015-03-251-16/+0
| | | | |
| * | | | added tests for 100% of use casesMike Dodge2015-03-121-193/+201
| | | | |
| * | | | Updated tests to match new logicMike Dodge2015-03-121-17/+24
| | | | |
| * | | | First pass at fixing the unit testsMike Dodge2015-03-121-30/+55
| | | | |
* | | | | Merge pull request #3067 from chef/tm/knife_status_environmentThom May2015-04-091-3/+69
|\ \ \ \ \ | |_|_|_|/ |/| | | | Allow knife status to filter by environment
| * | | | Just use a Time object in status teststm/knife_status_environmentThom May2015-04-091-1/+1
| | | | |
| * | | | use real timesThom May2015-04-091-5/+5
| | | | |
| * | | | use partial searchThom May2015-04-081-8/+19
| | | | |
| * | | | Ensure valid lucene queriesThom May2015-03-161-3/+3
| | | | |
| * | | | Add tests for knife statusThom May2015-03-121-3/+58
| | | | | | | | | | | | | | | | | | | | Add failing tests for custom queries and environment filtering
* | | | | Merge pull request #3131 from ↵Thom May2015-04-081-0/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | evertrue/evertrue/eherot/add_empty_check_for_ssh_hostname For knife ssh: Do not try to use item[:cloud][:public_hostname] for the hostname if it is empty
| * | | | | Add a unit test for the empty public_hostname check on knife sshEric Herot2015-03-241-0/+18
| | |_|/ / | |/| | |
* | | | | Update integration tests for chefzero URLsdanielsdeleo2015-04-011-3/+3
| | | | |
* | | | | Add --no-listen option to disable zero binding to portdanielsdeleo2015-04-013-0/+26
| | | | |
* | | | | Test base HTTP client behaviors for chefzero URL casedanielsdeleo2015-04-012-0/+23
| | | | |
* | | | | Extract socketless client and add specsdanielsdeleo2015-04-011-0/+174
| | | | |
* | | | | Ensure link's path attribute works with delayedThom May2015-03-271-0/+15
| | | | | | | | | | | | | | | | | | | | Closes #1769, closes #1767