diff --git a/README.md b/README.md index 305d9c0..8c7afec 100644 --- a/README.md +++ b/README.md @@ -265,13 +265,7 @@ See in file [REFERENCE.md](REFERENCE.md). ### OS Support: -Net-SNMP module support is available with these operating systems: - -* RedHat family - tested on CentOS 7 -* SuSE family - tested on SLES 11 SP1 -* Debian family - tested on Debian 11, Debian 12, Ubuntu 22.04, Ubuntu 24.04 -* FreeBSD family - tested on FreeBSD 12.2 (uses ports/pkgng Net-SNMP, not system bsnmpd) -* Darwin family - tested on Darwin 18 (macOS 10.14 "Mojave"), 19 (macOS 10.15 "Catalina"), and 20 (macOS 11.1 "Big Sur"). +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. ### Notes: diff --git a/metadata.json b/metadata.json index 53f416a..3ab4dcd 100644 --- a/metadata.json +++ b/metadata.json @@ -72,8 +72,9 @@ { "operatingsystem": "Debian", "operatingsystemrelease": [ + "11", "12", - "11" + "13" ] }, { diff --git a/spec/classes/snmp_init_spec.rb b/spec/classes/snmp_init_spec.rb index 0858b50..9a1824f 100644 --- a/spec/classes/snmp_init_spec.rb +++ b/spec/classes/snmp_init_spec.rb @@ -538,12 +538,7 @@ describe 'manage_snmpdtrapd => false Debian' do let(:params) { { manage_snmptrapd: false } } - # TRAPDOPTS begins being set by the package in Ubuntu 22.04; we should not log a failure - # in this case - case facts[:os]['release']['major'] - when '11', '12' - it { is_expected.to contain_file('snmpd.sysconfig').without_content(%r{TRAPDRUN|TRAPDOPTS}) } - end + it { is_expected.to contain_file('snmpd.sysconfig').without_content(%r{TRAPDRUN|TRAPDOPTS}) } end it {