Skip to content

Commit

Permalink
Drop Debian 11 support
Browse files Browse the repository at this point in the history
Foreman 3.13 doesn't provide Debian 11 packages anymore.
  • Loading branch information
bastelfreak committed Dec 18, 2024
1 parent 38e9bab commit ac90bfc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions manifests/providers/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
# OS specific package names
case $facts['os']['family'] {
'RedHat': {
if $is_aio {
$oauth_package = 'puppet-agent-oauth'
$oauth_package = if $is_aio {
'puppet-agent-oauth'
} else {
$oauth_package = 'rubygem-oauth'
'rubygem-oauth'
}
}
'Debian': {
if $is_aio {
$oauth_package = 'puppet-agent-oauth'
$oauth_package = if $is_aio {
'puppet-agent-oauth'
} else {
$oauth_package = 'ruby-oauth'
'ruby-oauth'
}
}
'FreeBSD': {
Expand Down
1 change: 0 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"11",
"12"
]
},
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/foreman_repos_apt_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
let(:title) { 'foreman' }

let :facts do
on_supported_os['debian-11-x86_64']
on_supported_os['debian-12-x86_64']
end

let(:apt_key) do
Expand Down

0 comments on commit ac90bfc

Please sign in to comment.