Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
kandra: Match the logic in zulip::profile::postgresql.
Alex Vandiver49e5722a9f4b
diff --git a/puppet/kandra/manifests/profile/postgresql.pp b/puppet/kandra/manifests/profile/postgresql.ppindex e6dda4fecae..ba639311fd5 100644--- a/puppet/kandra/manifests/profile/postgresql.pp+++ b/puppet/kandra/manifests/profile/postgresql.pp@@ -36,7 +36,8 @@ class kandra::profile::postgresql inherits kandra::profile::base {# This is the second stage, after secrets are configured$replication_primary = zulipconf('postgresql', 'replication_primary', undef)- if $replication_primary != undef {+ $replication_user = zulipconf('postgresql', 'replication_user', undef)+ if $replication_primary != undef and $replication_user != undef {file { '/root/setup_data.sh':ensure => file,owner => 'root',