Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Updated mark as title can contain dot
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
mark.pp
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}")
}