diff --git a/manifests/versionlock.pp b/manifests/versionlock.pp index 0a6653d..b4a2791 100644 --- a/manifests/versionlock.pp +++ b/manifests/versionlock.pp @@ -76,7 +76,7 @@ $_versionlock = "${line_prefix}${name}" } else { - assert_type(Yum::RpmName, $name) |$_expected, $actual | { + assert_type(Yum::RpmNameGlob, $name) |$_expected, $actual | { fail("Package name must be formatted as Yum::RpmName, not \'${actual}\'. See Yum::Rpmname documentation for details.") }