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 missing java-profile-deb.erb #1

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

asgeirf
Copy link

@asgeirf asgeirf commented Aug 6, 2014

Had some issues getting this running on ubuntu. Here's a possible fix, and thanks for the module!

@asgeirf
Copy link
Author

asgeirf commented Aug 7, 2014

Just noticed, there may be some issues with JAVA_HOME as well on debian-based systems. Don't have time to investigate further, but I assume the following is missing in params.pp (in the case of openjdk):

@@ -59,6 +60,7 @@ class karaf::params {
     }
     Debian  : {
       $java7_openjdk_package = 'openjdk-7-jdk'
+      $java7_openjdk_home    = "/usr/lib/jvm/java-1.7.0-openjdk-$architecture"
       $java7_sun_package     = undef
     }
     default : {

@fatmcgav
Copy link
Owner

fatmcgav commented Aug 7, 2014

Yeh, I haven't done any testing on Debian as yet... Looks like a sensible addition...

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

Successfully merging this pull request may close these issues.

2 participants