[chef] Conversion of ruby roles to json


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Conversion of ruby roles to json
  • Date: Fri, 18 Feb 2011 23:04:24 -0800 (PST)

Just sharing a Rake task I created for converting roles in rb form to json
form.

https://gist.github.com/834890

(Why, you ask? Well, I find the ruby dsl is much more readable and writable
than the json file. The ruby files are good for everything on the platform, 
but
I'm testing my chef recipes and roles using vagrant with chef solo, which 
seems
to require json files (json is only created when you upload to server)

all the best

Tim


  • [chef] Conversion of ruby roles to json, tim, 02/18/2011

Archive powered by MHonArc 2.6.16.

§