docker-puppet.py fail if any worker fails
authorSteve Baker <sbaker@redhat.com>
Thu, 9 Mar 2017 02:19:59 +0000 (02:19 +0000)
committerSteve Baker <sbaker@redhat.com>
Thu, 9 Mar 2017 02:22:10 +0000 (02:22 +0000)
commitaf03e4d34bffcabd26e72eb85137b91f348ee2cb
tree6562664e21482be421980bbf585ce0ae65ba2564
parenta1b3e2ee756b2957118c65cab83814461cce1b07
docker-puppet.py fail if any worker fails

Currently returncodes are ignored from docker puppet workers, so a
failed puppet apply may not manifest until later in the stack
deployment due to some other failure.

This change logs any failures at the end of the run and returns a
failure code if any worker returns a failure code.

Change-Id: I6a504dbeb4c0ac465ce10e7647830524fe0a1160
docker/docker-puppet.py