diff --git a/manifests/install/client/debian.pp b/manifests/install/client/debian.pp index 5eb5e70..2b74a69 100644 --- a/manifests/install/client/debian.pp +++ b/manifests/install/client/debian.pp @@ -1,6 +1,6 @@ # # @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. # @@ -8,7 +8,7 @@ # 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' }) diff --git a/manifests/params.pp b/manifests/params.pp index fd45124..d9e8e81 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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') } }