Skip to content

arlt/puppet-reportprint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What?

A simple CLI viewer for Puppet Reports

Why?

Because fuck web shit.

The main question I have is why is Puppet so slow to apply a specific catalog. This report printer will show you standard issue report metrics and such but it will also show you the resources in the report sorted by slowest evaluation time as well as the largest files being managed.

Evaluation time is how long Puppet took at run time to apply a specific resource.

A Package resource might go out to the internet to fetch the package and so you'll have long evaluation times. Services takes long to restart and so forth.

This is the information you'll find using the --evaltrace option to Puppet which have recently been included in Puppet reports.

If you run it as root it should magically figure out where to find you most recent report - usually in /var/lib/puppet/state/last_run_report.yaml but you can pass in a path using --report

An example report is included in SAMPLE.txt Tested against Puppet 3.3.0 it might have bugs against older versions.

Future?

  • Parse the Puppet compiler metrics that was recently introduced to figure out why compiling is slow
  • Retrieve a report from PuppetDB based on some criteria

Who?

R.I.Pienaar / [email protected] / @ripienaar / http://devco.net

About

CLI Viewer for Puppet Reports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%