use node.set to resolve Chef 11 immutable attributes

While OpsWorks uses Chef 0.9, users may wish to reuse the cookbooks with newer versions of Chef. In Chef 11, node attributes are immutable, and assignment requires using a priority setting method. I used `Chef::Node#set` here as it is the same thing as Chef 0.9's behavior.