attr.clear not supported in chef 10.+. Removed.