/ Published in: Ruby
It's necessary to do this for each of automaticattrs, overrideattrs, normalattrs and defaultattrs
Expand |
Embed | Plain Text
node.automatic_attrs[:foo].delete(:bar) rescue nil
Comments
Subscribe to comments
You need to login to post a comment.

in chef 0.8 you can do : node.attribute[:foo].delete(:bar)