zulip/scripts
Alex Vandiver 3314fefaec puppet: Do not require a venv for zulip-puppet-apply.
0663b23d54 changed zulip-puppet-apply to
use the venv, because it began using `yaml` to parse the output of
puppet to determine if changes would happen.

However, not every install ends with a venv; notably, non-frontend
servers do not have one.  Attempting to run zulip-puppet-apply on them
hence now fails.

Remove this dependency on the venv, by installing a system
python3-yaml package -- though in reality, this package is already an
indirect dependency of the system.  Especially since pyyaml is quite
stable, we're not using it in any interesting way, and it does not
actually add to the dependencies, it is preferable to parsing the YAML
by hand in this instance.
2021-03-14 17:50:57 -07:00
..
lib puppet: Do not require a venv for zulip-puppet-apply. 2021-03-14 17:50:57 -07:00
nagios python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup puppet: Add ksplice uptrack for kernel hotpatches. 2021-02-25 18:05:47 -08:00
README.md cleanup: Delete trailing newlines. 2019-08-06 23:29:11 -07:00
__init__.py
get-django-setting python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
purge-old-deployments python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
refresh-sharding-and-restart puppet: Generate sharding in puppet, then refresh-sharding-and-restart. 2020-09-14 16:27:15 -07:00
restart-server python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
upgrade-zulip Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
upgrade-zulip-from-git Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
zulip-puppet-apply puppet: Do not require a venv for zulip-puppet-apply. 2021-03-14 17:50:57 -07:00

README.md

This directory contains scripts that:

  • Generally do not require access to Django or the database (those are "management commands"), and thus are suitable to run operationally.

  • Are useful for managing a production deployment of Zulip (many are also used in a Zulip development environment, though development-only scripts live in tools/).

For more details, see https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.