Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup commented out codebtm/group_functional_tests | Bryan McLellan | 2014-09-29 | 1 | -2/+0 |
| | |||||
* | Match group func tests to specification | Bryan McLellan | 2014-09-29 | 1 | -4/+9 |
| | | | | | | | When a group does not exist, the group resource should raise an exception on action modify, but not on action_manage. Also update the `not_to raise_error(SpecificError)` deprecated syntax. | ||||
* | Merge pull request #1912 from jessehu/CHEF-ISSUE-1904 | Claire McQuin | 2014-10-02 | 1 | -1/+4 |
|\ | | | | | 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 | 1 | -2/+3 |
| | | | | | | | | the log. | ||||
| * | retry on HTTP 50X Error when calling Chef REST API | Hui Hu | 2014-08-25 | 1 | -1/+3 |
| | | |||||
* | | Test signal safely on windowsmcquin/Issue-1910 | Claire McQuin | 2014-10-01 | 1 | -0/+1 |
| | | |||||
* | | Tidy up some comments, whitespace. | Claire McQuin | 2014-10-01 | 1 | -0/+2 |
| | | |||||
* | | Reconfigure signal trapping. | Claire McQuin | 2014-10-01 | 1 | -13/+66 |
| | | | | | | | | | | | | Exit gracefully when sent TERM Fix spec. | ||||
* | | Disable unforked interval runs. | Claire McQuin | 2014-10-01 | 3 | -26/+62 |
| | | | | | | | | | | | | | | | | | | | | 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 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. | ||||
* | | 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 | 1 | -0/+7 |
| | | | | | | | | | | | | 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. | ||||
* | | 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 | 1 | -20/+6 |
| | | | | | | | | | | | | | | 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 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | 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 #2131 from opscode/jdmundrawala/git-windows | Jay Mundrawala | 2014-09-30 | 1 | -3/+4 |
|\ \ \ | | | | | | | | | Windows can have git as well | ||||
| * | | | Fixed git provider specsjdmundrawala/git-windows | Jay Mundrawala | 2014-09-29 | 1 | -3/+4 |
| |/ / | |||||
* | | | Merge pull request #2130 from opscode/jdmundrawala/cookbook-loading | Jay Mundrawala | 2014-09-30 | 3 | -1/+9 |
|\ \ \ | | | | | | | | | Fixing cookbook loading for windows | ||||
| * | | | Syntax checker uses helper method for relative pathjdmundrawala/cookbook-loading | Jay Mundrawala | 2014-09-29 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | Test pass on windows | ||||
| * | | | cookbook_version_loader_spec passes on windows | Jay Mundrawala | 2014-09-29 | 1 | -0/+3 |
| | | | | |||||
| * | | | Cookbook loader specs specify not windows | Jay Mundrawala | 2014-09-29 | 1 | -1/+3 |
| |/ / | |||||
* | | | Merge pull request #2024 from opscode/jdmundrawala/windows_env_path | Jay Mundrawala | 2014-09-30 | 2 | -34/+116 |
|\ \ \ | | | | | | | | | Windows path fix | ||||
| * | | | Use windows api to expand path. Cleaned up tests | Jay Mundrawala | 2014-09-11 | 2 | -46/+111 |
| | | | | |||||
| * | | | Fix setting Path for Windows | Alex Slynko | 2014-09-10 | 1 | -0/+17 |
| | | | | |||||
* | | | | Add the pending() guard to the 'when there's no reboot keys present' spec. | Chris Doherty | 2014-09-29 | 1 | -2/+5 |
| | | | | |||||
* | | | | DSCL resource says it doesn't support OS X below 10.7, so don't run it on 10.6. | Chris Doherty | 2014-09-29 | 1 | -1/+2 |
| |/ / |/| | | |||||
* | | | Merge pull request #2116 from opscode/jdmundrawala/git-centos | Jay Mundrawala | 2014-09-29 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Support checkout for git < 1.7.3 | ||||
| * | | | Support checkout for git < 1.7.3jdmundrawala/git-centos | Jay Mundrawala | 2014-09-25 | 1 | -2/+2 |
| | | | | |||||
* | | | | Fixing `data bag edit` according to spec, no longer requires --encrypttball/encrypted-data-bag-ux | tyler-ball | 2014-09-29 | 1 | -2/+10 |
| | | | | |||||
* | | | | Fixing bad method definition | tyler-ball | 2014-09-29 | 3 | -8/+8 |
| | | | | |||||
* | | | | Fixing :print_after so it correctly displays the edited data bag, even if it ↵ | tyler-ball | 2014-09-29 | 1 | -38/+52 |
| | | | | | | | | | | | | | | | | became encrypted | ||||
* | | | | Finishing UX spec - storing CL options in different config values so we can ↵ | tyler-ball | 2014-09-29 | 4 | -107/+59 |
| | | | | | | | | | | | | | | | | correctly validate, updating bootstrap to use shared module |