Move backup replication hba_entry to backup_cluster
[mirror/dsa-puppet.git] / modules / postgres / manifests / cluster.pp
index a57f543..47021ae 100644 (file)
@@ -24,6 +24,9 @@ define postgres::cluster(
     target      => "pg-${pg_port}",
   }
 
+  # hba entries and firewall rules
+  Postgres::Cluster::Hba_entry <<| tag == "postgres::cluster::${pg_version}::${pg_cluster}::hba::${::fqdn}" |>>
+
   if $manage_hba {
     concat { "postgres::cluster::${pg_version}::${pg_cluster}::hba":
       path           => "${confdir}/pg_hba.conf",