summaryrefslogtreecommitdiff
path: root/lib/chef/api_client
Commit message (Collapse)AuthorAgeFilesLines
* chefstyle Style/AndOr fixesLamont Granquist2016-03-141-1/+1
| | | | | this is part of our informal style guide, lets make it formal since clearly its not getting followed very well.
* flip multiline function arguments aroundlcg/rubocop-0.37.2Lamont Granquist2016-02-191-1/+1
| | | | no enforced trailing comma on arguments...
* autofixing whitespace copsLamont Granquist2016-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-3/+3
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-131-2/+2
| | | | chefstyle -a fixed 1044 occurrances
* Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_restThom May2016-01-111-2/+2
| | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518
* no longer wait on node search to refresh vault but pass created ApiClient ↵Matt Wrock2015-12-221-1/+25
| | | | instead
* Revert lib/chef/api_client/registration.rb to use API V0 since it doesn't ↵tc/fix-api-client-registrationTyler Cloke2015-12-041-3/+7
| | | | support V1.
* Update registration.rbJames Michael DuPont2015-10-241-1/+1
| | | just output the abs path
* better error reportingJames Michael DuPont2015-10-241-1/+2
|
* allow dep injecting the http clientLamont Granquist2015-02-111-9/+7
|
* Make client.pem being a symlink a configurable optionRyan Cragun2014-11-071-1/+3
|
* Add optional client-side key generation when registeringdanielsdeleo2014-03-251-9/+46
|
* [CHEF-3689] no File::NOFOLLOW on windowsdanielsdeleo2012-12-191-1/+8
|
* [CHEF-3689] check for non-writable directory before client registrationdanielsdeleo2012-12-191-1/+1
|
* [CHEF-3689] Retry all 5xx when registeringdanielsdeleo2012-12-191-2/+11
| | | | Also, document that retries are layered, and explain purpose.
* [CHEF-3689] Extract registration to a classdanielsdeleo2012-12-181-0/+110