mirror of https://github.com/zulip/zulip.git
puppet: Fix the PostgreSQL paths to recovery.conf / standby.conf.
This commit is contained in:
parent
3be023911b
commit
9e850b08f3
|
@ -49,7 +49,7 @@ class zulip::profile::postgresql {
|
||||||
}
|
}
|
||||||
if $zulip::postgresql_common::version in ['10', '11'] {
|
if $zulip::postgresql_common::version in ['10', '11'] {
|
||||||
# PostgreSQL 11 and below used a recovery.conf file for replication
|
# PostgreSQL 11 and below used a recovery.conf file for replication
|
||||||
file { "${zulip::postgresql_base::postgresql_confdir}/recovery.conf":
|
file { "${zulip::postgresql_base::postgresql_datadir}/recovery.conf":
|
||||||
ensure => file,
|
ensure => file,
|
||||||
require => Package[$zulip::postgresql_base::postgresql],
|
require => Package[$zulip::postgresql_base::postgresql],
|
||||||
owner => 'postgres',
|
owner => 'postgres',
|
||||||
|
@ -60,7 +60,7 @@ class zulip::profile::postgresql {
|
||||||
} else {
|
} else {
|
||||||
# PostgreSQL 12 and above use the presence of a standby.signal
|
# PostgreSQL 12 and above use the presence of a standby.signal
|
||||||
# file to trigger replication
|
# file to trigger replication
|
||||||
file { "${zulip::postgresql_base::postgresql_confdir}/standby.signal":
|
file { "${zulip::postgresql_base::postgresql_datadir}/standby.signal":
|
||||||
ensure => file,
|
ensure => file,
|
||||||
require => Package[$zulip::postgresql_base::postgresql],
|
require => Package[$zulip::postgresql_base::postgresql],
|
||||||
owner => 'postgres',
|
owner => 'postgres',
|
||||||
|
|
Loading…
Reference in New Issue