Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Adding a wrap_java parameter to allow disabling use of the java.sh script #40

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

loyal3-green-team
Copy link

Modifying DYLD_FALLBACK_LIBRARY_PATH caused problems for us, it would be nice to have the ability to use the plain java scripts.

source => 'puppet:///modules/java/java.sh',
mode => '0755',
require => Package['java']
if $wrap_java {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of a conditional, it's probably better to use the ensure parameter of the file resource. That way, if wrap_java = false, then the wrapper will get removed if it were there before.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@loyal3-green-team If you can do this then we'll merge it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(and rebase it)

@nonrational
Copy link
Contributor

is this a preferable alternative to #37 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants