Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add changelog for 50x errorslcg/50x-errors-changelog | Lamont Granquist | 2014-10-02 | 1 | -0/+2 |
| | |||||
* | Merge pull request #1912 from jessehu/CHEF-ISSUE-1904 | Claire McQuin | 2014-10-02 | 2 | -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 Hu | 2014-09-04 | 2 | -3/+4 |
| | | | | | | | | the log. | ||||
| * | retry on HTTP 50X Error when calling Chef REST API | Hui Hu | 2014-08-25 | 2 | -13/+22 |
| | | |||||
* | | Merge pull request #2141 from opscode/mcquin/Issue-2090 | Claire McQuin | 2014-10-02 | 1 | -5/+5 |
|\ \ | | | | | | | Deprecate CookbookVersion#latest_cookbooks | ||||
| * | | Alias #latest_cookbooks.mcquin/Issue-2090 | Claire McQuin | 2014-09-30 | 2 | -10/+5 |
| | | | |||||
| * | | Deprecate CookbookVersion#latest_cookbooks | Claire McQuin | 2014-09-30 | 2 | -1/+6 |
| | | | |||||
* | | | Merge pull request #2101 from opscode/mcquin/Issue-1910 | Claire McQuin | 2014-10-01 | 10 | -136/+319 |
|\ \ \ | | | | | | | | | Disable unforked interval runs. | ||||
| * | | | Test signal safely on windowsmcquin/Issue-1910 | Claire McQuin | 2014-10-01 | 2 | -1/+2 |
| | | | | |||||
| * | | | Fix wording, add updates for interval sleep first, signal processing | Claire McQuin | 2014-10-01 | 2 | -13/+23 |
| | | | | |||||
| * | | | Tidy up some comments, whitespace. | Claire McQuin | 2014-10-01 | 3 | -4/+5 |
| | | | | |||||
| * | | | Update for removed unforked interval client runs. | Claire McQuin | 2014-10-01 | 3 | -0/+18 |
| | | | | |||||
| * | | | Reconfigure signal trapping. | Claire McQuin | 2014-10-01 | 3 | -60/+133 |
| | | | | | | | | | | | | | | | | | | | | | | | | Exit gracefully when sent TERM Fix spec. | ||||
| * | | | Do interval and splay sleep before running client. | Claire McQuin | 2014-10-01 | 2 | -25/+26 |
| | | | | |||||
| * | | | Disable unforked interval runs. | Claire McQuin | 2014-10-01 | 7 | -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 updates | Bryan McLellan | 2014-10-01 | 1 | -0/+2 |
| | | | |||||
* | | | Update guard functional tests for refactoringbtm/guard-order | Bryan McLellan | 2014-10-01 | 1 | -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 6591d4b2 | Bryan McLellan | 2014-10-01 | 1 | -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 configure | Bryan McLellan | 2014-09-30 | 1 | -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 exception | Bryan McLellan | 2014-09-30 | 1 | -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 specs | Bryan McLellan | 2014-09-30 | 1 | -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 compilation | Bryan McLellan | 2014-09-30 | 2 | -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 later | Bryan McLellan | 2014-09-30 | 1 | -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 order | Bryan McLellan | 2014-09-30 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | adds a functional test to ensure guard_interpreter can be set after a conditional. | ||||
* | | | nest powershell guard functional tests | Bryan McLellan | 2014-09-30 | 1 | -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 cases | Bryan McLellan | 2014-09-30 | 1 | -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_interpreter | Bryan McLellan | 2014-09-30 | 2 | -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 command | Bryan McLellan | 2014-09-30 | 2 | -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-specs | Jay Mundrawala | 2014-09-30 | 4 | -0/+6 |
|\ \ | | | | | | | Jdmundrawala/provider specs | ||||
| * | | dos2unix revision_specjdmundrawala/provider-specs | Jay Mundrawala | 2014-09-30 | 1 | -111/+111 |
| | | | |||||
| * | | revision_spec passes on windows | Jay Mundrawala | 2014-09-29 | 1 | -110/+111 |
| | | | |||||
| * | | role_spec unit tests pass on windows | Jay Mundrawala | 2014-09-29 | 1 | -0/+1 |
| | | | |||||
| * | | dscl_spec tests pass on windows | Jay Mundrawala | 2014-09-29 | 1 | -0/+3 |
| | | | |||||
| * | | Deploy specs pass on windows | Jay Mundrawala | 2014-09-29 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #2135 from opscode/jdmundrawala/knife-bootstrap-specs | Jay Mundrawala | 2014-09-30 | 4 | -2/+7 |
|\ \ \ | | | | | | | | | Make knife unit tests pass on windows | ||||
| * | | | environment_from_file_spec passes on windowsjdmundrawala/knife-bootstrap-specs | Jay Mundrawala | 2014-09-29 | 1 | -0/+1 |
| | | | | |||||
| * | | | dos2unix subcommand_loader_spec | Jay Mundrawala | 2014-09-29 | 1 | -150/+150 |
| | | | | |||||
| * | | | data_bag_from_file_spec passes on windows | Jay Mundrawala | 2014-09-29 | 1 | -0/+1 |
| | | | | |||||
| * | | | Knife subcommand_loader_spec passes on windows | Jay Mundrawala | 2014-09-29 | 1 | -150/+150 |
| | | | | |||||
| * | | | Make knife bootstrap unit test pass on windows | Jay Mundrawala | 2014-09-29 | 1 | -1/+4 |
| |/ / | |||||
* | | | Merge pull request #2134 from opscode/jdmundrawala/databag-spec-fix | Jay Mundrawala | 2014-09-30 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | Databag spec specifies not windows | ||||
| * | | | Databag spec specifies not windowsjdmundrawala/databag-spec-fix | Jay Mundrawala | 2014-09-29 | 1 | -0/+1 |
| |/ / | |||||
* | | | Merge pull request #2133 from opscode/jdmundrawala/remote-directory-fix | Jay Mundrawala | 2014-09-30 | 1 | -10/+22 |
|\ \ \ | | | | | | | | | Remote directory should pass specs | ||||
| * | | | Refactor action_create in remote_directory providerjdmundrawala/remote-directory-fix | Jay Mundrawala | 2014-09-30 | 1 | -6/+18 |
| | | | | |||||
| * | | | Added comments about what remote_directory is doing | Jay Mundrawala | 2014-09-30 | 1 | -2/+4 |
| | | | | |||||
| * | | | Fixing cookbook loading for windows | Jay Mundrawala | 2014-09-29 | 3 | -4/+14 |
| | | | | |||||
| * | | | Remote directory should pass specs | Jay Mundrawala | 2014-09-29 | 1 | -8/+6 |
| |/ / | |||||
* | | | Merge pull request #2131 from opscode/jdmundrawala/git-windows | Jay Mundrawala | 2014-09-30 | 2 | -4/+6 |
|\ \ \ | | | | | | | | | Windows can have git as well | ||||
| * | | | Fixed git provider specsjdmundrawala/git-windows | Jay Mundrawala | 2014-09-29 | 1 | -3/+4 |
| | | | | |||||
| * | | | Windows can have git as well | Jay Mundrawala | 2014-09-29 | 1 | -1/+2 |
| |/ / |