raisePuppet::Error,"Catalog environment didn't stabilize after #{tries} fetches, aborting run"
end
Puppet.warning"Local environment: \"#{@environment}\" doesn't match server specified environment \"#{catalog.environment}\", restarting agent run with new environment"