Hopefully fix issue

debug-ci-issue
Jelte Fennema-Nio 2024-06-14 15:41:11 +02:00
parent 7b1c35280f
commit 05260e9e57
1 changed files with 4 additions and 2 deletions

View File

@ -296,10 +296,12 @@ sub generate_hba
open(my $fh, ">", catfile($TMP_CHECKDIR, $nodename, "data", "pg_hba.conf")) open(my $fh, ">", catfile($TMP_CHECKDIR, $nodename, "data", "pg_hba.conf"))
or die "could not open pg_hba.conf"; or die "could not open pg_hba.conf";
print $fh "host all alice,bob localhost md5\n"; print $fh "host all alice,bob 127.0.0.1/32 md5\n";
print $fh "host all alice,bob ::1/128 md5\n";
print $fh "host all all 127.0.0.1/32 trust\n"; print $fh "host all all 127.0.0.1/32 trust\n";
print $fh "host all all ::1/128 trust\n"; print $fh "host all all ::1/128 trust\n";
print $fh "host replication postgres localhost trust\n"; print $fh "host replication postgres 127.0.0.1/32 trust\n";
print $fh "host replication postgres ::1/128 trust\n";
close $fh; close $fh;
} }