puppetlabs/puppet — pull request #2479 by ChrisPortman (2014-03-27 02:25:03+00:00)
Title: (PUP-2031) unless_uid on user is completely broken wrt ranges

The munge regex to deal with string integers would also match stringed ranges '1..2'.
Also, im not sure that you can give an actual range to a puppet parameter eg
resources {'user':
unless_id => 1..3, #I dont think this is valid
unless_id => (1..3), #I dont think this is valid
unless_id => '1..3', #This is a string, not a range
}