From 008a4c13069ae2da6225ec1441dedcb744b883b3 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 29 Sep 2019 16:38:41 +0200 Subject: [PATCH] auth method trust also wants addresses --- modules/postgres/manifests/cluster/hba_entry.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/postgres/manifests/cluster/hba_entry.pp b/modules/postgres/manifests/cluster/hba_entry.pp index 40e24f590..68313746a 100644 --- a/modules/postgres/manifests/cluster/hba_entry.pp +++ b/modules/postgres/manifests/cluster/hba_entry.pp @@ -26,7 +26,7 @@ define postgres::cluster::hba_entry ( Enum['md5', 'trust'] $method = 'md5', String $order = '50', ) { - $address_methods = ['md5'] + $address_methods = ['md5', 'trust'] if $method in $address_methods { if !$address { fail("Authentication method ${method} needs an address") -- 2.20.1