Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Move zulip_ops::profile::postgres_appdb to postgresql.

Alex Vandivere7798d2797a2
diff --git a/docs/production/export-and-import.md b/docs/production/export-and-import.md
index b28a1e66327..b685d17cc2b 100644
--- a/docs/production/export-and-import.md
+++ b/docs/production/export-and-import.md
@@ -232,7 +232,7 @@ that they are up to date using the Nagios plugin at:
Zulip has database configuration for using Postgres streaming
replication. You can see the configuration in these files:
-* `puppet/zulip_ops/manifests/profile/postgres_appdb.pp`
+* `puppet/zulip_ops/manifests/profile/postgresql.pp`
* `puppet/zulip_ops/files/postgresql/*`
We use this configuration for Zulip Cloud, and it works well in
diff --git a/puppet/zulip/manifests/profile/postgresql.pp b/puppet/zulip/manifests/profile/postgresql.pp
index 05237260047..e504536bfec 100644
--- a/puppet/zulip/manifests/profile/postgresql.pp
+++ b/puppet/zulip/manifests/profile/postgresql.pp
@@ -1,5 +1,4 @@
-# postgres_appdb_tuned extends postgres_appdb_base by automatically
-# generating tuned database configuration.
+# @summary Extends postgresql_base by tuning the configuration.
class zulip::profile::postgresql {
include zulip::profile::base
include zulip::postgresql_base
diff --git a/puppet/zulip_ops/manifests/profile/postgres_appdb.pp b/puppet/zulip_ops/manifests/profile/postgresql.pp
similarity index 96%
rename from puppet/zulip_ops/manifests/profile/postgres_appdb.pp
rename to puppet/zulip_ops/manifests/profile/postgresql.pp
index ab4bfcc0b96..599f11f6d82 100644
--- a/puppet/zulip_ops/manifests/profile/postgres_appdb.pp
+++ b/puppet/zulip_ops/manifests/profile/postgresql.pp
@@ -1,4 +1,4 @@
-class zulip_ops::profile::postgres_appdb {
+class zulip_ops::profile::postgresql {
include zulip_ops::profile::base
include zulip::profile::postgresql
include zulip::postgresql_backups