Is it possible that node.set is no longer an alias for node.default.set in a recipe? I've been having some of my own struggles recently with attributes but I've always operated on the idea that you have to use .set in a recipe if the attr is not previously defined.
So the next thing I'd try is just node.default.set if you have not previously defined the attribute elsewhere.
Ok- no go on either suggestion.Using .default had no effect and the second idea resulted in:FATAL: NoMethodError: Undefined node attribute or method `push' on `node'
Any other ideas?Yonahcould try this also perhaps:
node.set['ipf_rules'][i]['src_nets'].delete(src_net)
which chef version?try node.default instead of node.set or node.override?i think there is more to it but thats' what came to mind first.Hi,
Archive powered by MHonArc 2.6.16.