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

Fix Java installation flow #19

Merged
merged 2 commits into from
Jun 6, 2017
Merged

Fix Java installation flow #19

merged 2 commits into from
Jun 6, 2017

Conversation

chamilad
Copy link
Contributor

@chamilad chamilad commented Jun 5, 2017

This PR changes the Java manifest in the base module from a Puppet class to a Puppet defined type. This avoids having hard coded values as before and allows them to be passed from the caller manifest.

Furthermore, it also introduces and new Hieradata key to control the JDK installation.

wso2base::java::install_java: true

Setting this to false will result in JDK not being added by Puppet. The default value is true set in the wso2/common Hiera file.

NOTE: For these changes to work, wso2/puppet-common#13 in wso2/puppet-common should also be merged.

This resolves #16 and #18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing the JDK should be optional
3 participants