diff --git a/templates/profile.d/java-profile-deb.erb b/templates/profile.d/java-profile-deb.erb new file mode 100644 index 0000000..de685f6 --- /dev/null +++ b/templates/profile.d/java-profile-deb.erb @@ -0,0 +1,5 @@ +# File managed by Puppet +if [ -d <%= scope.lookupvar('karaf::java::real_java_home') %> ]; then + export JAVA_HOME=<%= scope.lookupvar('karaf::java::real_java_home') %> + PATH=$PATH:$JAVA_HOME/bin +fi