It can be very helpful when debugging problems if you can print out information at a certain point in the manifest. This is a good way to tell, for example, whether a variable isn't defined or has an unexpected value. Sometimes, it's useful just to know that a particular piece of code has been run. Puppet's notify resource lets you print out such messages.
Logging debug messages
How to do it...
Define a notify resource in your manifest at the point you want to investigate:
notify { 'Got this far!': }
How it works...
When this resource is applied...