@@ -20,6 +20,7 @@ options, even though those are not in the package repositories.
20
20
### Defined types
21
21
22
22
* [ ` java::adopt ` ] ( #javaadopt ) : Install one or more versions of AdoptOpenJDK Java.
23
+ * [ ` java::adoptium ` ] ( #javaadoptium ) : Install one or more versions of Adoptium Temurin OpenJDK (former AdoptOpenJDK).
23
24
* [ ` java::download ` ] ( #javadownload ) : Installs Java from a url location.
24
25
* [ ` java::sap ` ] ( #javasap ) : Install one or more versions of SAPJVM or Sapmachine
25
26
@@ -242,6 +243,125 @@ The name for the optional symlink in the installation directory.
242
243
243
244
Default value: `` undef ``
244
245
246
+ ### <a name =" javaadoptium " ></a >` java::adoptium `
247
+
248
+ Defined Type java::adoptium
249
+
250
+ #### Parameters
251
+
252
+ The following parameters are available in the ` java::adoptium ` defined type:
253
+
254
+ * [ ` ensure ` ] ( #ensure )
255
+ * [ ` version_major ` ] ( #version_major )
256
+ * [ ` version_minor ` ] ( #version_minor )
257
+ * [ ` version_patch ` ] ( #version_patch )
258
+ * [ ` version_build ` ] ( #version_build )
259
+ * [ ` proxy_server ` ] ( #proxy_server )
260
+ * [ ` proxy_type ` ] ( #proxy_type )
261
+ * [ ` url ` ] ( #url )
262
+ * [ ` basedir ` ] ( #basedir )
263
+ * [ ` manage_basedir ` ] ( #manage_basedir )
264
+ * [ ` manage_symlink ` ] ( #manage_symlink )
265
+ * [ ` symlink_name ` ] ( #symlink_name )
266
+
267
+ ##### <a name =" ensure " ></a >` ensure `
268
+
269
+ Data type: ` Any `
270
+
271
+ Install or remove the package.
272
+
273
+ Default value: ` 'present' `
274
+
275
+ ##### <a name =" version_major " ></a >` version_major `
276
+
277
+ Data type: ` Any `
278
+
279
+ Major version which should be installed, e.g. '16' or '17'
280
+
281
+ Default value: `` undef ``
282
+
283
+ ##### <a name =" version_minor " ></a >` version_minor `
284
+
285
+ Data type: ` Any `
286
+
287
+ Minor version which should be installed, e.g. '0'
288
+
289
+ Default value: `` undef ``
290
+
291
+ ##### <a name =" version_patch " ></a >` version_patch `
292
+
293
+ Data type: ` Any `
294
+
295
+ Minor version which should be installed, e.g. '2'
296
+
297
+ Default value: `` undef ``
298
+
299
+ ##### <a name =" version_build " ></a >` version_build `
300
+
301
+ Data type: ` Any `
302
+
303
+ Build version which should be installed, e.g. '07'
304
+
305
+ Default value: `` undef ``
306
+
307
+ ##### <a name =" proxy_server " ></a >` proxy_server `
308
+
309
+ Data type: ` Any `
310
+
311
+ Specify a proxy server, with port number if needed. ie: https://example.com:8080 . (passed to archive)
312
+
313
+ Default value: `` undef ``
314
+
315
+ ##### <a name =" proxy_type " ></a >` proxy_type `
316
+
317
+ Data type: ` Any `
318
+
319
+ Proxy server type (none|http|https|ftp). (passed to archive)
320
+
321
+ Default value: `` undef ``
322
+
323
+ ##### <a name =" url " ></a >` url `
324
+
325
+ Data type: ` Any `
326
+
327
+ Full URL
328
+
329
+ Default value: `` undef ``
330
+
331
+ ##### <a name =" basedir " ></a >` basedir `
332
+
333
+ Data type: ` Any `
334
+
335
+ Directory under which the installation will occur. If not set, defaults to
336
+ /usr/lib/jvm for Debian and /usr/java for RedHat.
337
+
338
+ Default value: `` undef ``
339
+
340
+ ##### <a name =" manage_basedir " ></a >` manage_basedir `
341
+
342
+ Data type: ` Any `
343
+
344
+ Whether to manage the basedir directory. Defaults to false.
345
+ Note: /usr/lib/jvm is managed for Debian by default, separate from this parameter.
346
+
347
+ Default value: `` true ``
348
+
349
+ ##### <a name =" manage_symlink " ></a >` manage_symlink `
350
+
351
+ Data type: ` Any `
352
+
353
+ Whether to manage a symlink that points to the installation directory. Defaults to false.
354
+
355
+ Default value: `` false ``
356
+
357
+ ##### <a name =" symlink_name " ></a >` symlink_name `
358
+
359
+ Data type: ` Any `
360
+
361
+ The name for the optional symlink in the installation directory.
362
+
363
+ Default value: `` undef ``
364
+
245
365
### <a name =" javadownload " ></a >` java::download `
246
366
247
367
Defined Type java::download
0 commit comments