Adding node default attribute from custom resource is not visible from cookbook


#1

Hi guys,
I have a problem,

My cookbooks are

a
default.rb
b
resources
resolv

I execute resolv from a:default

resolv - resolves ip address and writes it to node.default[“ip”] = ip_address

after I execute resolv, I try to access node[“ip”], but it’s blank.

Any thoughts?

Thanks