kandra: Ensure that pg_hba.conf is in place before starting PostgreSQL.

This commit is contained in:
Alex Vandiver 2024-04-17 19:52:21 +00:00 committed by Tim Abbott
parent 311dfdaa38
commit a8dbdd6d92
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class kandra::profile::postgresql inherits kandra::profile::base {
file { "${zulip::postgresql_base::postgresql_confdir}/pg_hba.conf":
ensure => file,
require => Package["postgresql-${zulip::postgresql_common::version}"],
notify => Exec[$zulip::postgresql_base::postgresql_restart],
owner => 'postgres',
group => 'postgres',
mode => '0640',