Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e8cd1d2
)
Updated mark as title can contain dot
author
Michiel Brandenburg
<apex@xepa.nl>
Mon, 12 Dec 2022 14:08:49 +0000
(15:08 +0100)
committer
GitHub
<noreply@github.com>
Mon, 12 Dec 2022 14:08:49 +0000
(15:08 +0100)
manifests/mark.pp
patch
|
blob
|
history
diff --git
a/manifests/mark.pp
b/manifests/mark.pp
index 08e396c02f1e28fe93e0bedca97b2f08eef395f6..492886d2eb007dae8f06512a94d281c0cf213b44 100644
(file)
--- 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}")
}