Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

allow dots in the rule resource title - This allows creating 'site.co…

…m' style rules for each vhost
  • Loading branch information...
commit 91f0a799b1932c996e264fa0be027eced102a896 1 parent 39e7314
@aussielunix aussielunix authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  manifests/rule.pp
View
2  manifests/rule.pp
@@ -148,7 +148,7 @@
#############################################################################
# SANITY CHECK VALUES
- if $name !~ /^[a-zA-Z0-9_-]+$/ {
+ if $name !~ /^[a-zA-Z0-9\._-]+$/ {
fail("Logrotate::Rule[${name}]: namevar must be alphanumeric")
}
Please sign in to comment.
Something went wrong with that request. Please try again.