(FM-7921) - Implement Puppet Strings
This commit is contained in:
@@ -1,49 +1,40 @@
|
||||
# Class: java
|
||||
# @summary
|
||||
# This module manages the Java runtime package
|
||||
#
|
||||
# This module manages the Java runtime package
|
||||
#
|
||||
# Parameters:
|
||||
#
|
||||
# [*distribution*]
|
||||
# @param distribution
|
||||
# The java distribution to install. Can be one of "jdk" or "jre",
|
||||
# or other platform-specific options where there are multiple
|
||||
# implementations available (eg: OpenJDK vs Oracle JDK).
|
||||
#
|
||||
# [*version*]
|
||||
# @param version
|
||||
# The version of java to install. By default, this module simply ensures
|
||||
# that java is present, and does not require a specific version.
|
||||
#
|
||||
# [*package*]
|
||||
# @param package
|
||||
# The name of the java package. This is configurable in case a non-standard
|
||||
# java package is desired.
|
||||
#
|
||||
# [*package_options*]
|
||||
# @param package_options
|
||||
# Array of strings to pass installation options to the 'package' Puppet resource.
|
||||
# Options available depend on the 'package' provider for the target OS.
|
||||
#
|
||||
# [*java_alternative*]
|
||||
# @param java_alternative
|
||||
# The name of the java alternative to use on Debian systems.
|
||||
# "update-java-alternatives -l" will show which choices are available.
|
||||
# If you specify a particular package, you will almost always also
|
||||
# want to specify which java_alternative to choose. If you set
|
||||
# this, you also need to set the path below.
|
||||
#
|
||||
# [*java_alternative_path*]
|
||||
# @param java_alternative_path
|
||||
# The path to the "java" command on Debian systems. Since the
|
||||
# alternatives system makes it difficult to verify which
|
||||
# alternative is actually enabled, this is required to ensure the
|
||||
# correct JVM is enabled.
|
||||
#
|
||||
# [*java_home*]
|
||||
# @param java_home
|
||||
# The path to where the JRE is installed. This will be set as an
|
||||
# environment variable.
|
||||
#
|
||||
# Actions:
|
||||
#
|
||||
# Requires:
|
||||
#
|
||||
# Sample Usage:
|
||||
#
|
||||
class java(
|
||||
String $distribution = 'jdk',
|
||||
Pattern[/present|installed|latest|^[.+_0-9a-zA-Z:~-]+$/] $version = 'present',
|
||||
|
||||
Reference in New Issue
Block a user