put a fqdn in a name in ftp_master_dak_replica
authorPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 19:13:02 +0000 (21:13 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 19:13:02 +0000 (21:13 +0200)
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',