Skip to content

Commit

Permalink
(maint) debian platforms simplify java depends
Browse files Browse the repository at this point in the history
possible to install java 17 and java 11, package should be flexible
to accept either as a dependency
  • Loading branch information
h0tw1r3 committed Apr 20, 2024
1 parent 65c7236 commit 526d496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).

## [Unreleased]
Maintenance:
* On all Debian platforms simplify java depends, allow 17 or 11, prefer 17
* Drop platform 6 fpm support

Bugfix:
Expand Down
12 changes: 1 addition & 11 deletions resources/puppetlabs/lein-ezbake/template/global/ext/fpm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -328,17 +328,7 @@
end

if ! options.is_pe
options.java =
case options.platform_version
when 8
if options.dist =~ /buster|bullseye|bookworm|bionic|focal|jammy/
'openjdk-17-jre-headless | openjdk-11-jre-headless'
end
when 7
'openjdk-11-jre-headless'
else
fail "Unknown Puppet Platform Version #{options.platform_version}"
end
options.java = 'openjdk-17-jre-headless | openjdk-11-jre-headless'
end

fpm_opts << '--deb-build-depends cdbs'
Expand Down

0 comments on commit 526d496

Please sign in to comment.