Skip to content

Commit

Permalink
Debian 10: Add EoL date
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 26, 2024
1 parent 06743f8 commit 20fdfbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/puppet_metadata/operatingsystem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ class OperatingSystem
'4' => '2012-02-29',
'3' => '2010-10-30',
},
# https://endoflife.software/operating-systems/linux/debian
# https://wiki.debian.org/DebianReleases
'Debian' => {
# TODO: EOL is standard support, not the extended life cycle
'12' => nil, # '~2026',
'11' => nil, # '~2024',
'10' => nil, # '~2022',
'10' => '2022-09-10',
'9' => '2020-07-06',
'8' => '2018-06-17',
'7' => '2016-04-26',
Expand Down
4 changes: 2 additions & 2 deletions spec/operatingsystem_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
context 'with Debian' do
let(:os) { 'Debian' }

it 'returns 10, 11, 12' do
expect(described_class.supported_releases(os)).to match_array(%w[10 11 12])
it 'returns 11, 12' do
expect(described_class.supported_releases(os)).to match_array(%w[11 12])
end

it 'the last entry matches latest_release' do
Expand Down

0 comments on commit 20fdfbf

Please sign in to comment.