puppet: Allow profiles to override zulip_ops::profile::base.

This commit is contained in:
Alex Vandiver 2024-02-02 09:08:49 -05:00 committed by Tim Abbott
parent a0e7f1296f
commit d910ea27fe
13 changed files with 24 additions and 26 deletions

View File

@ -1,9 +1,8 @@
class zulip_ops::profile::chat_zulip_org {
class zulip_ops::profile::chat_zulip_org inherits zulip_ops::profile::base {
include zulip::profile::standalone
include zulip::postfix_localmail
include zulip::hooks::sentry
include zulip_ops::profile::base
include zulip_ops::app_frontend_monitoring
include zulip_ops::prometheus::redis
include zulip_ops::prometheus::postgresql

View File

@ -1,7 +1,7 @@
# @summary Observability using Grafana
#
class zulip_ops::profile::grafana {
include zulip_ops::profile::base
class zulip_ops::profile::grafana inherits zulip_ops::profile::base {
include zulip::supervisor
$version = $zulip::common::versions['grafana']['version']

View File

@ -1,5 +1,5 @@
class zulip_ops::profile::munin_server {
include zulip_ops::profile::base
class zulip_ops::profile::munin_server inherits zulip_ops::profile::base {
include zulip_ops::apache
include zulip::supervisor

View File

@ -1,5 +1,5 @@
class zulip_ops::profile::nagios {
include zulip_ops::profile::base
class zulip_ops::profile::nagios inherits zulip_ops::profile::base {
include zulip_ops::apache
zulip::ssh_keys { 'nagios': }

View File

@ -1,5 +1,5 @@
class zulip_ops::profile::postgresql {
include zulip_ops::profile::base
class zulip_ops::profile::postgresql inherits zulip_ops::profile::base {
include zulip::profile::postgresql
include zulip_ops::teleport::db
include zulip_ops::prometheus::postgresql

View File

@ -1,5 +1,4 @@
class zulip_ops::profile::prod_app_frontend {
include zulip_ops::profile::base
class zulip_ops::profile::prod_app_frontend inherits zulip_ops::profile::base {
include zulip_ops::app_frontend
include zulip::hooks::zulip_notify

View File

@ -2,8 +2,8 @@
#
# Only one instance is necessary.
#
class zulip_ops::profile::prometheus_server {
include zulip_ops::profile::base
class zulip_ops::profile::prometheus_server inherits zulip_ops::profile::base {
include zulip_ops::prometheus::base
# This blackbox monitoring of the backup system runs locally

View File

@ -1,5 +1,5 @@
class zulip_ops::profile::smokescreen {
include zulip_ops::profile::base
class zulip_ops::profile::smokescreen inherits zulip_ops::profile::base {
include zulip::profile::smokescreen
zulip_ops::firewall_allow { 'smokescreen': port => '4750' }

View File

@ -1,5 +1,5 @@
class zulip_ops::profile::staging_app_frontend {
include zulip_ops::profile::base
class zulip_ops::profile::staging_app_frontend inherits zulip_ops::profile::base {
include zulip_ops::app_frontend
file { '/etc/nginx/sites-available/zulip-staging':

View File

@ -1,5 +1,5 @@
class zulip_ops::profile::teleport {
include zulip_ops::profile::base
class zulip_ops::profile::teleport inherits zulip_ops::profile::base {
file { '/etc/teleport_server.yaml':
owner => 'root',

View File

@ -1,5 +1,5 @@
class zulip_ops::profile::zmirror {
include zulip_ops::profile::base
class zulip_ops::profile::zmirror inherits zulip_ops::profile::base {
include zulip::supervisor
$zmirror_packages = [# Packages needed to run the mirror

View File

@ -1,5 +1,5 @@
class zulip_ops::profile::zmirror_personals {
include zulip_ops::profile::base
class zulip_ops::profile::zmirror_personals inherits zulip_ops::profile::base {
include zulip::supervisor
$zmirror_packages = [# Packages needed to run the mirror

View File

@ -1,5 +1,5 @@
class zulip_ops::profile::zulipbot_zulip_org {
include zulip_ops::profile::base
class zulip_ops::profile::zulipbot_zulip_org inherits zulip_ops::profile::base {
zulip_ops::firewall_allow { 'http': }
zulip_ops::firewall_allow { 'https': }