Skip to content

Commit

Permalink
Drop conditionals for Debian packaging for non-d11
Browse files Browse the repository at this point in the history
Previously there were builders on Debian < 11, but those have been
retired and we can simplify the code to just current Debian.
  • Loading branch information
ekohl committed Aug 18, 2023
1 parent 4a6c278 commit e177c79
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions puppet/modules/slave/manifests/packaging/debian.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@
ensure => present,
}

if $facts['os']['name'] == 'Debian' and versioncmp($facts['os']['release']['major'], '11') >= 0 {
ensure_packages(['python3-pip', 'python3-setuptools'])
} else {
ensure_packages(['python-pip', 'python-setuptools'])
}

ensure_packages(['zstd'])
ensure_packages(['python3-pip', 'python3-setuptools', 'zstd'])

if $facts['os']['name'] == 'Debian' {
include apt::backports
Expand Down

0 comments on commit e177c79

Please sign in to comment.