Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian: Support LTS releases #149

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions lib/puppet_metadata/operatingsystem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
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 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
Expand Down