zulip/scripts/lib
Alex Vandiver 9c0fd632bb installer: Use `puppet --write-catalog-summary` to determine classes.
Using checks of `,$PUPPET_CLASSES,` is repetitive and error-prone; it
does not properly deal with `zulip_ops::` classes, for instance, which
include the `zulip::` classes.

As alluded to in ca9d27175b, this can be fixed by inspecting the
classes that would be applied, using `puppet --write-catalog-summary`.
We work around the chicken-and-egg problem alluded to therein by
writing out as complete `zulip.conf` as would be necessary, before
running puppet and removing the sections we then know to not be
needed.

Unfortunately, there are two checks for `$PUPPET_CLASSES` which cannot
be switched to this technique, as they concern errors that we wish to
catch quite early, and thus before we have puppet installed.  Since we
expect failures of those to only concern warnings, and only be
mistakenly omitted for internal `zulip_ops::` classes, this seems a
reasonable risk to admit in exchange for catching common errors early.
2020-07-01 15:07:51 -07:00
..
third install-yarn: Fix buggy status check for the signature. 2018-04-09 15:09:37 -07:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
build-pgroonga provision: Added provision support for Ubuntu 20.04(Focal). 2020-03-17 14:57:14 -07:00
certbot-maybe-renew certbot: Switch to use certbot from apt. 2020-06-08 21:59:29 -07:00
check_rabbitmq_queue.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
clean-unused-caches python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
clean_emoji_cache.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
clean_node_cache.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
clean_venv_cache.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
create-production-venv python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
create-thumbor-venv python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
email-mirror-postfix email-mirror-postfix: Handle 8-bit messages correctly. 2020-06-14 20:24:06 -07:00
hash_reqs.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
install installer: Use `puppet --write-catalog-summary` to determine classes. 2020-07-01 15:07:51 -07:00
install-node install-node: Upgrade Node.js to 12.18.0. 2020-06-07 11:06:57 -07:00
node_cache.py python: Convert percent formatting to "".format in certain files. 2020-06-14 23:27:22 -07:00
pythonrc.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
queue_workers.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
setup-apt-repo installer: Remove code specific to stretch or xenial. 2020-06-24 12:57:38 -07:00
setup-apt-repo-debathena installer: Remove code specific to stretch or xenial. 2020-06-24 12:57:38 -07:00
setup-yum-repo setup-yum-repo: Update url of postgresql rpm repo. 2020-06-08 11:26:07 -07:00
setup_path.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
setup_venv.py python: Convert percent formatting to "".format in certain files. 2020-06-14 23:27:22 -07:00
sharding.py python: Convert more "".format to Python 3.6 f-strings. 2020-06-13 15:39:00 -07:00
unpack-zulip python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
upgrade-zulip python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
upgrade-zulip-from-git python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
upgrade-zulip-stage-2 upgrade: Don't prompt in the second apt-get upgrade. 2020-06-26 16:16:12 -07:00
zulip_tools.py settings: Split hostname from port more carefully. 2020-06-29 22:19:47 -07:00