Doing some scripting with knife client create and it's lack of a proper exit code is tripping me up:
demo@xxx:~# knife client create foo -f /tmp/foo.pem -u chef-validator -k /etc/chef/validation.pem -n -s https://xxx.com/ -d
WARNING: No knife configuration file found
ERROR: Client 'foo' already exists
root@xxx:~# echo $?
Massive patch @ https://github.com/mdkent/chef/tree/CHEF-3201
Reviewed and marked for merge.
Merged, thanks for all the hard work.