From your stackoverflow question I would say you are having issues because you are accessing the attributes using dot notation. Try:
config = node[‘myapp’][‘config’].to_hash
Software Development Engineer, Opscode, Inc.
IRC, Skype, Twitter, Github: schisamo
On Feb 6, 2013, at 3:54 PM, email@example.com
I’ve been wrestling with this issue ever since we got auto-upgraded to Chef 11,
and I can’t find a good solution. How do I recursively convert an attribute
into an ordinary ruby hash? I’ve posted a better description of the problem on
I would love any pointers here!