adrift on a cosmic ocean

Writings on various topics (mostly technical) from Oliver Hookins and Angela Collins. We currently reside in Sydney after almost a decade in Berlin, have three kids, and have far too little time to really justify having a blog.

Posts tagged with puppet

  • Another transition
    Posted by Oliver on the 10th of August, 2012 in category Tech

    A couple of things of note have happened recently. Firstly, I managed to conquer the #10-level Currywurst at Curry & Chili, rated at a (literally) eye-watering 7.7 million Scovilles - not a performance I care to repeat. Secondly, I recently changed employer from Nokia to SoundCloud. This is a big change for me, and in some ways hard since it was working with Nokia that allowed me to anchor here in…

  • More on Puppet module unit-testing
    Posted by Oliver on the 19th of June, 2012 in category Tech

    I've previously made presentations and blog posts about Puppet and module testing - my position is that you should treat Puppet code as just that: code. Just like mainstream programming languages, it is possible (and good practice) to test your Puppet manifests so that you have higher confidence in them working when it comes time to actually run them.

    There are some other factors which play a part…

  • Puppetmaster performance tuning with mod_mem_cache
    Posted by Oliver on the 7th of April, 2012 in category Tech

    It has been quite a while since I've had anything sufficiently detailed or interesting to post on a technical theme so it was quite a welcome divergence from the usual sprint work recently when we started having some Puppet performance issues. First up, like most people working at big corporations I can't give you any figures that might give away numbers of servers or anything else sensitive but…

  • How we use Vagrant as a throwaway testing environment
    Posted by Oliver on the 31st of May, 2011 in category Tech

    As I mentioned in my presentation at PuppetCamp, one of the goals of our Puppet code testing was to run Puppet Faces-style compile tests on all of our modules. Since this requires a somewhat realistic deployment environment, a clean system, and our modules to be installed as packages (since that's how we are distributing our own modules) it makes sense to run this stage in a throwaway virtual…

  • Video of talk from Puppet Camp 2011 Amsterdam
    Posted by Oliver on the 20th of May, 2011 in category Tech
  • How we use cucumber-puppet
    Posted by Oliver on the 16th of May, 2011 in category Tech

    I got a question recently by email in followup to my presentation at Puppet Camp in Amsterdam about how we use cucumber-puppet. I touched on the subject only briefly in my talk but what I did say is that it revolutionised my approach to Puppet in general. Don't get too high an opinion of the tool from that statement! Behaviour-driven development in general was a new thing to me and did change my…

  • reblog: Modeling Class Composition With Parameterized Classes
    Posted by Oliver on the 11th of May, 2011 in category Tech

    http://www.puppetlabs.com/blog/modeling-class-composition-with-parameterized-classes/

    I'd like to point out a fine blog post by Dan Bode on parametrised class theory and application. No surprises, I've done a lot of work with Dan and our new Puppet implementations reflect this, but I find it to be a very logical way of working.

  • CI and Vagrant SSH sessions
    Posted by Oliver on the 8th of May, 2011 in category Tech

    If you saw my talk in Amsterdam or read my slides (or even work with me, ) you would know that one of my stages of Puppet module testing is compile tests using Puppet Faces (at least, a pre-release version of it since we started using it a while ago). I'm just putting the finishing touches on the system so that it uses dynamically provisioned VMs using Vagrant and one of the slightly fiddly bits…

  • PuppetCamp 2011 Amsterdam Talk
    Posted by Oliver on the 29th of April, 2011 in category Tech

    If you made it to my talk, I hope you enjoyed it. If not, then maybe next time! Either way, I've uploaded my slides which are available here.

    If I forgot your name, your face, or just totally forgot who you are I apologise, and similarly if I didn't introduce myself when I was standing right next to you - I'm a terribly shy person at heart so I probably didn't have the guts to interrupt your…

  • Puppet Dev Training / Camp @ Amsterdam
    Posted by Oliver on the 25th of April, 2011 in category Tech

    I'm currently at the Puppet Developer course at Beurs van Berlage in Amsterdam. We drove up on Friday from Berlin (which should have taken 6 hours, but due to traffic jams and sanity stops it took almost 11 hours). We've now spent the weekend exploring Amsterdam, which is an amazing looking city. The canals are breathtaking, and despite the frenzied bicycles and scooters constantly whizzing past…

  • Did you know...
    Posted by Oliver on the 7th of April, 2011 in category Thoughts

    that if you pass a Ruby symbol through the Puppet external node classifier interface, through a parametrised class and into an ERB template, it will arrive (relatively) unscathed? OK not really, but the special undef Puppet symbol does.

    ENC says: myvariable: :undef

    Puppet interprets it as a standard undef (which is internally represented as Puppet::Parser::AST::Undef).

    When passed through to an ERB template, it again arrives as the symbol form :undef…

  • Presenting at Puppet Camp 2011 Amsterdam!
    Posted by Oliver on the 3rd of April, 2011 in category Tech

    I'm giving another talk at Puppet Camp in Amsterdam, which incidentally will also be a totally awesome event. If you have not already signed up, and you are able to weasel your way into getting management approval then please try to get to it!

    I'll also be attending the Puppet Dev course in the preceding days, which I'm looking forward to immensely. The whole family is driving up (well, I'll be…

  • In-depth testing with Mocha
    Posted by Oliver on the 25th of February, 2011 in category Tech

    I've recently been satisfying my need for more programming time and reading up on some of the aspects which really complete a good application, like adequate organisation, good design and reusability of library functions, error handling and of course testing. I've been using Cucumber for a while now in conjunction with Puppet which represents the BDD aspect, but haven't really delved into TDD…

  • Proposal for talk at DevOpsDays Boston!
    Posted by Oliver on the 25th of January, 2011 in category Tech

    My proposal is up on the DevOpsDays website, please comment and vote on it!

  • Puppet class API verification and testing
    Posted by Oliver on the 20th of January, 2011 in category Tech

    I've been working recently on building up a more reliable, predictable Puppet infrastructure. I'm not a developer at heart, but I've been trying very hard to apply software development principles to what I do, since generally configuration management and software deployment is becoming more and more just another software problem. One of the end goals of the system I am building is to have a pretty…

  • Puppet - create a resource within a function using hash2resource
    Posted by Oliver on the 26th of October, 2010 in category Tech

    I searched everywhere for an example of this but couldn't find one, so I stumbled through and got it working myself and am documenting it here in case it ever shows up on Google and helps someone. The premise is: you have some crazy variables that you want to turn into resources of some kind, but there's no way to do it using the declarative methods within Puppet. Most notably lacking is usually…

© 2010-2026 Oliver Hookins and Angela Collins