Merge pull request #11 from ccaum/master
Allow distributions starting with string `java` Reviewed-by: Gary Larizza <gary@puppetlabs.com>
This commit is contained in:
@@ -16,7 +16,7 @@ class java(
|
||||
$version = 'installed'
|
||||
) {
|
||||
|
||||
validate_re($distribution, '^jdk$|^jre$')
|
||||
validate_re($distribution, '^jdk$|^jre$|^java.*$')
|
||||
validate_re($version, 'installed|^[._0-9a-zA-Z:-]+$')
|
||||
|
||||
anchor { 'java::begin': }
|
||||
|
||||
Reference in New Issue
Block a user