O'Reilly logo

Extending Puppet by Alessandro Franceschi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required