CHEF-3784: fix deprecation warning when setting a node attribute.