Skip to content

cystek/java-formula

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java

This state installs java to /opt and sets up the alternatives system to point to the binaries under /opt. To use this state the java tarball(s) must be downloaded manually and placed in the files directory.

Available states

Install the Oracle Java server jre, the tarball must be named server_jre.tgz and placed in the files directory.

Install the Oracle Java jdk

Example Pillar

You can specify the source, source_hash, and home in your pillar file, like so:

java:
  jre:
    source: http://java.com...
    source_hash: sha1=SHA1OFDOWNLOAD
    home: /usr/local
  jdk:
    source: http://java.com...
    source_hash: sha1=SHA1OFDOWNLOAD

Releases

No releases published

Packages

No packages published