replace bash with some chef blocks