From a525a9d8a66ccb60d513d1da324975a7ac17e44b Mon Sep 17 00:00:00 2001 From: Asgeir Frimannsson Date: Wed, 6 Aug 2014 22:06:39 +0200 Subject: [PATCH] Add missing java-profile-deb.erb --- templates/profile.d/java-profile-deb.erb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 templates/profile.d/java-profile-deb.erb 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