Allow user to specify the ensure parameter for the java7 package, this allows forcing the latest package to install.
2 files changed
tree: 5431ea972033be551e710932b9fdcd27b3baf060
  1. files/
  2. manifests/
  3. .gitignore
  4. Modulefile
  5. README.md
README.md

Java7 Puppet Module

This module manages Oracle Java7.

This module has been tested against 3.0.1 on Ubuntu 12.04 and Debian 6.

Pull requests to add support for other operating systems are welcome.

NOTE: This module may only be used if you agree to the Oracle license: http://www.oracle.com/technetwork/java/javase/terms/license/

Usage

include java7

or

class { 'java7': }

The default behavior is to install java7. It will not automatically upgrade. If you would like to upgrade java7, you can use the ensure parameter:

class { 'java7':
  ensure => 'latest'
}

Keep in mind that the webupd8 team's java7 package does not keep historical versions of the java installer, so you cannot specify a specific version of java to install at this time.

Author

Contributors:

  • flosell: Added Debian 6 support