Skip to content

Drop EoL FreeBSD 9.4/9.5 specific code #1519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Drop EoL FreeBSD 9.4/9.5 specific code
Cherry-picked from
#1514

both FreeBSD versions are EoL since a long time and not listed in
metadata.json anymore. We can drop them.
  • Loading branch information
bastelfreak committed Sep 26, 2023
commit e2acb7ac9a55f72798611fceb26fc16d7edf3aeb
16 changes: 3 additions & 13 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -199,19 +199,9 @@
}

'FreeBSD': {
case $version {
'94', '95': {
$user = pick($user, 'pgsql')
$group = pick($group, 'pgsql')
$datadir = pick($datadir, '/usr/local/pgsql/data')
}
default: {
$user = pick($user, 'postgres')
$group = pick($group, 'postgres')
$datadir = pick($datadir, "/var/db/postgres/data${version}")
}
}

$user = pick($user, 'postgres')
$group = pick($group, 'postgres')
$datadir = pick($datadir, "/var/db/postgres/data${version}")
$link_pg_config = true
$client_package_name = pick($client_package_name, "databases/postgresql${version}-client")
$server_package_name = pick($server_package_name, "databases/postgresql${version}-server")
Expand Down