Skip to content

Commit

Permalink
?? java alternative??
Browse files Browse the repository at this point in the history
  • Loading branch information
antmoth committed Dec 19, 2023
1 parent a0e85fc commit 1e75533
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/profile/solr.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@

ensure_packages(["temurin-${jdk_version}-jre",'solr','lsof'])

class { 'nebula::profile::openjdk_java':
jdk_packages => ["temurin-${jdk_version}-jre"],
default_jdk => "temurin-${jdk_version}-jre",
base_alternative => "/usr/lib/jvm/temurin-${jdk_version}-jre-amd64/bin/java",
java_alternative => "temurin-${jdk_version}-jre-amd64",
}

# Note: Along with variables above these are used in erb files also.
$java_home = "/usr/lib/jvm/temurin-${jdk_version}-jre-amd64"
$solr_bin = '/opt/solr/bin/solr'
Expand Down

0 comments on commit 1e75533

Please sign in to comment.