opscode/chef — pull request #558 by danielsdeleo (2012-12-19 01:18:34+00:00)
Title: [CHEF-3689] Refactor Client Registration, make it work for existing clients w/ Chef 11 Server

Client registration is moved into its own class, and tests added (no tests existed previously). Both unit tests and manual testing confirm that the code correctly registers clients with Chef 10 and Chef 11 servers. Registering an existing client again works as long as the validation client is an admin instead of a validator.