Skip to content

Commit

Permalink
Log Level Switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronoftheages committed Jan 30, 2024
1 parent 69e6d4e commit af22951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/pg_repack.pp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
$repack_executable = "/opt/puppetlabs/server/apps/postgresql/${postgresql_version}/bin/pg_repack"

if $enable_echo {
$repack_cmd = "${repack_executable} --jobs ${jobs} --elevel ${repack_run_level} --echo"
$repack_cmd = "${repack_executable} --jobs ${jobs} --elevel ${repack_log_level} --echo"
} else {
$repack_cmd = "${repack_executable} --jobs ${jobs} --elevel ${repack_run_level}"
$repack_cmd = "${repack_executable} --jobs ${jobs} --elevel ${repack_log_level}"
}

pe_databases::collect { 'facts':
Expand Down

0 comments on commit af22951

Please sign in to comment.