Also collect entries that only knew the port
authorPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 13:23:08 +0000 (15:23 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 13:23:08 +0000 (15:23 +0200)
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":