chef environment is a method not attribute