From: Michiel Brandenburg Date: Mon, 12 Dec 2022 14:08:49 +0000 (+0100) Subject: Updated mark as title can contain dot X-Git-Tag: v9.0.2~6^2~7 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=67c24c7a203e5c6faed72768310e506de37ac84a;p=puppet-modules%2Fpuppetlabs-apt.git Updated mark as title can contain dot --- diff --git a/manifests/mark.pp b/manifests/mark.pp index 08e396c..492886d 100644 --- a/manifests/mark.pp +++ b/manifests/mark.pp @@ -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}") }