Debug mode – catalog

Sometimes, Puppet throws an error that isn't immediately obvious. In the next example, I'm attempting to install apache httpd, but I have misspelled the name of the package. If you haven't spent a lot of time working on a system that uses Yum, the error Nothing to do isn't exactly a very clear error:

[root@pe-puppet-master manifests]# puppet agent -tInfo: Using configured environment 'production'Info: Retrieving pluginfactsInfo: Retrieving pluginInfo: Retrieving localesInfo: Loading factsInfo: Caching catalog for pe-puppet-masterInfo: Applying configuration version '1535778801'Notice: Applying the Linux Baseline!Notice: /Stage[main]/Profile::Baseline::Linux/Notify[baseline]/message: defined 'message' as 'Applying the ...

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.