Skip to content

Commit

Permalink
?? java alternative??
Browse files Browse the repository at this point in the history
  • Loading branch information
antmoth committed Jul 17, 2024
1 parent 557a75b commit 4efde6f
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 4efde6f

Please sign in to comment.