From 7d5b118df7a647f8bfa1fbd46dd9350fc6dda14e Mon Sep 17 00:00:00 2001 From: Simon Hoenscheid Date: Wed, 28 Jun 2023 10:49:04 +0200 Subject: [PATCH] add squeeze to initdb command --- manifests/server/instance/initdb.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/server/instance/initdb.pp b/manifests/server/instance/initdb.pp index 59c07067ed..b6b0631f9c 100644 --- a/manifests/server/instance/initdb.pp +++ b/manifests/server/instance/initdb.pp @@ -168,7 +168,7 @@ default => "-X '${xlogdir}'" } - $initdb_command = "${initdb_path} ${auth_host_parameter} ${auth_local_parameter } ${data_checksums_parameter} ${datadir_parameter} ${encoding_parameter} ${lc_messages_parameter} ${locale_parameter} ${username_parameter} ${xlogdir_parameter}" # lint:ignore:140chars + $initdb_command = squeeze("${initdb_path} ${auth_host_parameter} ${auth_local_parameter} ${data_checksums_parameter} ${datadir_parameter} ${encoding_parameter} ${lc_messages_parameter} ${locale_parameter} ${username_parameter} ${xlogdir_parameter}", ' ') # lint:ignore:140chars # This runs the initdb command, we use the existance of the PG_VERSION # file to ensure we don't keep running this command.