Merge pull request #156 from joerayme/allow-tildes-in-version
Allow tildes in version to support webupd8team's packages
This commit is contained in:
@@ -51,7 +51,7 @@ class java(
|
|||||||
) {
|
) {
|
||||||
include java::params
|
include java::params
|
||||||
|
|
||||||
validate_re($version, 'present|installed|latest|^[.+_0-9a-zA-Z:-]+$')
|
validate_re($version, 'present|installed|latest|^[.+_0-9a-zA-Z:~-]+$')
|
||||||
|
|
||||||
if $package_options != undef {
|
if $package_options != undef {
|
||||||
validate_array($package_options)
|
validate_array($package_options)
|
||||||
|
|||||||
Reference in New Issue
Block a user