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
Merge pull request #1075 from xepa/xepa-patch-1
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
mark.pp
diff --git
a/manifests/mark.pp
b/manifests/mark.pp
index 08e396c02f1e28fe93e0bedca97b2f08eef395f6..b2146b0a54a6cd906e691992e43c1bdc24e312b9 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-z
A-Z0-9\-_
]+$/ {
+ if $title !~ /^[a-z
0-9][a-z0-9.+\-
]+$/ {
fail("Invalid package name: ${title}")
}