# File lib/puppet/provider/file/win32.rb, line 51
51:   def retrieve(resource)
52:     unless stat = resource.stat(false)
53:       return :absent
54:     end
55: 
56:     currentvalue = stat.uid
57: 
58:     # On OS X, files that are owned by -2 get returned as really
59:     # large UIDs instead of negative ones.  This isn't a Ruby bug,
60:     # it's an OS X bug, since it shows up in perl, too.
61:     if currentvalue > Puppet[:maximum_uid].to_i
62:       self.warning "Apparently using negative UID (#{currentvalue}) on a platform that does not consistently handle them"
63:       currentvalue = :silly
64:     end
65: 
66:     currentvalue
67:   end