Merge pull request #585 from backstop/master

Use space.  Join seems to be defaulting to comma.
This commit is contained in:
Hunter Haugen 2015-03-19 10:27:21 -07:00
commit 88dc7eeb6c

View file

@ -40,7 +40,7 @@ define postgresql::validate_db_connection(
undef => undef,
default => "PGPASSWORD=${database_password}",
}
$cmd = join([$cmd_init, $cmd_host, $cmd_user, $cmd_port, $cmd_dbname])
$cmd = join([$cmd_init, $cmd_host, $cmd_user, $cmd_port, $cmd_dbname], ' ')
$validate_cmd = "/usr/local/bin/validate_postgresql_connection.sh ${sleep} ${tries} '${cmd}'"
# This is more of a safety valve, we add a little extra to compensate for the