cleaned up attribute assignment for Chef 11 compatibility