Forge Home

jdk7

Oracle JDK7 & JDK8 puppet module optimized for weblogic urandom rngd entropy

120,314 downloads

28,063 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.1.0 (latest)
  • 1.0.0
  • 0.5.4
  • 0.5.3
  • 0.5.2
  • 0.5.1
  • 0.5.0
  • 0.4.12
  • 0.4.11
  • 0.4.10
  • 0.4.9
  • 0.4.8
  • 0.4.7
  • 0.4.6
  • 0.4.5
  • 0.4.4
  • 0.4.3
  • 0.4.2
  • 0.4.1
  • 0.4.0
  • 0.3.9
  • 0.3.8
  • 0.3.7
  • 0.3.6
  • 0.3.5
  • 0.3.4
  • 0.3.2
  • 0.3.1
  • 0.3.0
  • 0.2.1
  • 0.2.0
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Dec 15th 2014
This version is compatible with:
  • Puppet Enterprise >=2.7.20
  • Puppet >=2.7.20
  • , , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'biemond-jdk7', '0.4.7'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add biemond-jdk7
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install biemond-jdk7 --version 0.4.7

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

biemond/jdk7 — version 0.4.7 Dec 15th 2014

JDK JAVA SE 7, 8 puppet module ============================== Build Status

Works with Puppet 2.7 or higher

Should work for RedHat, CentOS, Ubuntu, Debian, Suse SLES or OracleLinux

installs only the java tar.gz files

this is because rpm post install fails with some pack error

installs jdk on linux based systems with x64 or 32 bits
add the jdk-7u25-linux-x64.tar.gz (downloaded from Oracle website) to the files folder of this jdk7 module

  • download the tar.gz to the download folder of the puppet agent server
  • unpack the java tar.gz
  • set the java links in /usr/java ( latest and default )
  • set this java and javac as default
  • optional updates urandom device for weblogic performance in java.security

urandomfix class for lack of entropy this rngd or or rng-tools service add extra random number

example usage

  include jdk7

  jdk7::install7{ 'jdk1.7.0_40':
    version              => "7u40" , 
    fullVersion          => "jdk1.7.0_40",
    javaHomes            => '/usr/java/',
    alternativesPriority => 18000, 
    x64                  => true,
    downloadDir          => "/install",
    urandomJavaFix       => false,
    sourcePath           => "puppet:///modules/jdk7/"
  }

or Java 8 and with rsa keySize Fix

  jdk7::install7{ 'jdk1.8.0':
    version              => "8" , 
    fullVersion          => "jdk1.8.0",
    alternativesPriority => 19000, 
    x64                  => true,
    downloadDir          => "/data/install",
    urandomJavaFix       => true,
    rsakeySizeFix        => false,
    sourcePath           => "/software",
  }

or with cryptography Extension File US export

  jdk7::install7{ 'jdk1.7.0_51':
      version                   => "7u51" , 
      fullVersion               => "jdk1.7.0_51",
      alternativesPriority      => 18000, 
      x64                       => true,
      downloadDir               => "/data/install",
      urandomJavaFix            => true,
      rsakeySizeFix             => true,
      cryptographyExtensionFile => "UnlimitedJCEPolicyJDK7.zip",
      sourcePath                => "/software",
  }
  
  class { 'jdk7::urandomfix' :}