mitchellh/vagrant — pull request #1180 by carlossg (2012-10-11 09:15:39+00:00)
Title: Check exit codes of puppet provisioners

Backport of https://github.com/mitchellh/vagrant/pull/1175 to 1-0-stable

Previously, failures in applying the puppet manifests would be
ignored, because puppet apply/agent don't have any useful exit codes
by default. (Errors are printed, but vagrant continues.)

Use the option --detailed-exitcodes of puppet apply/agent to check for
success.