Affects Version/s: 0.8.10
Fix Version/s: None
Component/s: Chef Client
Sometimes, when requesting a value for an attribute, I get back a Chef::Node::Attribute instead of the value I expect. I've caught it in a debug session. For some reason, calling #to_hash on the parent object causes the issue to flatten out.
The bug is causing "#<Chef::Node::Attribute:0x4548dd8>" to appear in my erb templates, instead of "production" as I would expect.
Here is a screenshot of the attributes as seen in chef-server for this node:
Nothing looks abnormal.