You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aba179a
Browse filesBrowse the repository at this point in the historyBrowse files
Jean B.
committed
Merge pull request puppetlabs#98 from mhaskel/missed_docs
Copy file name to clipboardExpand all lines: README.markdown
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@
8
8
*[Beginning with the java module](#beginning-with-the-java-module)
9
9
4.[Usage - Configuration options and additional functionality](#usage)
10
10
5.[Reference - An under-the-hood peek at what the module is doing and how](#reference)
11
-
5.[Limitations - OS compatibility, etc.](#limitations)
12
-
6.[Development - Guide for contributing to the module](#development)
11
+
6.[Limitations - OS compatibility, etc.](#limitations)
12
+
7.[Development - Guide for contributing to the module](#development)
13
13
14
14
##Overview
15
15
@@ -62,6 +62,16 @@ The following parameters are available in the java module:
62
62
63
63
*`java_alternative_path`: The path to the 'java' command. Since the alternatives system makes it difficult to verify which alternative is actually enabled, this is required to ensure the correct JVM is enabled.
64
64
65
+
###Facts
66
+
67
+
The java module includes a few facts to describe the version of Java installed on the system:
68
+
69
+
*`java_major_version`: The major version of Java.
70
+
*`java_patch_level`: The patch level of Java.
71
+
*`java_version`: The full Java version string.
72
+
73
+
**Note:** The facts return `nil` if Java is not installed on the system.
74
+
65
75
##Limitations
66
76
67
77
This module cannot guarantee installation of Java versions that are not available on platform repositories.
0 commit comments