Book Image

Extending Puppet

By : Alessandro Franceschi
Book Image

Extending Puppet

By: Alessandro Franceschi

Overview of this book

Table of Contents (21 chapters)
Extending Puppet
About the Author
About the Reviewers

Improved error system

Various enhancements have also been made to how Puppet reports errors.

Now, in most of the error messages, besides the filename and the line where the error is caught, the position inside the line is also indicated (the format is filename:line:position).

The same error messages have been improved to ease readability and troubleshooting.

It's also possible to configure the parameters max_errors, max_warnings, and max_deprecations (by default, 10 for each of them) in puppet.conf to set the maximum lines to print for each of these error categories. If the limit is reached, the last line with the total count of the found errors is printed.