Skip to content

Commit

Permalink
Merge pull request #408 from voxpupuli/debian-12
Browse files Browse the repository at this point in the history
Add support for Debian 12
  • Loading branch information
Valantin authored Mar 25, 2024
2 parents 707fbdf + 524489b commit 6fb9b22
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions data/os/Debian/12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
openldap::client::package: "libldap-2.5-0"
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11"
"11",
"12"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/openldap_client_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
case facts[:osfamily]
when 'Debian'
case facts[:os]['release']['major']
when '22.04'
when '12', '22.04'
it {
is_expected.to contain_package('libldap-2.5-0').with(ensure: :installed)
}
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/openldap_client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
case facts[:osfamily]
when 'Debian'
case facts[:os]['release']['major']
when '22.04'
when '12', '22.04'
it {
is_expected.to contain_class('openldap::client').with(package: 'libldap-2.5-0',
file: '/etc/ldap/ldap.conf',
Expand Down

0 comments on commit 6fb9b22

Please sign in to comment.