Updated mark as title can contain dot
authorMichiel Brandenburg <apex@xepa.nl>
Mon, 12 Dec 2022 14:08:49 +0000 (15:08 +0100)
committerGitHub <noreply@github.com>
Mon, 12 Dec 2022 14:08:49 +0000 (15:08 +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}")
   }