Tips & Solutions for Working with Puppet
A newer version is available; see the version menu above for details.
Troubleshooting Puppet Core
Improving Profiling and Debugging of Slow Catalog Compilations
You can get the Puppet master to log additional debug-level messages about how much time each step of its catalog compilation takes by setting
true in an agent’s puppet.conf file (or specify
--profile on the CLI).
If you’re trying to profile, be sure to check the
--debug options on the master — debug must be on, and messages will go to the log destination, which defaults to syslog. If you’re running via Passenger or another Rack server, these options will be set in the config.ru file.
To find the messages, look for the string PROFILE in the master’s logs — each catalog request will get a unique ID, so you can tell which messages are for which request.