Chef now returns expected error codes.

--HG--
branch : stable