unique names
authorPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 17:03:20 +0000 (19:03 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 17:03:20 +0000 (19:03 +0200)
modules/postgres/manifests/cluster.pp

index 4d28db0..970c1ba 100644 (file)
@@ -86,7 +86,7 @@ define postgres::cluster(
       order   => '00',
       content => template('postgres/cluster/pg_hba.conf-head.erb'),
     }
-    postgres::cluster::hba_entry { 'local-connections':
+    postgres::cluster::hba_entry { "postgres::cluster::${real_port}::local-connections":
       pg_port         => $real_port,
       connection_type => 'host',
       database        => 'all',