Skip to content

Instantly share code, notes, and snippets.

View JoeButler99's full-sized avatar

Joe Butler JoeButler99

  • United Kingdom
View GitHub Profile
### Keybase proof
I hereby claim:
* I am joebutler99 on github.
* I am joebutler (https://keybase.io/joebutler) on keybase.
* I have a public key ASDaejJw0Nvhuz3VlR-yrmgqDAE7cQvWUsmcFdJaK9DiIgo
To claim this, I am signing this object:
@JoeButler99
JoeButler99 / puppet_last_run_report_analyser.py
Created January 28, 2016 10:52
Puppet run analyser: parsing last_run_report.yaml
#!/usr/bin/env python
'''
@author: joebutler99
@about:
This script can analyse a puppet last report to give
detailed analysis of where the execution time is spent
Puppet enterprise stores this file (by default) in: /var/opt/lib/pe-puppet/state/last_run_report.yaml
@examples: