This project makes it easy to visualize the amount of changes happening on a fleet of puppet-managed hosts. This is especially meaningful when the agents are not actually deploying any changes for environments where change management may require changes are deployed in certain windows.
- Any web server to host the page
- Access to a PuppetDB instance to get the reports from
- The following utilities available in
$PATH:jqpvtmpwatchcurlbashreadlink
-
Prepare the data to be visualized.
update.shwould download the latest reports from a locally running PuppetDB, you can point it to a different host by exporting the$urlenvironment variable. You may want to run this periodically. -
You may want to create a
puppetlogs.local.jsfile in which you can set theownwer_to_rolesandpermanentConfigvariables to suit your environment. -
Make a web server serve this repository. You would need to let it follow symbolic links.
test.shcan be used to try it in a simple Ruby WebRick webserver.