mirror of https://github.com/zulip/zulip.git
kandra: Match the logic in zulip::profile::postgresql.
This commit is contained in:
parent
9e58780d46
commit
49e5722a9f
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue