-
Inheritance – not just to be avoided in puppet
The general consensus around inheritance in puppet is to only use it when you need to inherit defaults from params.pp files. Due to a quirk of the language parser inheritance is the only way to get these variables into scope when setting default parameters when writing a parameterized class. The...
-
WTF is R10K?
Outdated This article was written for an old version of Puppet Enterprise and exists for reference purposes only. If you start doing any serious work with Puppet these days, you will hear people mentioning R10K frequently. It took me a while to get my head around what R10K actually does....
-
REST Cheat Sheet
Example service URI https://foobar.com/collection/element Interface Verb Collection Element Success code GET List Representation 200 OK POST Create element with system assigned URI Not used 201 CREATED PUT Replace collection Replace element 201 CREATED DELETE Delete collection Delete element 204 NO CONTENT OPTIONS Describe interface Describe interface 200 OK HEAD Metadata...
-
Puppet Directory Environments
Outdated This article was written for an old version of Puppet Enterprise and exists for reference purposes only. Puppet directory environments vs config file environments Puppet has allowed “environments” in the puppet.conf file for a long time but there’s now a new way to create environments using a simple directory...
-
MCollective Traffic Analysis
Outdated This article was written for an old version of Puppet Enterprise and exists for reference purposes only. MCollective Traffic Analysis This article describes the steps I took to perform traffic analysis on the Puppet Marionette Collective/ActiveMQ messaging system using wireshark and Linux commands. Method Use wireshark on the virtual...
-
Installing R10K in Puppet Enterprise
Outdated This article was written for an old version of Puppet Enterprise and exists for reference purposes only. This is the ‘Hard Way’ of doing an R10K install for a new Puppet Enterprise system. If you want to go the ‘Easy Way’ there is an R10K module on Puppet Forge...
-
Puppet Environments in-depth
Outdated This article was written for an old version of Puppet Enterprise and exists for reference purposes only. Once your up and running with R10K, your environments are ready to use. You can associate a node system with an environment in one of the following ways: puppet.conf You can request...
-
dem2stl
dem2stl is a simple python script to convert digital elevation maps in image format into STL format for 3D printing. Code is available on Github under a GPLv2 licence Example object
-
OOMs in Puppet
Out of memory errors can sometimes happen on your Puppet Master server when you haven’t allocated enough RAM or swap to the VM your running it from (as I had - whoops). Unless you know what your looking for, you can spend hours investigating mysterious failures and strange tweaks that...
-
JXML Validator
JXML Validator provides an easy command line and GUI interface for validating XML files to all schemas defined in the document. This is really useful if you have very complicated XML and simply want to check if its valid or not, as is often the case with OGC Web Services....