Remove empty package test and validation

an empty variable is apparently the same thing as undef, which causes
the packages to be selected as usual.
This commit is contained in:
Hunter Haugen
2014-08-13 13:11:28 -07:00
parent 230ab22adf
commit dcdc96187d
2 changed files with 0 additions and 27 deletions

View File

@@ -47,9 +47,6 @@ class java(
include java::params
validate_re($version, 'present|installed|latest|^[.+_0-9a-zA-Z:-]+$')
if $package != undef {
validate_slength($package,255,1)
}
if has_key($java::params::java, $distribution) {
$default_package_name = $java::params::java[$distribution]['package']