Update attribute assignment to comply with chef 11