Use correct node attributes for Chef 11

Chef 11 changes the way attributes are accessed and set in a breaking
way. This fixes the places where we overwrite attributes in the recipes
for use with the `required_attributes` cookbook.