Skip to content

Commit

Permalink
try setting JAVA_HOME?
Browse files Browse the repository at this point in the history
  • Loading branch information
antmoth committed Nov 25, 2024
1 parent c7e2b7a commit d3c8218
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions manifests/profile/fulcrum/solr.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
logs => '/var/log/solr',
}

file {
['/opt/solr', '/opt/solr/bin']:
ensure => 'directory',
;
}

file {
['/var/lib/solr/data/cores']:
ensure => 'directory',
Expand Down
5 changes: 5 additions & 0 deletions manifests/profile/solr.pp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
;
}

file { "/etc/environment":
content => inline_template("JAVA_HOME=/usr/bin/java")
}


file { '/etc/systemd/system/solr.service':
owner => 'root',
group => 'root',
Expand Down

0 comments on commit d3c8218

Please sign in to comment.