puppet: Fix the PostgreSQL paths to recovery.conf / standby.conf.

This commit is contained in:
Alex Vandiver 2022-03-16 14:08:23 -07:00 committed by Tim Abbott
parent 3be023911b
commit 9e850b08f3
1 changed files with 2 additions and 2 deletions

View File

@ -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',