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 hash2resource

  • 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