We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7018a5f + 1e7a91f commit a189ed7Copy full SHA for a189ed7
manifests/validate_db_connection.pp
@@ -47,7 +47,7 @@
47
# time it takes to run each psql command.
48
$timeout = (($sleep + 2) * $tries)
49
50
- $exec_name = "validate postgres connection for ${database_host}/${database_name}"
+ $exec_name = "validate postgres connection for ${database_username}@${database_host}:${database_port}/${database_name}"
51
exec { $exec_name:
52
command => "echo 'Unable to connect to defined database using: ${cmd}' && false",
53
unless => $validate_cmd,
0 commit comments