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

Realpath test fix #265

Merged
merged 3 commits into from
Nov 16, 2017
Merged

Realpath test fix #265

merged 3 commits into from
Nov 16, 2017

Conversation

willmeek
Copy link

Adds a commit to fix a unit test which wasn't functioning in PR #259

@willmeek willmeek mentioned this pull request Nov 15, 2017
buzzdeee and others added 3 commits November 15, 2017 14:37
need to fiddle with it. The default case statement, "do nothing"
is all fine here.

Facter::Util::Resolution.with_env is long time gone since
Facter > 2.x. That was even longer before introduced by me.
Remove that OpenBSD special case in the java_version fact,
and assume that $PATH is properly set in order to find
the 'java' binary.

Additionally confine the java_default_home and java_libjvm_path
to OpenBSD kernel as well. Add some flesh to the java_default_home
fact to allow it to find the java binary.
use Ruby in a more portable fashion.

adapt tests as well
@willmeek
Copy link
Author

Rebased

@pmcmaw pmcmaw merged commit d336d79 into puppetlabs:master Nov 16, 2017
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.

4 participants