Quantcast
Browsing all 77 articles
Browse latest View live

Puppet Lint Plugins - 2.0 Upgrade and new repo

After the recentpuppet-lint 2.0 release and the success of our puppet-lint 2.0 upgrade at work it felt like the right moment to claw some time back and update my own (11!) puppet-lint plugins to allow...

View Article


Removing 'magic numbers' and times from your Puppet manifests

In a large Puppet code base you’ll eventually end up with a scattering of time based ‘magic numbers‘ such as cache expiry numbers, zone file ttls and recurring job schedules. You’ll typically find...

View Article


Announcing multi_epp - Puppet function

As part of refreshing my old puppet modules I’ve started to convert some of my Puppet templates from the older ERB format to the newer, and hopefully safer,Embedded Puppet (EPP).While it’s been a...

View Article

Image may be NSFW.
Clik here to view.

Testing multiple Puppet versions with TravicCI (and allowing failures)

When it comes to running automated tests of my public Puppet codeTravisCI has long been my favourite solution. It’s essentially a zero infrastructure, second pair of eyes, on all my changes. It also...

View Article

Image may be NSFW.
Clik here to view.

Managing multiple puppet modules with modulesync

With the exception of children, puppies and medical compliance frameworks managing one of something is normally much easier than managing a lot of them. If you have a lot of puppet modules, and you’ll...

View Article


Stand Alone Puppet

While Puppet can be used to manage large, complex environments it’s also a useful tool at the lower end of the spectrum. Using just the puppet executable and a small inline class or two you can write...

View Article

Simplifying File Permissions in Puppet Manifests

I’ve been a user of Puppet for about three years now and while on a recent dig in to some of my older classes it was a little embarrassing to see lots of file types used like this: file {...

View Article

MCollective Plugin - FileMD5er

I’ve been watching the Marionette Collective for a while, and even gave it a small trial in a couple of testing environments, but this weekend was the first time I’ve experimented with it at a slightly...

View Article


Puppet CookBook is live

Between Xmas and New Year I had some spare time to invest on a side project I’ve been looking forward to working on for quite a while. I’m pleased to announce the opening of the Puppet CookBook. I’ve...

View Article


Clarifying With Facter

While adopting a configuration management tool like Chef and Puppet will have a large, nearly immediate, effect on your work flow even after using the tools for a while you’ll still get a little smile...

View Article

Reusing Puppets Package providers

One of puppets more under-appreciated features is its ability to abstract and smooth the edges of certain operating system tasks and behaviours. Even something as trivial as installing a package can...

View Article

Find Unpuppeted SSH Keys

It all started with one of those annoying little items on the todo list find all the unpuppeted ssh authorized_keys files on a machine and alert on them. On first impressions it was going to be quite...

View Article

Puppet Cucumber Providers

At work we try, and sometimes even succeed, in using Test Driven Deployment so as one of my background projects I’ve been wrapping certaintools in to cucumber friendly forms. Over the last couple of...

View Article


Nagios Wrapped Puppet Runs

<tl;dr>Log nrpe-runner state changes when puppet runs to see what broke or was fixed.</tl;dr> While people most often use puppet to configure and repair their infrastructures sometimes they...

View Article

Listing Puppet Managed Files

Sometimes it’s the little niggles that annoy people the most. As my team progress in to puppet they have an annoying habit of asking very good questions; which can sometimes be a struggle to answer....

View Article


Smarter Service Status in Puppet

While most people know you can use puppet to ensure a service is running the mechanism it uses to determine if a service is actually running is often unexplored. By default (at least up to Puppet 2.6)...

View Article

Simple Puppet module grepper (prototype)

<tl;dr> Search for puppet resources values using puppet, not just plain text</tl;dr> One of the ideas that has been sitting on my todo list is having a command that lets me grep a puppet...

View Article


Prettier Puppet with Pocco

Back in October Nan Liu announced “pocco - a puppet manifest documentation experiment" as a way of generating much nicer looking documentation for puppet classes (you can see an example and reducing...

View Article

Puppet Camp - Ghent 2013

It’s been a while since I’ve attended a Puppet Camp but considering the quality of the last one (organised by Patrick Debois) and the fact it was being held in the lovely city of Ghent again I thought...

View Article

Deprecation Warnings From Puppet Resources

Over time parts of your puppet manifests will become unneeded. You might move a cronjob or a users in to a package or no longer need a service to be enabled after a given release. I’ve recently had...

View Article
Browsing all 77 articles
Browse latest View live