Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
(maint) Fix rendering of README
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Fields committed Jul 3, 2015
1 parent e2e598a commit 91205da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions README.md → README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,28 @@ This module can be used to install one or multiple JDK versions from Oracle
### Beginning with windows_java

####Install Oracle JDK Version 8u45
---puppet
~~~puppet
include 'windows_java'
---
~~~

This will install Oracle JDK version 8 update 45

## Usage

####Install JDK 7u51 and not as default
---puppet
~~~puppet
windows_java::jdk{'7u51':
default => false,
}
---
~~~

####Install JDK 7u51 non default location
---puppet
~~~puppet
windows_java::jdk{'7u51':
install_path => 'G:\java\jdk7u51',
default => false,
}
---
~~~

## Reference

Expand All @@ -71,7 +72,7 @@ windows_java::jdk{'7u51':
* `ensure`: *Optional.* Whether to install or remove the version
* `version`: *Optional.* What version of the jdk to install. Defaults to '8u45'
* `arch`: *Optional.* What architecture you want to install, Valid options are 'x64','i586'. Default is: `$::architecture`
* `build_number_hash`: *Option.* Build number lookup hash for looking up url build numbers {'8u45' => 'b15' }
* `build_number_hash`: *Optional.* Build number lookup hash for looking up url build numbers `{'8u45' => 'b15' }`
* `cookie_string`: *Optional.* The cookie string required to download the JDK from Oracle
* `default`: *Optional.* Whether to update and set the JAVA_HOME and include in PATH environment variables
* `install_name`: *Optional.* The package name but is inferred by version being installed
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cyberious-windows_java",
"version": "1.0.1",
"version": "1.0.2",
"author": "cyberious",
"summary": "Windows Oracle Java",
"license": "Apache-2.0",
Expand Down

0 comments on commit 91205da

Please sign in to comment.