Adds error checking when puppet fails internally
Adds error checking when puppet fails internally

Adds regular expressions to the puppet error
check for the case in which the puppet
installation is broken.

Change-Id: Ic0da9605bdc7169d94ed43620ed2f5e6292301e4
Fixes: rhbz#958587

harveyzh/packstack,openstack/packstack,xbezdick/packstack,imcsk8/packstack,fr34k8/packstack,mahak/packstack,xbezdick/packstack,stackforge/packstack,palmer159/openstack-test,imcsk8/packstack,openstack/packstack,harveyzh/packstack,stackforge/packstack,fr34k8/packstack,mahak/packstack,fr34k8/packstack,stackforge/packstack,imcsk8/packstack,openstack/packstack,larsks/packstack,palmer159/openstack-test,harveyzh/packstack,mahak/packstack,larsks/packstack,larsks/packstack,xbezdick/packstack,palmer159/openstack-test