Reputation: 897
I have a Chef script that creates and configures couple of Linux servers on Amazon AWS. During the configuration step, it installs some software and installs the code from our project.
Is there a tool that can read the output of the Chef script (probably the log files) and provide me with information about the execution of the script? And point out if any step did not go smoothly?
There seems to be lots of content on TDD using Chef and unit testing but did not find any related to actual automated (or semi-automated) verification when the scripts are executed in production.
Upvotes: 0
Views: 41
Reputation: 37630
If chef cannot reach the desired state (as declared in the recipe). E.g. if you want to install a package which doesn't exist, it will fail and exit with non-zero exit code.
Upvotes: 1