Missing resources

When we attempt to use a resource that is not available to our Puppet Master or Puppet environment, we can trigger a missing resource error, causing the catalog compilation to fail. While these are commonly caused by misspelling a resource type, they can also be caused by missing modules in an environment. In the following example, I'm attempting to use the NTP module with include ntp. Remember, classes are resources, too:

[root@wordpress puppet]# puppet agent -tInfo: Using configured environment 'production'Info: Retrieving pluginfactsInfo: Retrieving pluginInfo: Retrieving localesInfo: Loading factsError: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating ...

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.