# File lib/chef/shell_out.rb, line 132 def uid return nil unless user user.kind_of?(Integer) ? user : Etc.getpwnam(user.to_s).uid end