Skip to content
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

Add support for Debian 12 Bookworm #56

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions manifests/install/client/debian.pp
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# @summary Ensure that home directories get created on Debian and Ubuntu clients.
#
#
# This code is needed as the --mkhomedir parameter passed to ipa-client-install does
# not configure PAM even though it does install the required packages.
#
# Currently Ubuntu 14.04/16.04 and Debian 8/9 are supported.
#
class easy_ipa::install::client::debian {
case $facts['os']['distro']['codename'] {
/^(xenial|stretch|bionic|focal|buster|bullseye|jammy)$/: {
/^(xenial|stretch|bionic|focal|buster|bullseye|jammy|bookworm)$/: {
# Ensure that required packages are present even if they do not get pulled
# in as freeipa-client package dependencies
stdlib::ensure_packages(['oddjob','oddjob-mkhomedir'], { 'ensure' => 'present' })
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
'Debian': {
case $facts['os']['distro']['codename'] {
/(trusty|xenial|bionic|buster|focal|bullseye|jammy)/: { $ipa_client_package_ensure = 'present' }
/(trusty|xenial|bionic|buster|focal|bullseye|jammy|bookworm)/: { $ipa_client_package_ensure = 'present' }
/(stretch)/: { $ipa_client_package_ensure = 'absent' }
default: { fail('ERROR: unsupported operating system') }
}
Expand Down