From bb89da3d2db84784f1a7d2a432b250f8c2e69b49 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 20 Sep 2024 11:27:35 +0200 Subject: [PATCH] Add Debian 11 EoL Date: 2024-08-14 Based on https://www.debian.org/releases/bullseye/ --- lib/puppet_metadata/operatingsystem.rb | 2 +- spec/operatingsystem_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/puppet_metadata/operatingsystem.rb b/lib/puppet_metadata/operatingsystem.rb index ef39d57..80e7d30 100644 --- a/lib/puppet_metadata/operatingsystem.rb +++ b/lib/puppet_metadata/operatingsystem.rb @@ -32,7 +32,7 @@ class OperatingSystem 'Debian' => { # TODO: EOL is standard support, not the extended life cycle '12' => nil, # '~2026', - '11' => nil, # '~2024', + '11' => '2024-08-14', '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 79bc65c..0fa40db 100644 --- a/spec/operatingsystem_spec.rb +++ b/spec/operatingsystem_spec.rb @@ -45,8 +45,8 @@ context 'with Debian' do let(:os) { 'Debian' } - it 'returns 11, 12' do - expect(described_class.supported_releases(os)).to match_array(%w[11 12]) + it 'returns 12' do + expect(described_class.supported_releases(os)).to contain_exactly('12') end it 'the last entry matches latest_release' do