Skip to content

Commit

Permalink
Merge pull request #335 from voxpupuli/allow_versionlock_glob-rebased
Browse files Browse the repository at this point in the history
allow RpmNameGlob for versionlock entries
  • Loading branch information
kBite authored Sep 23, 2024
2 parents 799da6e + a678f10 commit 75df7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/versionlock.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}

Expand Down

0 comments on commit 75df7c0

Please sign in to comment.