Skip to content

Commit

Permalink
Merge pull request #149 from bastelfreak/debian11
Browse files Browse the repository at this point in the history
Debian: Support LTS releases
  • Loading branch information
bastelfreak authored Oct 6, 2024
2 parents bee36b6 + 6baf59e commit 251e276
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
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

0 comments on commit 251e276

Please sign in to comment.