From 67c24c7a203e5c6faed72768310e506de37ac84a Mon Sep 17 00:00:00 2001 From: Michiel Brandenburg Date: Mon, 12 Dec 2022 15:08:49 +0100 Subject: [PATCH] Updated mark as title can contain dot --- manifests/mark.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") } -- 2.32.3