put a fqdn in a name in ftp_master_dak_replica
[mirror/dsa-puppet.git] / modules / roles / manifests / postgresql / ftp_master_dak_replica.pp
index f1e5744..043a44b 100644 (file)
@@ -10,7 +10,7 @@ class roles::postgresql::ftp_master_dak_replica (
   String $db_role,
 ) {
 
-  @@postgres::cluster::hba_entry { 'dak-replica':
+  @@postgres::cluster::hba_entry { "dak-replica-to-${::fqdn}":
     tag      => "postgres::cluster::${db_port}::hba::${db_server}",
     pg_port  => $db_port,
     database => 'replication',