Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for java 11, the default in debian buster 10 #386

Merged
merged 2 commits into from
Sep 12, 2019

Conversation

jhooyberghs
Copy link
Contributor

When trying to implement the current master branch in our setup, I noticed the facts don't work for debian buster since the output format of the default openjdk 11 command "java -version" changed. I added a condition to check the format, and see if it starts with 1 (like in 1.8.0_144) or the newer format with > 1 (like 11.0.4).

This adds the java version facts resolving for debian buster and should not break it for existing implementations.

@sheenaajay
Copy link
Contributor

Thank you @jhooyberghs for submitting the PR.

@sheenaajay
Copy link
Contributor

Screen Shot 2019-09-12 at 11 21 51

@sheenaajay sheenaajay merged commit 074162d into puppetlabs:master Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants