]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Merge branch 'main' into xepa-patch-1
authorMichiel Brandenburg <apex@xepa.nl>
Tue, 13 Dec 2022 10:24:48 +0000 (11:24 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Dec 2022 10:24:48 +0000 (11:24 +0100)
manifests/mark.pp

index 08e396c02f1e28fe93e0bedca97b2f08eef395f6..492886d2eb007dae8f06512a94d281c0cf213b44 100644 (file)
@@ -8,7 +8,7 @@
 define apt::mark (
   Enum['auto','manual','hold','unhold'] $setting,
 ) {
-  if $title !~ /^[a-zA-Z0-9\-_]+$/ {
+  if $title !~ /^[a-zA-Z0-9\-_\.]+$/ {
     fail("Invalid package name: ${title}")
   }