Also collect entries that only knew the port
[mirror/dsa-puppet.git] / modules / postgres / manifests / cluster.pp
index 47021ae..b541be5 100644 (file)
@@ -26,6 +26,7 @@ define postgres::cluster(
 
   # hba entries and firewall rules
   Postgres::Cluster::Hba_entry <<| tag == "postgres::cluster::${pg_version}::${pg_cluster}::hba::${::fqdn}" |>>
+  Postgres::Cluster::Hba_entry <<| tag == "postgres::cluster::${pg_port}::hba::${::fqdn}" |>>
 
   if $manage_hba {
     concat { "postgres::cluster::${pg_version}::${pg_cluster}::hba":