summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add changelog for 50x errorslcg/50x-errors-changelogLamont Granquist2014-10-021-0/+2
|
* Merge pull request #1912 from jessehu/CHEF-ISSUE-1904Claire McQuin2014-10-022-13/+23
|\ | | | | retry on HTTP 50X Error when calling Chef REST API
| * read http_retry_count from chef config in the spec; add HTTP error code in ↵Hui Hu2014-09-042-3/+4
| | | | | | | | the log.
| * retry on HTTP 50X Error when calling Chef REST APIHui Hu2014-08-252-13/+22
| |
* | Merge pull request #2141 from opscode/mcquin/Issue-2090Claire McQuin2014-10-021-5/+5
|\ \ | | | | | | Deprecate CookbookVersion#latest_cookbooks
| * | Alias #latest_cookbooks.mcquin/Issue-2090Claire McQuin2014-09-302-10/+5
| | |
| * | Deprecate CookbookVersion#latest_cookbooksClaire McQuin2014-09-302-1/+6
| | |
* | | Merge pull request #2101 from opscode/mcquin/Issue-1910Claire McQuin2014-10-0110-136/+319
|\ \ \ | | | | | | | | Disable unforked interval runs.
| * | | Test signal safely on windowsmcquin/Issue-1910Claire McQuin2014-10-012-1/+2
| | | |
| * | | Fix wording, add updates for interval sleep first, signal processingClaire McQuin2014-10-012-13/+23
| | | |
| * | | Tidy up some comments, whitespace.Claire McQuin2014-10-013-4/+5
| | | |
| * | | Update for removed unforked interval client runs.Claire McQuin2014-10-013-0/+18
| | | |
| * | | Reconfigure signal trapping.Claire McQuin2014-10-013-60/+133
| | | | | | | | | | | | | | | | | | | | | | | | Exit gracefully when sent TERM Fix spec.
| * | | Do interval and splay sleep before running client.Claire McQuin2014-10-012-25/+26
| | | |
| * | | Disable unforked interval runs.Claire McQuin2014-10-017-82/+161
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify error message. Move fork and interval logic to application (specs pending). Clean code logic, fix specs. Allow unforked client runs with daemonize or splay
* | | Update CHANGELOG for guard updatesBryan McLellan2014-10-011-0/+2
| | |
* | | Update guard functional tests for refactoringbtm/guard-orderBryan McLellan2014-10-011-1/+2
| | | | | | | | | | | | | | | We now raise a little late when given a guard interpreter and a block, mostly being lazy. This updates the functional test to check the correct code path.
* | | Re-remove tests that were removed in 6591d4b2Bryan McLellan2014-10-011-20/+0
| | | | | | | | | | | | | | | These tests are no longer correct since we don't allow passing a block with a guard interpreter.
* | | Unsupported block exception is now raised by configureBryan McLellan2014-09-301-5/+8
| | | | | | | | | | | | | | | | | | | | | The fix for #1943 moved some code into a new configure method, which is also where we now raise if we're passed a block and a guard_interpreter as that is where we evaluate guard interpreters. This updates the unit test for that behavior.
* | | Remove duplicate exceptionBryan McLellan2014-09-301-1/+3
| | | | | | | | | | | | | | | We already check for command || block_given? in initialize, so command cannot be nil && not have a block when we get here.
* | | Refactor resource guard interpreter specsBryan McLellan2014-09-301-15/+16
| | | | | | | | | | | | | | | Refactor the unit tests to not test Chef::GuardInterpreter::ResourceGuardInterpreter directly rather than through Chef::Resource.
* | | unit test for guard_interpreter creation during compilationBryan McLellan2014-09-302-0/+8
| | | | | | | | | | | | | | | | | | make sure we don't evaluate the guard_interpreter immediately, i.e. during compilation of the resource, as the conditional may be seen before the guard_interpreter attribute.
* | | refactor conditional to evaluate for guards laterBryan McLellan2014-09-301-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | If we don't create the guard_interpreter until we're ready to test it, we're sure to already have all the resource attributes evaluated. Previously we set up the guard_interpreter upon initialization, that is when it was first set on the resource.
* | | test guard_interpreter orderBryan McLellan2014-09-301-0/+13
| | | | | | | | | | | | | | | adds a functional test to ensure guard_interpreter can be set after a conditional.
* | | nest powershell guard functional testsBryan McLellan2014-09-301-155/+176
| | | | | | | | | | | | | | | | | | reorder the powershell functional tests to provide a framework for testing with guard_interpreter set and not set (allowing testing the "default", i.e. values on resource initialization).
* | | Improve tests for no conditional casesBryan McLellan2014-09-301-2/+4
| | | | | | | | | | | | | | | The tests that ensured we didn't run a conditional when it wasn't specified had no expectations, so they would always have passed.
* | | update functional tests for guard_interpreterBryan McLellan2014-09-302-21/+7
| | | | | | | | | | | | | | | | | | | | | we now raise an error when passed a block and a guard_interpreter is specified other than :default. When other interpreters become the "default" (which actually means use the default shell for that platform) we will need to consider those as well, i.e. #1495.
* | | guard_interpreter requires a commandBryan McLellan2014-09-302-0/+14
|/ / | | | | | | | | | | | | | | Raises an exception if guard_interpreter is set (not :default) and we are not given a command (i.e. we are given a block). This is not supported, as we pass a command to an external interpreter. Related to #1943
* | Merge pull request #2136 from opscode/jdmundrawala/provider-specsJay Mundrawala2014-09-304-0/+6
|\ \ | | | | | | Jdmundrawala/provider specs
| * | dos2unix revision_specjdmundrawala/provider-specsJay Mundrawala2014-09-301-111/+111
| | |
| * | revision_spec passes on windowsJay Mundrawala2014-09-291-110/+111
| | |
| * | role_spec unit tests pass on windowsJay Mundrawala2014-09-291-0/+1
| | |
| * | dscl_spec tests pass on windowsJay Mundrawala2014-09-291-0/+3
| | |
| * | Deploy specs pass on windowsJay Mundrawala2014-09-291-0/+1
| | |
* | | Merge pull request #2135 from opscode/jdmundrawala/knife-bootstrap-specsJay Mundrawala2014-09-304-2/+7
|\ \ \ | | | | | | | | Make knife unit tests pass on windows
| * | | environment_from_file_spec passes on windowsjdmundrawala/knife-bootstrap-specsJay Mundrawala2014-09-291-0/+1
| | | |
| * | | dos2unix subcommand_loader_specJay Mundrawala2014-09-291-150/+150
| | | |
| * | | data_bag_from_file_spec passes on windowsJay Mundrawala2014-09-291-0/+1
| | | |
| * | | Knife subcommand_loader_spec passes on windowsJay Mundrawala2014-09-291-150/+150
| | | |
| * | | Make knife bootstrap unit test pass on windowsJay Mundrawala2014-09-291-1/+4
| |/ /
* | | Merge pull request #2134 from opscode/jdmundrawala/databag-spec-fixJay Mundrawala2014-09-301-0/+1
|\ \ \ | | | | | | | | Databag spec specifies not windows
| * | | Databag spec specifies not windowsjdmundrawala/databag-spec-fixJay Mundrawala2014-09-291-0/+1
| |/ /
* | | Merge pull request #2133 from opscode/jdmundrawala/remote-directory-fixJay Mundrawala2014-09-301-10/+22
|\ \ \ | | | | | | | | Remote directory should pass specs
| * | | Refactor action_create in remote_directory providerjdmundrawala/remote-directory-fixJay Mundrawala2014-09-301-6/+18
| | | |
| * | | Added comments about what remote_directory is doingJay Mundrawala2014-09-301-2/+4
| | | |
| * | | Fixing cookbook loading for windowsJay Mundrawala2014-09-293-4/+14
| | | |
| * | | Remote directory should pass specsJay Mundrawala2014-09-291-8/+6
| |/ /
* | | Merge pull request #2131 from opscode/jdmundrawala/git-windowsJay Mundrawala2014-09-302-4/+6
|\ \ \ | | | | | | | | Windows can have git as well
| * | | Fixed git provider specsjdmundrawala/git-windowsJay Mundrawala2014-09-291-3/+4
| | | |
| * | | Windows can have git as wellJay Mundrawala2014-09-291-1/+2
| |/ /