hw-cookbooks/chef-server-populator — pull request #4 by pmacdougall (2014-07-07 23:32:43+00:00)
Title: Fix/client recipe

- use alternative SSL port, if set
- removed the --admin option from "knife client delete..." which would cause it to fail since it's not a valid option
- fixed the not_if guard for setting the client public key to sudo to the opscode-pgsql user and escape the query correctly
- now waits for the chef server to be responsive before dealing with the "knife client..." commands. Found this was necessary during testing with a new VM, where the server restart was complete but it was not ready to handle requests and would cause an error.