Skip to content

Commit

Permalink
Drop EoL EL8 / Ubuntu 20.04 / Debian 11 support
Browse files Browse the repository at this point in the history
Foreman 3.13 doesn't provide packages anymore for those platforms.
  • Loading branch information
bastelfreak authored and ekohl committed Dec 18, 2024
1 parent c77cc72 commit f52b495
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
Expand All @@ -102,7 +98,6 @@
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"8",
"9"
]
}
Expand Down
8 changes: 4 additions & 4 deletions spec/classes/foreman_proxy__plugin__ansible_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f52b495

Please sign in to comment.