Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make FileVendor configuration specific to the two implementationssersut/port-policyfile-fix | danielsdeleo | 2014-10-07 | 4 | -6/+4 |
| | | | | | | | | | | | | | | | | FileVendor previously was configured by storing a closure/anonymous function as a class instance variable. This had the following downsides: * The API was too general, which caused a lot of code repetition * The block was lazily evaluated, which hid errors and made testing more difficult * The closures captured references to classes with references to large data structures, which complicates GC. Since we've only ever had the same two implementations of FileVendor, we can encapsulate configuration of the FileVendor factory by wrapping each configuration option in a method. As a side benefit, arguments to these methods will be eagerly evaluated, which makes it easier to detect errors. | ||||
* | Merge pull request #2024 from opscode/jdmundrawala/windows_env_path | Jay Mundrawala | 2014-09-30 | 1 | -137/+183 |
| | | | | | | Windows path fix Conflicts: spec/functional/resource/env_spec.rb | ||||
* | 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 |
| | |||||
* | DscScript resource will raise an error if dsc is not available | Jay Mundrawala | 2014-09-05 | 1 | -3/+4 |
| | |||||
* | Merge pull request #1975 from opscode/platform/11-dsc | Bryan McLellan | 2014-09-03 | 1 | -0/+336 |
|\ | | | | | Platform/11 dsc | ||||
| * | Switch fileformat to unix, clean up whitespace. | Bryan McLellan | 2014-09-03 | 1 | -336/+336 |
| | | | | | | | | | | Converts a few files from CRLF->LF. Removes some trailing whitespace as well. | ||||
| * | DSC functional tests with configuration data and parameterization | Adam Edwards | 2014-09-03 | 1 | -4/+225 |
| | | |||||
| * | DSC spec platform detection via WMI | Adam Edwards | 2014-09-03 | 1 | -1/+1 |
| | | |||||
| * | Initial dsc_configuration resource implementation | Adam Edwards | 2014-09-03 | 1 | -0/+115 |
| | | |||||
* | | Merge pull request #1973 from opscode/sersut/group-spec-fix | Serdar Sutay | 2014-09-04 | 1 | -1/+5 |
|/ | | | | | | Check the group membership using dscl on Mac in specs. Conflicts: spec/functional/resource/group_spec.rb | ||||
* | Merge pull request #1800 from opscode/sersut/chef#1634 | Serdar Sutay | 2014-08-13 | 2 | -1/+199 |
| | | | | | | | | | DSCL User Provider Rewrite Conflicts: .gitignore RELEASE_NOTES.md chef.gemspec lib/chef/provider/user/dscl.rb | ||||
* | Issue 1754: Chef::Exceptions::Env exception when modifying env resource ↵ | adamedx | 2014-08-11 | 1 | -0/+137 |
| | | | | using key_name attribute that differs in case from the environment variable name | ||||
* | Skip all unsupported platforms in remount test | danielsdeleo | 2014-06-12 | 1 | -1/+3 |
| | |||||
* | fixes and func tests | Lamont Granquist | 2014-05-29 | 1 | -11/+14 |
| | |||||
* | forgot to mix into remote_file specs | Lamont Granquist | 2014-04-21 | 1 | -0/+1 |
| | |||||
* | DRY up remote_file func specs | Lamont Granquist | 2014-04-11 | 1 | -134/+7 |
| | |||||
* | CHEF-5198: add func tests for remote_file | Lamont Granquist | 2014-04-09 | 1 | -2/+192 |
| | | | | | | | | | | | | | | | this tests: - successful uncompressed downloads with correct content-length - successful compressed downloads with correct content-length - unsuccessful uncompressed downloads with incorrect content-length - unsuccessful compressed downloads with incorrect content-length - successful downloads with incorrect conteng-length when transfer-encoding is set this makes sure that decompression + content length validate is happening in the correct order with remote_file and that we're ignoring the content-length in the presence of a transfer-encoding. | ||||
* | Address regression with convert_boolean_return always set to true | Adam Edwards | 2014-03-29 | 1 | -1/+28 |
| | |||||
* | CR feedback: move inheritance to class level, add tests for convert_boolean_true | Adam Edwards | 2014-03-29 | 1 | -1/+66 |
| | |||||
* | CHEF-4553: Add spec tests and fix broken examples | Adam Edwards | 2014-03-29 | 1 | -3/+28 |
| | |||||
* | Powershell guard functional tests | Adam Edwards | 2014-03-29 | 1 | -0/+144 |
| | |||||
* | Fix comment typo | adamedx | 2014-03-29 | 1 | -1/+1 |
| | |||||
* | Remove the unneeded running of "os" plugin. | sersut | 2014-03-07 | 1 | -1/+1 |
| | |||||
* | Fix the Ohai resource for Ohai 7. | sersut | 2014-03-07 | 1 | -0/+65 |
| | | | | | Conflicts: spec/unit/provider/ohai_spec.rb | ||||
* | Fix chef spec infra to use OHAI correctly. | sersut | 2014-03-07 | 3 | -5/+3 |
| | |||||
* | Merge pull request #1254 from opscode/lcg/CHEF-5001 | lamont-granquist | 2014-03-05 | 1 | -0/+191 |
|\ | | | | | CHEF-5001: tests for multiple rollbacks | ||||
| * | CHEF-5001: tests for multiple rollbacks | Lamont Granquist | 2014-02-06 | 1 | -0/+191 |
| | | |||||
* | | Correctly order setup of reporting state in registry specs | Daniel DeLeo | 2014-02-19 | 1 | -5/+4 |
|/ | |||||
* | fix should_not raise_error(SpecificException) | Lamont Granquist | 2014-01-29 | 1 | -1/+1 |
| | |||||
* | s/mock\(/double(/g | Lamont Granquist | 2014-01-29 | 1 | -2/+2 |
| | |||||
* | s/stub!/stub/g | Lamont Granquist | 2014-01-29 | 2 | -10/+10 |
| | | | | fix deprecation warnings | ||||
* | Merge remote-tracking branch 'goodmanio/CHEF-4639' into CHEF-4639-updated | sersut | 2014-01-17 | 1 | -1/+0 |
|\ | |||||
| * | Refactor | Allen Goodman | 2013-11-18 | 1 | -14/+0 |
| | | |||||
| * | If a resource is sensitive, it’s redacted from logs. | Allen Goodman | 2013-11-15 | 1 | -0/+13 |
| | | |||||
* | | fix platform_family check for fedora | Lamont Granquist | 2014-01-15 | 1 | -2/+2 |
| | | |||||
* | | Move shared examples invocation into windows-scoped block | adamedx | 2014-01-13 | 1 | -2/+2 |
| | | |||||
* | | Reuse of examples via include_examples for more sensible rspec output | Adam Edwards | 2014-01-13 | 1 | -2/+2 |
| | | |||||
* | | Windows domain group resource examples | Adam Edwards | 2014-01-13 | 1 | -15/+84 |
| | | |||||
* | | CHEF-3012: Use SID instead of username for group membership checks | adamedx | 2014-01-13 | 1 | -1/+12 |
| | | |||||
* | | CHEF-4849: Use preseed-template-variables.seed | Bryan McLellan | 2013-12-20 | 1 | -1/+1 |
| | | | | | | | | | | | | I believe this file was the intended preseed file to use for the response_file tests instead of the existing preseed-template.seed which uses a different variable. | ||||
* | | CHEF-4849: Implement `#response_file_variables` in Package resource | Peter Fern | 2013-12-20 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | Now that Chef properly supports a package `response_file` using `Chef::Resource::Template`, the Package resource should implement the `response_file_variables` method so that variables do not have to exist as node attributes (eg - for seeding DB passwords for configuration files generated by packages). | ||||
* | | Fix specs on Solaris. | sersut | 2013-11-19 | 1 | -3/+38 |
| | | |||||
* | | Fix specs on FreeBSD. | sersut | 2013-11-19 | 1 | -14/+14 |
| | | |||||
* | | Turn off functional group resource tests on MacOSX 10.6 due to caching issue ↵ | sersut | 2013-11-19 | 1 | -1/+5 |
| | | | | | | | | on Etc.getgrnam() on certain boxes. | ||||
* | | Group spec fixed for CI. | sersut | 2013-11-18 | 1 | -0/+3 |
| | | |||||
* | | Better root checks and better naming for group account in functional group ↵ | sersut | 2013-11-14 | 1 | -1/+1 |
| | | | | | | | | tests. | ||||
* | | Support :excluded_members in windows group provider. | sersut | 2013-11-12 | 1 | -6/+2 |
| | | |||||
* | | Support :excluded members in gpasswd provider. | sersut | 2013-11-11 | 1 | -0/+6 |
| | | |||||
* | | Specs for CHEF-3297. TDD rules. | sersut | 2013-11-11 | 1 | -117/+212 |
|/ | |||||
* | Update remote_file to expect nil return for 304 response | danielsdeleo | 2013-10-23 | 1 | -0/+14 |
| | | | | | | | | Recent changes to Chef's HTTP code have modified the behavior of the HTTP#streaming_request function; it now catches HTTP 304 responses internally and returns nil instead of raising an error. The cache control handling code in `remote_file` HTTP backend needs a corresponding update to appropriately branch for the not-modified case. |