Skip to content

Commit

Permalink
Merge pull request #972 from wyardley/issues_971_location_priority
Browse files Browse the repository at this point in the history
fix validation range for location priority
  • Loading branch information
nibalizer authored Nov 16, 2016
2 parents 1806298 + b807652 commit 912a2b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/resource/location.pp
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@
fail('$priority must be an integer.')
}
validate_array($rewrite_rules)
if (($priority + 0) < 401) or (($priority + 0) > 899) {
fail('$priority must be in the range 401-899.')
if (($priority + 0) < 401) or (($priority + 0) > 599) {
fail('$priority must be in the range 401-599.')
}
if ($expires != undef) {
validate_string($expires)
Expand Down

0 comments on commit 912a2b9

Please sign in to comment.