better instance names for pg clusters
authorPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 14:00:57 +0000 (16:00 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 29 Sep 2019 14:00:57 +0000 (16:00 +0200)
modules/roles/manifests/postgresql/server.pp

index cd774ba..99a8237 100644 (file)
@@ -10,7 +10,7 @@ class roles::postgresql::server(
     $version      = $cluster['version']
     $cluster_name = $cluster['cluster']
     $port         = $cluster['port']
-    postgres::cluster { 'bacula':
+    postgres::cluster { "${version}::${cluster_name}":
       pg_version => $version,
       pg_cluster => $cluster_name,
       pg_port    => $port,