Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix global state in specslcg/add-chef-log-syslog | Lamont Granquist | 2015-05-04 | 1 | -3/+10 |
| | |||||
* | avoid any_instance_of indirection | Lamont Granquist | 2015-05-04 | 1 | -3/+3 |
| | |||||
* | symbol does not resolve on windows | Lamont Granquist | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | fix name + email in copyright | Lamont Granquist | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | another copyright notice fix | Lamont Granquist | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | fix copyright notice | Lamont Granquist | 2015-05-04 | 1 | -4/+3 |
| | |||||
* | mv spec/functional/log/syslog_spec.rb to spec/unit/log/ | sawanoboly | 2015-05-04 | 1 | -0/+0 |
| | |||||
* | move syslog specs to functional and call Chef::Log methods. | sawanoboly | 2015-05-04 | 2 | -21/+46 |
| | |||||
* | avoid platfomr matched /mswin|mingw|windows/ | sawanoboly | 2015-05-04 | 2 | -14/+16 |
| | |||||
* | extract Chef::Log::Sylog class to its own file | Lamont Granquist | 2015-05-04 | 2 | -26/+52 |
| | |||||
* | strip message | sawanoboly | 2015-05-04 | 2 | -3/+3 |
| | |||||
* | fallback to info | sawanoboly | 2015-05-04 | 2 | -0/+7 |
| | |||||
* | add unit specs for Chef::Log::Syslog | sawanoboly | 2015-05-04 | 2 | -0/+15 |
| | |||||
* | send message with Severity to syslog | sawanoboly | 2015-05-04 | 1 | -2/+8 |
| | |||||
* | add Chef::Log::Syslog class | Lamont Granquist | 2015-05-04 | 2 | -0/+19 |
| | | | | | | | | | | | See: * https://www.kickflop.net/blog/2013/06/27/syslog-output-for-chef-runs/ * http://lists.opscode.com/sympa/arc/chef/2014-12/msg00152.html * https://github.com/higanworks-cookbooks/chef-client_syslog It is relatively embarrassing to have a system administration tool that doesn't support syslog out of the box. | ||||
* | Merge pull request #3319 from chef/tc/api-version | Tyler Cloke | 2015-05-04 | 13 | -21/+207 |
|\ | | | | | Implemented X-Ops-Server-API-Version in Chef requests | ||||
| * | Updated changelog. | tylercloke | 2015-05-04 | 1 | -0/+1 |
| | | |||||
| * | Nice error handling for unsupported API version in formatters/*.rb. | tylercloke | 2015-05-04 | 9 | -2/+175 |
| | | |||||
| * | Nice error formatting for unsupported API version in Knife. | tylercloke | 2015-05-04 | 2 | -0/+18 |
| | | |||||
| * | Implemented X-Ops-Server-API-Version in Chef requests. | tylercloke | 2015-05-04 | 3 | -21/+15 |
|/ | | | | | | | | | | This takes advantage of Chef::HTTP::Authenticator.handle_request. After the authentication_headers have been merged, it adds: {'X-Ops-Server-API-Version' => Chef::HTTP::Authenticator::SERVER_API_VERSION} Chef::HTTP::Authenticator::SERVER_API_VERSION should corrospond to the max version of the server the client is compatible with. We are starting at "0". I also removed outer level lets :base_header and :req_with_body_headers from rest_spec.rb as they were never used anywhere. Another :base_header was defined in a tighter part of the spec and was only used in that scope, and :req_with_body_headers was never used anywhere. | ||||
* | Merge pull request #3320 from chef/lcg/node-utf8-sanitize | Lamont Granquist | 2015-05-04 | 6 | -4/+23 |
|\ | | | | | Lcg/node utf8 sanitize | ||||
| * | update CHANGELOG.md | Lamont Granquist | 2015-05-04 | 1 | -0/+1 |
| | | |||||
| * | fix unit test stub | Lamont Granquist | 2015-05-04 | 1 | -1/+1 |
| | | |||||
| * | add a spec test + linebreaks | Lamont Granquist | 2015-05-04 | 2 | -1/+14 |
| | | |||||
| * | use validate_utf8=false option to json encoder for node | Lamont Granquist | 2015-05-04 | 3 | -3/+8 |
| | | | | | | | | | | | | | | with validation off any bad utf8 data will not cause the ffi-yajl encoder to raise. with ffi-yajl >= 2.2.0 the bad data will be scrubbed to produce valid JSON to POST/PUT to the server. | ||||
* | | Merge pull request #3298 from juliandunn/fix-aix-source-package | Julian C. Dunn | 2015-05-04 | 2 | -8/+21 |
|\ \ | |/ |/| | fix AIX package installs using a 'source' attribute | ||||
| * | Fix tests. Add test for source not providing the requested package. | Julian C. Dunn | 2015-04-29 | 1 | -8/+20 |
| | | |||||
| * | Raise exception if a package provided by 'source' doesn't actually provide | Julian C. Dunn | 2015-04-28 | 1 | -0/+1 |
| | | | | | | | | that package | ||||
* | | Update CHANGELOG for merges. | Bryan McLellan | 2015-05-01 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | Closes #2953 Closes #3155 Closes #3112, Closes #3165 Closes #3321 Closes #3278 | ||||
* | | Cache service_resource_providers for the duration of the run. | Noah Kantrowitz | 2015-05-01 | 1 | -21/+21 |
| | | |||||
* | | Fix installation of yum packages with version constraints | ojab | 2015-05-01 | 2 | -4/+51 |
| | | | | | | | | Fixes #2778 | ||||
* | | Fix debug message | ojab | 2015-05-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | << has higher precedence than == & ?: => "mdbtools >= 0.7.1: Unable to match package 'mdbtools >= 0.7.1' but matched 1 \u0001" Obvious fix. | ||||
* | | fix smartos_package for new "pkgin" output, fixes #3112 | Dave Eddy | 2015-05-01 | 2 | -45/+55 |
| | | |||||
* | | Add an integration test of chef-client with empty ENV. | Kartik Null Cating-Subramanian | 2015-05-01 | 1 | -2/+19 |
| | | |||||
* | | Switch over Windows builds to universal builds. | Kartik Null Cating-Subramanian | 2015-05-01 | 4 | -26/+25 |
| | | | | | | | | Updated dependencies and refactored platform gemspecs. | ||||
* | | Merge pull request #3295 from chef/lcg/dont-mutate-new-resource | Lamont Granquist | 2015-05-01 | 6 | -18/+64 |
|\ \ | | | | | | | don't mutate the new resource | ||||
| * | | add CHANGELOGlcg/dont-mutate-new-resource | Lamont Granquist | 2015-05-01 | 1 | -0/+2 |
| | | | |||||
| * | | break up spec examples | Lamont Granquist | 2015-05-01 | 1 | -3/+23 |
| | | | |||||
| * | | test state_for_resource_reporter on file resource | Lamont Granquist | 2015-05-01 | 2 | -2/+4 |
| | | | | | | | | | | | | and fix it to hit the right key. | ||||
| * | | create Chef::Resource#state_for_resource_reporter | Lamont Granquist | 2015-05-01 | 4 | -12/+36 |
| | | | | | | | | | | | | | | | | | | Use this to override the state reported by the resource reporter while avoiding the collision over Chef::Resource#state being used by some LWRPs. | ||||
| * | | fix specs | Lamont Granquist | 2015-05-01 | 1 | -2/+3 |
| | | | |||||
| * | | don't mutate the new resource | Lamont Granquist | 2015-05-01 | 1 | -3/+0 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this line violates the rule that we never mutate the new resource. in Chef 12 this causes real problems because if a file resource is notified (run twice) then the rendered content is loaded into the new resource and if the file resource content changes (i.e. its a template with logic which changes when its notified) then it will cause a failure because the rendered content will not match the 'requested' checksum. where the 'requested' checksum is actually the checksum loaded by this line. fundamentally we have three different states that we're trying to track: - current state - initial state - requested state the removed line tries to use the @new_resource for reporting initial state, which then bleeds over into what chef thinks is requested state in the next invokation. without constructing a third @initial_resource and using that for resource reporting comparison we can't solve this problem "right". the tradeoff is we either break reporting here or break chef-client runs. this patch sacrifices reporting in order to make chef-client work. | ||||
* | | Merge pull request #3227 from higanworks/show_chef_version_on_shell | Thom May | 2015-05-01 | 2 | -4/+4 |
|\ \ | | | | | | | Show Chef::VERSION at prompt_c and prompt_i on shell session | ||||
| * \ | Merge remote-tracking branch 'upstream/master' into show_chef_version_on_shell | sawanoboly | 2015-04-22 | 1 | -0/+6 |
| |\ \ | |||||
| * | | | reflect https://github.com/chef/chef/pull/3227#issuecomment-94560685 | sawanoboly | 2015-04-21 | 2 | -4/+4 |
| | | | | |||||
| * | | | Merge branch 'master' into show_chef_version_on_shell | sawanoboly | 2015-04-21 | 35 | -215/+1695 |
| |\ \ \ | |||||
| * | | | | Show Chef::VERSION at prompt_c and prompt_i on shell session | sawanoboly | 2015-04-15 | 2 | -8/+8 |
| | | | | | |||||
* | | | | | Merge pull request #3311 from chef/tc/key-edit | Tyler Cloke | 2015-04-30 | 16 | -30/+1030 |
|\ \ \ \ \ | | | | | | | | | | | | | Implemented `knife user key edit` and `knife client key edit` | ||||
| * | | | | | Implemented `knife user key show` and `knife client key show`. | tylercloke | 2015-04-30 | 11 | -59/+344 |
| | | | | | | |||||
| * | | | | | Fixed small bug in Chef::Key.load_by_(user|client) where actor wasn't populated. | tylercloke | 2015-04-30 | 1 | -3/+5 |
| | | | | | |