Skip to content

Repetition in Puppet

For a long time the Puppet language had only limited support for repetition and loops. Puppet 4 and the Future Parser eventually added new functions to evaluate a block multiple times. This article is the first in a series that will illustrate the new functions and also present some use-cases.

Continue reading "Repetition in Puppet"

Quoted Shellvars in Augeas

The Augeas type in Puppet allows changing specific parts in a file while leaving the rest unmanaged. I use it frequently to set shell variables in files associated with an application package. Sometimes the value must be quoted and getting the correct quoting with Augeas never works the first time for me. So here is my little cheat sheet for setting quoted values with Augeas.

Continue reading "Quoted Shellvars in Augeas"