neal ec5ca53161 adding coop puppet scripts 5 лет назад
..
manifests ec5ca53161 adding coop puppet scripts 5 лет назад
License ec5ca53161 adding coop puppet scripts 5 лет назад
Modulefile ec5ca53161 adding coop puppet scripts 5 лет назад
README.md ec5ca53161 adding coop puppet scripts 5 лет назад
metadata.json ec5ca53161 adding coop puppet scripts 5 лет назад

README.md

jdk7 JAVA SE 7 puppet module

Works with Puppet 2.7 & 3.0

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

Version updates

  • 0.3.6 performance fix
  • 0.3.5 ruby escaped char warnings resolved
  • 0.3.4 bugfix on install folder, conflicts with others modules
  • 0.3.3 updated license to Apache 2.0
  • 0.3.2 sourceParam, alternativesPriority in install7 plus formatting
  • 0.3.1 Entropy fix for low on entropy, you can configure the rngd or rng-tools service or add it to java.security
  • 0.2.1 added SLES as O.S. plus SED and alternatives fixes
  • 0.2 puppet 3.0 compatible, creates download folder

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 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",
    alternativesPriority => 18000, 
    x64                  => true,
    downloadDir          => "/install",
    urandomJavaFix       => false,
    sourcePath           => "puppet:///modules/jdk7/"
  }

  class { 'jdk7::urandomfix' :}