From 7ab4bc1b370c4b63616b4e92a008caa56ce9fb5f Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Tue, 29 Mar 2016 07:40:46 -0700 Subject: [PATCH] Add an example for installing java 8 Prior to this commit, the documentation was lacking an example of how to install a specific version of java. Which led users to believe that they should use the version parameter. After this commit, we have an example showing the correct way to install a different major verison of java is to use the package parameter. --- README.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.markdown b/README.markdown index c08615b..a42646e 100644 --- a/README.markdown +++ b/README.markdown @@ -34,6 +34,14 @@ class { 'java': } ~~~ +Example installing the latest patch version of java 8 on Centos + +~~~ +class { 'java' : + package => 'java-1.8.0-openjdk-devel', +} +~~~ + The defined type `java::oracle` installs one or more versions of Oracle Java SE. `java::oracle` depends on [puppet/archive](https://github.com/voxpupuli/puppet-archive). By using `java::oracle` you agree to Oracle's licensing terms for Java SE. ~~~