I run multiple vagrant setups on my laptop. Sometimes when switching from one setup to another, vagrant complains it cannot find a certain node that is actually part of the other enviroment.
As a quick fix I just run :
rm ~/.vagrant.d/data/machine-index/index
During Puppetconf 2016 Github announces it was releasing one of its internal test tools called octocatalog-diff as open source. What the tools basicly does is compile the catalog for a certain machine using your old and new puppetcode to show you the diff output. This allows you to see the …
Puppet has had native nagios resource types for quite some time. As both a nagios and a puppet fan, I really liked the idea of not setting up any monitoring but have some base level of monitoring on every managed system automatically. Deploying new systems involves a lot of steps …
At a client site updates were installed on Red Hat systems, but they were not always rebooted after a kernel update. So I needed a quick way to test if a server had a newer kernel installed than it was currently running. Just to save it for future use :
#!/bin …
A pre-commit hook is a great way to run custom actions before handing over your work to GIT (and thus your CI tool chain). For puppet related GIT repositories I’ve assembled a pre-commit hook that checks the puppet code, changed ERB templates and any changed YAML files for formatting …