Skip to content
Snippets Groups Projects
Commit 530dc4d0 authored by Torstein Egge's avatar Torstein Egge
Browse files

java home work now plox

parent 8799a689
No related branches found
No related tags found
No related merge requests found
......@@ -34,12 +34,13 @@ node 'elk-server.openstacklocal' {
# include ::java
class { 'java' :
package => 'openjdk-8-jre',
java_home => '/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java',
}
alternatives { 'java':
path => '/usr/lib/jvm/java-8-openjdk-amd64/bin/java',
require => Package['openjdk-8-jre'],
}
# alternatives { 'java':
# path => '/usr/lib/jvm/java-8-openjdk-amd64/bin/java',
# require => Package['openjdk-8-jre'],
# }
class { 'elasticsearch': }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment