Giter Club home page Giter Club logo

biemond-jdk7's Introduction

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" ,
    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' :}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.