Fail docker build if puppet fails

Puppet does not return non-zero exit code if
there are errors during deployment.

FIXME: Cobbler has iptables bugs. Implement at future date.

Change-Id: I86834cb62beac981e8c3defb8b2d90bafafb84b6
Closes-Bug: #1337288
Merge "Fail docker build if puppet fails"