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 erb

  • 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…

© 2010-2026 Oliver Hookins and Angela Collins