auth method trust also wants addresses
[mirror/dsa-puppet.git] / modules / postgres / manifests / cluster / hba_entry.pp
index 40e24f5..6831374 100644 (file)
@@ -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")