Skip to content

Commit c20a21a

Browse files
authored
Merge pull request #321 from cusae/add-debian-13
add support for Debian 13
2 parents f52dd4d + b41fec7 commit c20a21a

3 files changed

Lines changed: 4 additions & 14 deletions

File tree

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,7 @@ See in file [REFERENCE.md](REFERENCE.md).
265265

266266
### OS Support:
267267

268-
Net-SNMP module support is available with these operating systems:
269-
270-
* RedHat family - tested on CentOS 7
271-
* SuSE family - tested on SLES 11 SP1
272-
* Debian family - tested on Debian 11, Debian 12, Ubuntu 22.04, Ubuntu 24.04
273-
* FreeBSD family - tested on FreeBSD 12.2 (uses ports/pkgng Net-SNMP, not system bsnmpd)
274-
* Darwin family - tested on Darwin 18 (macOS 10.14 "Mojave"), 19 (macOS 10.15 "Catalina"), and 20 (macOS 11.1 "Big Sur").
268+
Net-SNMP module support is available for the operating systems listed in the [metadata.json](https://github.com/voxpupuli/puppet-snmp/blob/master/metadata.json) file.
275269

276270
### Notes:
277271

metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@
7272
{
7373
"operatingsystem": "Debian",
7474
"operatingsystemrelease": [
75+
"11",
7576
"12",
76-
"11"
77+
"13"
7778
]
7879
},
7980
{

spec/classes/snmp_init_spec.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -538,12 +538,7 @@
538538
describe 'manage_snmpdtrapd => false Debian' do
539539
let(:params) { { manage_snmptrapd: false } }
540540

541-
# TRAPDOPTS begins being set by the package in Ubuntu 22.04; we should not log a failure
542-
# in this case
543-
case facts[:os]['release']['major']
544-
when '11', '12'
545-
it { is_expected.to contain_file('snmpd.sysconfig').without_content(%r{TRAPDRUN|TRAPDOPTS}) }
546-
end
541+
it { is_expected.to contain_file('snmpd.sysconfig').without_content(%r{TRAPDRUN|TRAPDOPTS}) }
547542
end
548543

549544
it {

0 commit comments

Comments
 (0)