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.

kandra: Remove PostgreSQL upgrade key.

Alex Vandiver47238ed74ca8
diff --git a/puppet/kandra/manifests/profile/postgresql.pp b/puppet/kandra/manifests/profile/postgresql.pp
index 93e6d6ff72b..f1ef073250d 100644
--- a/puppet/kandra/manifests/profile/postgresql.pp
+++ b/puppet/kandra/manifests/profile/postgresql.pp
@@ -53,13 +53,6 @@ class kandra::profile::postgresql inherits kandra::profile::base {
before => File["${zulip::postgresql_base::postgresql_datadir}/standby.signal"],
notify => Exec[$zulip::postgresql_base::postgresql_restart],
}
- Kandra::User_Dotfiles['root'] {
- authorized_keys => ['common', 'postgres-upgrade'],
- }
- } else {
- Kandra::User_Dotfiles['root'] {
- keys => ['internal-read-only-deploy-key', 'postgres-upgrade'],
- }
}
file { "${zulip::postgresql_base::postgresql_confdir}/pg_hba.conf":
diff --git a/puppet/kandra/manifests/profile/prod_app_frontend.pp b/puppet/kandra/manifests/profile/prod_app_frontend.pp
index d9b8a03e527..8b678f6dbda 100644
--- a/puppet/kandra/manifests/profile/prod_app_frontend.pp
+++ b/puppet/kandra/manifests/profile/prod_app_frontend.pp
@@ -6,8 +6,7 @@ class kandra::profile::prod_app_frontend inherits kandra::profile::base {
keys => 'internal-limited-write-deploy-key',
}
Kandra::User_Dotfiles['zulip'] {
- keys => 'internal-limited-write-deploy-key',
- authorized_keys => ['common', 'postgres-upgrade-only-supervisor'],
+ keys => 'internal-limited-write-deploy-key',
}
zulip::sysctl { 'conntrack':
diff --git a/puppet/kandra/manifests/profile/staging_app_frontend.pp b/puppet/kandra/manifests/profile/staging_app_frontend.pp
index 753eb5a8bfc..4ceebea7847 100644
--- a/puppet/kandra/manifests/profile/staging_app_frontend.pp
+++ b/puppet/kandra/manifests/profile/staging_app_frontend.pp
@@ -2,10 +2,6 @@ class kandra::profile::staging_app_frontend inherits kandra::profile::base {
include kandra::app_frontend
- Kandra::User_Dotfiles['zulip'] {
- authorized_keys => ['common', 'postgres-upgrade-only-supervisor'],
- }
-
file { '/etc/nginx/sites-available/zulip-staging':
ensure => file,
require => Package['nginx-full'],