puppetlabs / puppetlabs/puppetlabs-java

Allow specification of OpenJDK version only

Open
#618 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
101
Forks
274
Avg merge
1h 33m
Merged PRs (30d)
1

Description

Use Case

It would be good to be able to specify the OpenJDK version you want to install, so that you can override the default. That way you don't have to repeat the package name, paths, etc., which are already built up in https://github.com/puppetlabs/puppetlabs-java/blob/e627cdbcd2d059a284e5222bd9eddcd921892bd6/manifests/params.pp, but there is no way to use a non-default OpenJDK version, as far as I can tell.

Describe the Solution You Would Like

Provide a class parameter that allows for specifying the version of OpenJDK to be installed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading manifests/params.pp and the surrounding class parameters to understand how the default OpenJDK package name and paths are assembled. Add the requested way to select an OpenJDK version without repeating those values, and verify that the default behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, ruby
Domain
devops
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.