Use a method for Chef::Node#name and Chef::Node#chef_environment, not a attribute.