Skip to content

Commit

Permalink
Drop support for Debian 10, Ubuntu 18, and FreeBSD 12
Browse files Browse the repository at this point in the history
  • Loading branch information
wyardley committed Nov 16, 2024
1 parent ec9a24b commit 0af6460
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"18.04",
"20.04",
"22.04"
]
Expand All @@ -44,7 +42,6 @@
{
"operatingsystem": "FreeBSD",
"operatingsystemrelease": [
"12",
"13",
"14"
]
Expand Down
4 changes: 1 addition & 3 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
configure_beaker do |host|
case fact_on(host, 'os.family')
when 'Debian'
install_puppet_module_via_pmt_on(host, 'puppetlabs-apt', '>= 4.1.0 < 10.0.0')
install_puppet_module_via_pmt_on(host, 'puppetlabs-apt', '>= 9.0.0 < 10.0.0')
when 'RedHat'
install_puppet_module_via_pmt_on(host, 'puppet-epel', '>= 5.0.0 < 6.0.0')
if fact_on(host, 'os.selinux.enabled')
Expand All @@ -14,8 +14,6 @@
end
end

install_package(host, 'iproute2') if fact('os.release.major').to_i == 18 || fact('os.release.major') == 'buster/sid'

# Fake certs
on host, 'echo "-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDw1uXI+EAgxk4dOxArPqMNnnCQqmXeQ61XQQXoAgWWjRvY4LAJ
Expand Down

0 comments on commit 0af6460

Please sign in to comment.