7341: run-deploy.sh retries failed Puppet agent runs. 7341-deploy-retries-puppet-agent-wip
authorBrett Smith <brett@curoverse.com>
Wed, 14 Oct 2015 22:18:58 +0000 (18:18 -0400)
committerBrett Smith <brett@curoverse.com>
Thu, 15 Oct 2015 12:14:54 +0000 (08:14 -0400)
commitf4d018c979b333d61fed9b1884d7edab540f3c1a
tree2ecca16170bbec792650daf1b00fc2466a37a804
parentd3f13c19bdc7b2efe160c66116461faf865fed4e
7341: run-deploy.sh retries failed Puppet agent runs.

It simply keeps retrying any failure until ten minutes have passed,
per Nico's suggestion in the comments.

Bonus bugfix: make sure run_puppet's ECODE variable gets set to the
exit status of Puppet (or the wrapper script), and not tee.
jenkins/run-deploy.sh