fqdn in name
authorPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 20:21:07 +0000 (22:21 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 20:21:07 +0000 (22:21 +0200)
modules/roles/manifests/debsources.pp

index 60cb490..a1bad3b 100644 (file)
@@ -22,7 +22,7 @@ class roles::debsources (
     key    => true,
   }
 
-  @@postgres::cluster::hba_entry { 'debsources':
+  @@postgres::cluster::hba_entry { "debsources-${::fqdn}":
     tag      => "postgres::cluster::${db_port}::hba::${db_address}",
     pg_port  => $db_port,
     database => 'debsources',
@@ -30,7 +30,7 @@ class roles::debsources (
     address  => $base::public_addresses,
   }
 
-  @@postgres::cluster::hba_entry { 'debsources-guest':
+  @@postgres::cluster::hba_entry { "debsources-guest-${::fqdn}":
     tag      => "postgres::cluster::${db_port}::hba::${db_address}",
     pg_port  => $db_port,
     database => 'debsources',