Skip to content

Commit

Permalink
Merge pull request #496 from jay7x/drop_old_oses
Browse files Browse the repository at this point in the history
Drop EOL RHEL, CentOS, Fedora, VirtuozzoLinux versions
  • Loading branch information
jay7x authored Nov 25, 2024
2 parents 30accc8 + 3c21678 commit 9f2451a
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 30 deletions.
8 changes: 0 additions & 8 deletions data/RedHat-family-7.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions data/VirtuozzoLinux-7.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,13 @@
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7",
"8",
"9"
]
},
{
"operatingsystem": "VirtuozzoLinux",
"operatingsystemrelease": [
"7"
]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8",
"9"
]
},
Expand Down Expand Up @@ -92,8 +83,6 @@
{
"operatingsystem": "Fedora",
"operatingsystemrelease": [
"37",
"38",
"40"
]
}
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/nspwan_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'spec_helper_acceptance'

describe 'systemd with manage_nspawn true' do
machinectl = (fact('os.name') == 'Debian') && %w[10 11].include?(fact('os.release.major')) ? '/bin/machinectl' : '/usr/bin/machinectl'
machinectl = (fact('os.name') == 'Debian') && (fact('os.release.major') == '11') ? '/bin/machinectl' : '/usr/bin/machinectl'

context 'configure nspawn' do
let(:manifest) do
Expand Down
4 changes: 0 additions & 4 deletions spec/defines/daemon_reload_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@
case [facts[:os]['name'], facts[:os]['family'], facts[:os]['release']['major']]
when %w[Debian Debian 11],
['Ubuntu', 'Debian', '20.04'],
%w[VirtuozzoLinux RedHat 7],
%w[AlmaLinux RedHat 8],
%w[CentOS RedHat 7],
%w[CentOS RedHat 8],
%w[RedHat RedHat 7],
%w[RedHat RedHat 8],
%w[Rocky RedHat 8],
%w[OracleLinux RedHat 8]
Expand Down

0 comments on commit 9f2451a

Please sign in to comment.