Skip to content

Commit

Permalink
Merge pull request #56 from rgrizzell/master
Browse files Browse the repository at this point in the history
Add support for Debian 12 Bookworm
  • Loading branch information
mattock authored Nov 29, 2023
2 parents 46d50ee + 0fe7f47 commit f773b56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit f773b56

Please sign in to comment.