From ee5325f9755ed1b932cf5193fdcf2c8d988cc04c Mon Sep 17 00:00:00 2001
From: Nils Olof Paulsson <nils.olof.paulsson@liu.se>
Date: Tue, 14 Nov 2023 14:06:04 +0100
Subject: [PATCH] fixpg_hbarules

---
 manifests/postgres.pp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/manifests/postgres.pp b/manifests/postgres.pp
index 51a1e4a..ff17885 100644
--- a/manifests/postgres.pp
+++ b/manifests/postgres.pp
@@ -15,7 +15,7 @@ class egg::postgres () {
     type        => 'local',
     database    => 'all',
     user        => 'postgres',
-    auth_method => 'ident',
+    auth_method => 'trust',
   }
 
   postgresql::server::pg_hba_rule { 'allow localhost access':
@@ -23,7 +23,7 @@ class egg::postgres () {
     database    => 'all',
     user        => 'all',
     address     => '127.0.0.1/32',
-    auth_method => 'md5',
+    auth_method => 'trust',
   }
 
   postgresql::server::pg_hba_rule { 'allow ipv6 localhost access':
@@ -31,6 +31,6 @@ class egg::postgres () {
     database    => 'all',
     user        => 'all',
     address     => '::1/128',
-    auth_method => 'md5',
+    auth_method => 'trust',
   }
 }
-- 
GitLab