Few changes, display error when puppet installation failed.