diff --git a/lib/puppet_metadata/operatingsystem.rb b/lib/puppet_metadata/operatingsystem.rb index 80e7d30..0e701ce 100644 --- a/lib/puppet_metadata/operatingsystem.rb +++ b/lib/puppet_metadata/operatingsystem.rb @@ -30,9 +30,10 @@ class OperatingSystem }, # https://wiki.debian.org/DebianReleases 'Debian' => { - # TODO: EOL is standard support, not the extended life cycle - '12' => nil, # '~2026', - '11' => '2024-08-14', + # EOL is extended life cycle, not standard support + # https://github.com/voxpupuli/voxpupuli.github.io/pull/386 + '12' => '2028-06-30', + '11' => '2026-08-31', '10' => '2022-09-10', '9' => '2020-07-06', '8' => '2018-06-17', diff --git a/spec/operatingsystem_spec.rb b/spec/operatingsystem_spec.rb index 0fa40db..309a3a4 100644 --- a/spec/operatingsystem_spec.rb +++ b/spec/operatingsystem_spec.rb @@ -45,8 +45,8 @@ context 'with Debian' do let(:os) { 'Debian' } - it 'returns 12' do - expect(described_class.supported_releases(os)).to contain_exactly('12') + it 'returns 11 and 12' do + expect(described_class.supported_releases(os)).to contain_exactly('11', '12') end it 'the last entry matches latest_release' do