Updated attribute assignment to be chef 11 compatible