From 6906f6beba199ba0855bd30ec105638b66468141 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 18 Dec 2024 15:56:56 +0100 Subject: [PATCH] Drop EoL EL8 / Ubuntu 20.04 / Debian 11 support Foreman 3.13 doesn't provide packages anymore for those platforms. --- metadata.json | 5 ----- spec/classes/foreman_proxy__plugin__ansible_spec.rb | 8 ++++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/metadata.json b/metadata.json index 55729446..52ad489e 100644 --- a/metadata.json +++ b/metadata.json @@ -61,28 +61,24 @@ { "operatingsystem": "RedHat", "operatingsystemrelease": [ - "8", "9" ] }, { "operatingsystem": "CentOS", "operatingsystemrelease": [ - "8", "9" ] }, { "operatingsystem": "Debian", "operatingsystemrelease": [ - "11", "12" ] }, { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ - "20.04", "22.04" ] }, @@ -102,7 +98,6 @@ { "operatingsystem": "AlmaLinux", "operatingsystemrelease": [ - "8", "9" ] } diff --git a/spec/classes/foreman_proxy__plugin__ansible_spec.rb b/spec/classes/foreman_proxy__plugin__ansible_spec.rb index a7c64d75..ea8f80f2 100644 --- a/spec/classes/foreman_proxy__plugin__ansible_spec.rb +++ b/spec/classes/foreman_proxy__plugin__ansible_spec.rb @@ -12,10 +12,10 @@ it { should contain_foreman_proxy__plugin__module('ansible') } case os - when 'debian-11-x86_64' + when 'debian-12-x86_64' it { should contain_package('python3-ansible-runner').with_ensure('installed') } it { should contain_package('ansible-collection-theforeman-foreman').with_ensure('installed') } - when 'redhat-7-x86_64' + when 'redhat-9-x86_64' it { should contain_package('ansible-runner').with_ensure('installed') } it { should contain_package('ansible-collection-theforeman-foreman').with_ensure('installed') } end @@ -59,10 +59,10 @@ it { should contain_class('foreman_proxy::plugin::remote_execution::script') } case os - when 'debian-10-x86_64' + when 'debian-12-x86_64' it { should_not contain_apt__source('ansible-runner') } it { should contain_package('python3-ansible-runner').with_ensure('installed') } - when 'redhat-7-x86_64' + when 'redhat-9-x86_64' it { should contain_package('ansible-runner').with_ensure('installed') } end