Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (16 sloc) 645 Bytes

Puppet-profiler

Find out what's making your Puppet runs so bloody slow!

Installation

gem install puppet-profiler

Generating a report

Just run the puppet-profiler command and wait

puppet-profiler

It'll eventually return a report of the slowest resources in your manifest for this host. This gives you a good idea of where to start optimising.

Top 5 Puppet resources by runtime
=================================

 0.78s - Edit_grub_for_serial[serialconsole]
 0.55s - File[/usr/share/logstash/outputs]
 0.35s - File[/etc/nginx/common]
 0.35s - Service[haproxy]
 0.34s - Exec[accept_sun_dlj]
Something went wrong with that request. Please try again.