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 Java alternatives for RHEL based distros. #89

Merged
merged 1 commit into from Dec 26, 2014

Conversation

rdrgmnzs
Copy link

This is a followup to pull request #61.

The code was contributed by @dstockman on the PR referenced above.

The reason I did not include the java alternative updates in java::params is because the default RPM packages for openJDK automatically set the java alternatives when installed. The only time this would be used is when installing an alternative package suck as Oracle Java.

@mhaskel

@rdrgmnzs
Copy link
Author

rdrgmnzs commented Dec 9, 2014

@mhaskel ping.

Any word on this? Anything else needed for this commit to be acceptable?

@underscorgan
Copy link
Contributor

Hi @brdude. Sorry for the delay in getting back to you. For the test updates, I meant an update in spec/classes/java_spec.rb. Otherwise, this looks good, thanks!

@rdrgmnzs
Copy link
Author

HI @mhaskel. Hopefully the rspec test I added is sufficient as this is the first time I've used it I'm not entirely sure how to gauge it. If you end up needing more test please let me know and I'll be more then happy to do so.

@underscorgan
Copy link
Contributor

@brdude Ok, this is mostly looking good. The updates to .travis.yml, Rakefile, Gemfile, and .puppet-lint.rc should be removed from this pull request, these updates should be managed via modulesync (see #93). Also, this should be squashed down to a single commit.

@rdrgmnzs
Copy link
Author

@mhaskel Sounds good. The files .travis.yml, Rakefile, Gemfile, and .puppet-lint.rc have been removed from the commit. And the commits have been squashed into a single one.

The Travis checks should go back to passing once #93 has been merged as well.

underscorgan pushed a commit that referenced this pull request Dec 26, 2014
Add Java alternatives for RHEL based distros.
@underscorgan underscorgan merged commit dcc2867 into puppetlabs:master Dec 26, 2014
@underscorgan
Copy link
Contributor

Great, thanks @brdude !

underscorgan pushed a commit to underscorgan/puppetlabs-java that referenced this pull request Dec 29, 2014
Alternatives support was added in puppetlabs#89, but the test wasn't updated to
expect failures when invalid alternatives are passed to RHEL systems.
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.

None yet

3 participants