

Improved documentation, rspec tests added, license changed from CC-BY-SA-4.0 to Apache-2.0.Ĭode polishing to be more compliant with puppet-lint suggestions.Openjdk: The Openjdk undertaking is an open-source usage of the Java SE Platform. Removed restriction on specific Ubuntu versions.īump version number after testing with Puppet 4. Minor fixes to improve the quality score.įacts revision to comply with modern Puppet 4/5 recommended style.Īdded documentation generated with puppet strings.Īttention: the module is no more compatible with Puppet 3.įixed regression error on non Debian os family.Īdded support for java 8 on Ubuntu 12.04 and 14.04 via ppa repository.įixed regression in properly recognizing osfamily.Īdded support for RedHat and CentOS distributions. java_default_versionįixed link to java home directory for openjdk on RHEL/CentOS 5 and 6. java_versionįalse means to untar the Oracle archive. The following parameters are available in the java::install_config defined type. Sets up the default java according to the parameter It is intended to be called by java::java. If different than +undef+ it will be used to configureĭefault value: lookup('java::java_default_version', Optional, 'first', undef) java::install_config
#Openjdk 7 ppa 64 Bit
Oracle jdk-6, howewer, is not supported while Oracle jdk-7 and Oracle jdk-8 at the moment are 64 bit versions.
#Openjdk 7 ppa install
True means to install openjdk from distribution packages The following parameters are available in the java defined type. An example hiera (JSON) declaration for a node could be as follows: Parameters It is possible to install multiple versions of Java on a single node and to specify via hiera the default java to be set in the alternative system. This is done, for example, by declarations as the following: include java_7 The module provides different classes to install Java OpenJDK 6, 7, 8 and 9 furthermore, it is possible to install Oracle JDK 7 and 8.

To provide the basic capability to download and unzip Oracle Java distributions The module requires the following modules: Notice that at the moment this class supports only openjdk-6 on Debian/Ubuntu systems. Policy files which contain no restrictions on cryptographic strengths. This override provides "unlimited strength" The module provides a jce_policy_6 class to be used to override two libraries in the standard java distribution.ĭue to import control restrictions, the version of JCE policy files thatĪre bundled in the JDK(TM) 6 environment allow "strong" but limitedĬryptography to be used. In case java 8 installation is required on Ubuntu 12.04 or Ubuntu 14.04 the repository ppa:openjdk-r/ppa is added.
#Openjdk 7 ppa manual
In that case, the alternative system link for the command java is set to manual mode according to specified version. This is specified by providing a hiera value for the parameter java::java_default_version If required, the module sets up the alternative system for the java command. The module installs the OpenJDK package from the repositories or the Oracle JDK from the download archive. It allows to install java 8 even if it is not in the standard repository in Ubuntu 12.04 and 14.04 via ppa. It allows to install multiple Java versions on the same node.

Furthermore, it allows to configure the java alternative on Debian and RedHat family distributions. The module provides classes and defines to install Java OpenJDK from distribution packages

It allows to install Java OpenJDK or Oracle JDK and configure the default java alternative.
