Skip to content

Commit

Permalink
postgresql: add version for bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
supertassu committed Nov 12, 2023
1 parent e9fe279 commit c2aa1c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/postgresql/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
$cluster_name = 'main'
$pg_version = debian::codename() ? {
'bullseye' => '13',
'bookworm' => '15',
}

ensure_packages([
'postgresql-13',
"postgresql-${pg_version}",
])

$conf_path = "/etc/postgresql/${pg_version}/${cluster_name}"
Expand Down

0 comments on commit c2aa1c7

Please sign in to comment.