deployment - How do you report errors to chef from a test suite? -
if run test suite upon install how report errors chef? more generally, there great packages verifying system state?
does involve returning error codes on exit or there more verbose ways of interacting chef?
i highly recommend 2 tools:
these great tools testing various logic branches , behaviors of cookbook. chefspec perform in-memory chef run, it's perfect unit testing , fast feedback loops. test kitchen converge real node (using vagrant default) , use busser (such bats or serverspec) validate state of system @ end of converge.
in production, chef has native report handling , error reporting. according documentation, can create own handlers notifications.
Comments
Post a Comment