Skip to content

Commit f773b56

Browse files
authored
Merge pull request Puppet-Finland#56 from rgrizzell/master
Add support for Debian 12 Bookworm
2 parents 46d50ee + 0fe7f47 commit f773b56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manifests/install/client/debian.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#
22
# @summary Ensure that home directories get created on Debian and Ubuntu clients.
3-
#
3+
#
44
# This code is needed as the --mkhomedir parameter passed to ipa-client-install does
55
# not configure PAM even though it does install the required packages.
66
#
77
# Currently Ubuntu 14.04/16.04 and Debian 8/9 are supported.
88
#
99
class easy_ipa::install::client::debian {
1010
case $facts['os']['distro']['codename'] {
11-
/^(xenial|stretch|bionic|focal|buster|bullseye|jammy)$/: {
11+
/^(xenial|stretch|bionic|focal|buster|bullseye|jammy|bookworm)$/: {
1212
# Ensure that required packages are present even if they do not get pulled
1313
# in as freeipa-client package dependencies
1414
stdlib::ensure_packages(['oddjob','oddjob-mkhomedir'], { 'ensure' => 'present' })

manifests/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
'Debian': {
1818
case $facts['os']['distro']['codename'] {
19-
/(trusty|xenial|bionic|buster|focal|bullseye|jammy)/: { $ipa_client_package_ensure = 'present' }
19+
/(trusty|xenial|bionic|buster|focal|bullseye|jammy|bookworm)/: { $ipa_client_package_ensure = 'present' }
2020
/(stretch)/: { $ipa_client_package_ensure = 'absent' }
2121
default: { fail('ERROR: unsupported operating system') }
2222
}

0 commit comments

Comments
 (0)