jdk7

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

Edwin Biemond

biemond

99,966 downloads

15,076 latest version

5.0 quality score

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 Apr 28th 2018
This version is compatible with:
  • Puppet Enterprise 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.4.x
  • Puppet >=4.9.0
  • RedHat
    ,
    CentOS
    ,
    OracleLinux
    ,
    Scientific
    ,
    SLES
    ,
    Debian
    ,
    Ubuntu

Start using this module

Documentation

biemond/jdk7 — version 1.1.0 Apr 28th 2018

JDK JAVA SE 7, 8 puppet module

Build Status

Only for Puppet >= 4.3 and this module uses the latest puppet 4 features like

  • Strong data typing
  • Internal hiera/lookup module data
  • uses Facts array

For Puppet 3, 4 you have to use the latest 0.x version of this jkd7 module

source code is located at puppet4 branch

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 source_path folder, which defaults to the "files" folder of this 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" ,
    full_version          => "jdk1.7.0_40",
    java_homes            => '/usr/java/',
    alternatives_priority => 18000,
    x64                   => true,
    download_dir          => "/install",
    urandom_java_fix      => false,
    source_path           => "puppet:///modules/jdk7/",
    default_links         => true,
    install_alternatives  => true,
  }

or Java 8 and with rsa keySize Fix

  jdk7::install7{ 'jdk1.8.0':
    version               => "8" ,
    full_version          => "jdk1.8.0",
    alternatives_priority => 19000,
    x64                   => true,
    download_dir          => "/data/install",
    urandom_java_fix      => true,
    rsa_key_size_fix      => false,
    source_path           => "/software",
  }

or with cryptography Extension File US export

  jdk7::install7{ 'jdk1.7.0_51':
      version                     => "7u51" ,
      full_version                => "jdk1.7.0_51",
      alternatives_priority       => 18000,
      x64                         => true,
      download_dir                => "/data/install",
      urandom_java_fix            => true,
      rsa_key_size_fix            => true,
      cryptography_extension_file => "UnlimitedJCEPolicyJDK7.zip",
      source_path                 => "/software",
  }

  class { 'jdk7::urandomfix' :}

Note: The cryptography_extension_file needs to be stored in the source_path folder as above.