From: Peter Palfrader Date: Sun, 29 Sep 2019 14:00:57 +0000 (+0200) Subject: better instance names for pg clusters X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=89f96a62fb093a8f254293472fe93c7164d22765;p=mirror%2Fdsa-puppet.git better instance names for pg clusters --- diff --git a/modules/roles/manifests/postgresql/server.pp b/modules/roles/manifests/postgresql/server.pp index cd774baad..99a82376b 100644 --- a/modules/roles/manifests/postgresql/server.pp +++ b/modules/roles/manifests/postgresql/server.pp @@ -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,