add datatypes for all parameters
This commit is contained in:
@@ -48,11 +48,11 @@
|
||||
class java(
|
||||
String $distribution = 'jdk',
|
||||
Pattern[/present|installed|latest|^[.+_0-9a-zA-Z:~-]+$/] $version = 'present',
|
||||
$package = undef,
|
||||
Optional[String] $package = undef,
|
||||
Optional[Array] $package_options = undef,
|
||||
$java_alternative = undef,
|
||||
$java_alternative_path = undef,
|
||||
$java_home = undef
|
||||
Optional[String] $java_alternative = undef,
|
||||
Optional[String] $java_alternative_path = undef,
|
||||
Optional[String] $java_home = undef
|
||||
) {
|
||||
include java::params
|
||||
|
||||
|
||||
Reference in New Issue
Block a user