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 }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ This module is suitable for pretty much any Linux system. It currently supports
27
27
oracle_java will affect the following parts of your system:
28
28
29
29
* jre/jdk package
30
+
* java alternative +slaves
30
31
31
32
Including the main class is enough to install the latest version of the Oracle JRE.
32
33
@@ -70,12 +71,13 @@ class { '::oracle_java':
70
71
}
71
72
```
72
73
73
-
Disable checksum validation
74
+
Disable checksum validation and add java alternative
74
75
75
76
```puppet
76
77
class { '::oracle_java':
77
78
…
78
-
check_checksum => false
79
+
check_checksum => false,
80
+
add_alternative => true
79
81
}
80
82
```
81
83
@@ -102,8 +104,15 @@ What envionment type to install. Valid values are 'jre' and 'jdk'. Defaults to '
102
104
What format of installation archive to retrieve. Valid values are 'rpm' and 'tar.gz'. Default depends on the platform
103
105
104
106
#####`check_checksum`
107
+
105
108
Enable checksum validation on downloaded archives. Boolean value. Defaults to 'true'
106
109
110
+
#####`add_alternative`
111
+
112
+
Add Oracle Java to the system alternatives on compatible platforms*. Boolean value. Defaults to 'false'
113
+
114
+
(*Debian/RHEL/SuSE-like)
115
+
107
116
##Limitations
108
117
109
118
* Prior to Java 8u20, two different releases of the same Java series could not cohabit on the same system when installed from RPM. Each new version would override the previous one. This does not happen with tar.gz archives however.
@@ -114,7 +123,6 @@ The cookie manipulation used by this module to download its installation package
114
123
115
124
##To Do
116
125
117
-
* Add Oracle Java as a 'java' alternative (waiting for an official release of [this module](https://github.com/adrienthebo/puppet-alternatives))
118
126
* Allow the manipulation of Java related environment variables
119
127
120
128
Features request and contributions are always welcome!
0 commit comments