R.I.Pienaar

devops

The Puppet 4 Lookup Function

03/13/2016

Puppet 4 has a new lookup subsystem exposed to the user in a few places: The lookup() function Automatic parameter lookups Configuring the automatic parameter lookups via Data in Modules I’ve not been able to figure out everything the docs have been trying to say about this function but it turns out they were copied Read More

params.pp in Puppet 4

03/06/2016

I do not like the params.pp pattern. Puppet 4 has brought native Data in Modules that’s pretty awesome and to a large extend it removes the traditional need for params.pp. Thing is, we kind of do still need some parts of params.pp. To understand this we have to consider what the areas of concern params.pp Read More

The Resource Wrapper Pattern in Puppet 4

02/28/2016

One tends to need to wrap resources quite often in Puppet and prior to Puppet 4 this was extremely annoying and resulted in a high maintenance burden, but in Puppet 4 this has significantly improved so I thought I’ll write a quick post about that. Why wrap resources? The example I’ll show here is going Read More

Puppet 4 data lookup strategies

02/03/2016

I recently wrote about the new Data in Modules support in Puppet 4, there’s another new feature that goes hand in hand with this to finally rid us of functions like hiera_hash() and such. Up to now we’ve had to do something ugly like this to handle merged class parameters: class users($local = hiera_hash("users::local", {}) Read More

Native Puppet 4 Data in Modules

01/08/2016

Back in August 2012 I requested an enhancement to the general data landscape of Puppet and a natural progression on the design of Hiera to enable it to be used in modules that are shared outside of your own environments. I called this Data in Modules. There was lots of community interest in this but Read More

Newer Posts
Older Posts