All Projects → antoineco → aco-oracle_java

antoineco / aco-oracle_java

Licence: other
Puppet module to install Oracle Java on Linux systems

Programming Languages

Puppet
460 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to aco-oracle java

Biemond Orawls
Puppet 3/4 module for WebLogic provisioning module ( Linux & Solaris )
Stars: ✭ 63 (+384.62%)
Mutual labels:  puppet, oracle
standalone-configuration-management
Basic examples of how to use each of chef, puppet, salt and ansible as standalone configuration management systems.
Stars: ✭ 14 (+7.69%)
Mutual labels:  puppet
weblogic honeypot
WebLogic Honeypot is a low interaction honeypot to detect CVE-2017-10271 in the Oracle WebLogic Server component of Oracle Fusion Middleware. This is a Remote Code Execution vulnerability.
Stars: ✭ 30 (+130.77%)
Mutual labels:  oracle
puppet-vault
Puppet module to manage Vault (https://vaultproject.io)
Stars: ✭ 41 (+215.38%)
Mutual labels:  puppet
sonar-puppet
SonarQube plugin for Puppet code.
Stars: ✭ 27 (+107.69%)
Mutual labels:  puppet
puppet-confluent
Puppet Module for installing and configuring the Confluent Platform
Stars: ✭ 14 (+7.69%)
Mutual labels:  puppet
oracle-single-install
让Oracle数据库安装变得简单化,支持单实例和CDB容器快速安装,只需简单配置即可
Stars: ✭ 37 (+184.62%)
Mutual labels:  oracle
Oracle.jl
Oracle Database driver for the Julia language.
Stars: ✭ 32 (+146.15%)
Mutual labels:  oracle
laravel-adminer
Adminer database management tool for your Laravel application.
Stars: ✭ 45 (+246.15%)
Mutual labels:  oracle
ares
Completely decentralized oracle protocol
Stars: ✭ 51 (+292.31%)
Mutual labels:  oracle
puppet-puppetserver
Puppet module for puppetserver
Stars: ✭ 21 (+61.54%)
Mutual labels:  puppet
witnet-solidity-bridge
Witnet Bridge for EVM-compatible blockchains
Stars: ✭ 46 (+253.85%)
Mutual labels:  oracle
method5
Remote execution for Oracle SQL, PL/SQL, and shell scripts, built entirely inside Oracle. Method5 lets you easily run commands quickly and securely on hundreds of databases.
Stars: ✭ 19 (+46.15%)
Mutual labels:  oracle
puppet-stash
A puppet module to install atlassian stash
Stars: ✭ 19 (+46.15%)
Mutual labels:  puppet
nosql-go-sdk
SDK for Go for Oracle NoSQL Database
Stars: ✭ 26 (+100%)
Mutual labels:  oracle
mybatis
Mybatis study
Stars: ✭ 66 (+407.69%)
Mutual labels:  oracle
biemond-oradb
Puppet Oracle Database Module
Stars: ✭ 59 (+353.85%)
Mutual labels:  puppet
puppet-nfs
Installs and configures NFS server and clients
Stars: ✭ 14 (+7.69%)
Mutual labels:  puppet
smart-contracts
On-chain system contracts and examples
Stars: ✭ 76 (+484.62%)
Mutual labels:  oracle
puppet-icinga2
Puppet module to manage Icinga 2
Stars: ✭ 61 (+369.23%)
Mutual labels:  puppet

oracle_java

Build Status

By using this module you acknowledge that you have read and accepted the terms of the Oracle Binary Code License Agreement for Java SE.

Downloads from the Oracle Java Archive require an Oracle.com account.

Table of Contents

  1. Overview - What is the oracle_java module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with tomcat
  4. Usage - The classes and defined types available for configuration
  1. Limitations
  2. Contributors
  3. Credits

Overview

The oracle_java module allows you to install the Oracle JRE or JDK of your choice from the official archives provided by Oracle.

Module description

This module downloads the desired Java version from Oracle's website and installs it on the target system. On RPM-based distributions the RPM version will be used by default. On all other platforms a tar.gz archive will be retrieved and extracted. Multiple versions of Oracle Java can be installed on the same system using a defined type.

Java SE archives are available from the Oracle Java SE Downloads and Oracle Java Archive pages.

This module is suitable for pretty much any Linux system. It currently supports all released Java SE versions from JSE 7 on.

Setup

oracle_java will affect the following parts of your system:

  • jre/jdk packages and/or archives
  • java alternatives (and slaves)

Including the main class is enough to install the latest version of the Oracle JRE.

include oracle_java

A couple of examples

Install a specific version of the JDK

class { 'oracle_java':
  version     => '7u45',
  type        => 'jdk',
  ssousername => '[email protected]',	# only for packages from the Oracle Java Archive
  ssopassword => 'mypassword'		#
}

Install multiple Java versions

class { 'oracle_java':
  version => '8u45',
  type    => 'jdk'
}
oracle_java::installation { '7u65':
  type => 'jdk'
}

Force installation from standard tar.gz archive, in a custom location

class { 'oracle_java':
  …
  format       => 'tar.gz',
  install_path => '/opt/java'
}

Disable checksum validation and add java alternative

class { 'oracle_java':
  …
  check_checksum  => false,
  add_alternative => true
}

Install a Java version not (yet) supported by this module

class { 'oracle_java':
  …
  version  => '8u122',
  build    => '-b04',
  checksum => '436fc6772eb961b07b7b3414ab111857',
  urlcode  => '/e9e7ea248e2c4826b92b3f075a80e441'
}

Install from custom archive and URL

class { 'oracle_java':
  …
  download_url => 'http://myrepo.com',
  filename     => 'my-jdk-8u66.tar.gz',
  checksum     => '380e6d224f5c8c8eba37c97439f09eb4'
}

Download Java archives behind a proxy server

class { 'oracle_java':
  …
  proxy_server => 'http://user:[email protected]:8080'
}

Usage

Classes and Defined Types

Class: oracle_java

Primary class and entry point of the module. Installs Java in /usr/java

Parameters within oracle_java:

version

Java version to install, formatted as 'major_version'u'minor_version' or simply 'major_version' for the latest available release in the selected Java SE series. Defaults to 8
Note: a minor version of '0' (for example 8u0) matches the initial release of the selected Java SE series.

format

What format of installation archive to retrieve. Valid values are rpm and tar.gz. Default depends on the platform.

ssousername

Oracle account username. Used to authenticate against Oracle.com Single Sign-on service and download packages from the Oracle Java Archive.

ssopassword

Oracle account password.

install_path

Absolute root path where the Oracle Java archives are extracted. Requires format set to tar.gz. Defaults to /usr/java.

add_system_env

Add JAVA_HOME environment variable to the /etc/environment file. Boolean value. Defaults to false.

See also Common parameters

Define: oracle_java::installation

Installs an extra version of Oracle Java in install_path.

Parameters within oracle_java::installation:

version

Namevar. See oracle_java::version

See also Common parameters

Common parameters

Parameters common to both oracle_java and oracle_java::installation.

build

Build number associated to the requested Java SE version, formatted as -b## . Default determined automatically.
Note: this parameter is mandatory when installing a Java SE release which is not currently supported by this module.

type

What envionment type to install. Valid values are jre and jdk. Defaults to jre.

check_checksum

Enable checksum validation on downloaded archives. Boolean value. Defaults to true.

checksum

MD5 checksum used to verify the archive integrity. Defaults to the checksum provided by Oracle.

add_alternative

Add Oracle Java to the system alternatives on compatible platforms (Debian/RHEL/SuSE families). Boolean value. Defaults to false.

download_url

Base URL of an alternative location to download the Java archive from. Defaults to Oracle servers.

filename

File name of the installation package to retrieve at ${download_url}. Defaults to the file name provided by Oracle.

proxy_server

URL of a proxy server used for downloading Java archives.

proxy_type

Type of the proxy server. Valid values are none, http, https and ftp. Default determined by the scheme used in proxy_server.

urlcode

Complex code Oracle adds to the download URL since Java SE 8u121. Default determined automatically.

Limitations

Prior to Java 8u20, two different releases of the same Java series could not cohabit on the same system when installed from RPM. Each new version would override the previous one. This does not happen with tar.gz archives.

Contributors

Credits

The cookie manipulation used by this module to download installation packages directly from Oracle's page was found on Ivan Dyedov's Blog

Features request and contributions are always welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].