zulip/scripts
Tim Abbott 12028339a3 puppet: Use --detailed-exitcodes to return nonzero exit code on failure.
Apparently, puppet has messed up exit codes and doesn't by default
return the usual 0=success, nonzero=failure codes.  By default, it
seems to always return 0; and with `--detailed-exitcodes`, it returns
the complicated thing documented in the comments.

We fix this by checking the exit code and translating it to what we
actually care about, namely whether errors occurred.

See https://tickets.puppetlabs.com/browse/PUP-2754 for details.

Fixes #1094.
2016-07-08 12:11:44 -07:00
..
lib Extract reply from email. 2016-07-08 10:58:25 -07:00
nagios Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
setup Activate virtualenv in production Python code. 2016-06-27 19:55:35 -07:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
get-django-setting Activate virtualenv in production Python code. 2016-06-27 19:55:35 -07:00
purge-old-deployments Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
restart-server Replace python2.7 by python everywhere. 2016-05-29 05:03:08 -07:00
upgrade-zulip Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
zulip-puppet-apply puppet: Use --detailed-exitcodes to return nonzero exit code on failure. 2016-07-08 12:11:44 -07:00