From a8dbdd6d928b588f25e8e20ee4948a5c458d3879 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Wed, 17 Apr 2024 19:52:21 +0000 Subject: [PATCH] kandra: Ensure that pg_hba.conf is in place before starting PostgreSQL. --- puppet/kandra/manifests/profile/postgresql.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/puppet/kandra/manifests/profile/postgresql.pp b/puppet/kandra/manifests/profile/postgresql.pp index 6f4b914979..2f2c6a9c47 100644 --- a/puppet/kandra/manifests/profile/postgresql.pp +++ b/puppet/kandra/manifests/profile/postgresql.pp @@ -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',