puppet: Split out a zulip::profile::standalone_nodb class.

This commit is contained in:
Alex Vandiver
2024-04-04 18:54:35 +00:00
committed by Tim Abbott
parent 263212decf
commit a69e690122
4 changed files with 46 additions and 38 deletions

View File

@@ -1,17 +1,21 @@
# @summary Complete Zulip server on one server
#
# This class includes all the modules you need to run an entire Zulip
# installation on a single server. If desired, you can split up the
# different `zulip::profile::*` components of a Zulip installation on
# different servers by using the modules below on different machines
# (the module list is stored in `puppet_classes` in
# /etc/zulip/zulip.conf). See the corresponding configuration in
# /etc/zulip/settings.py for how to find the various services is also
# required to make this work.
# different `zulip::profile::*` components of a Zulip installation
# onto different servers:
#
# - zulip::profile::app_frontend
# - zulip::profile::memcached
# - zulip::profile::postgresql
# - zulip::profile::rabbitmq
# - zulip::profile::redis
# - zulip::profile::smokescreen
#
# See the corresponding configuration in /etc/zulip/settings.py for
# how to find the various services is also required to make this work.
class zulip::profile::standalone {
include zulip::profile::base
include zulip::profile::app_frontend
include zulip::profile::standalone_nodb
include zulip::profile::postgresql
include zulip::profile::redis
include zulip::profile::memcached
include zulip::profile::rabbitmq
include zulip::localhost_camo
}

View File

@@ -0,0 +1,16 @@
# @summary Complete Zulip server, except the database server.
#
# This includes all of the parts necessary to run an entire Zulip
# installation on a single server, except the database. It is assumed
# that the PostgreSQL database is either hosted on another server with
# the `zulip::profile::postgresql` class applied, or a cloud-managed
# database is used (e.g. AWS RDS).
#
# @see https://zulip.readthedocs.io/en/latest/production/deployment.html#using-zulip-with-amazon-rds-as-the-database
class zulip::profile::standalone_nodb {
include zulip::profile::app_frontend
include zulip::profile::memcached
include zulip::profile::rabbitmq
include zulip::profile::redis
include zulip::localhost_camo
}