Simplify platform logic and remove foodcritic comments
Simplify platform logic and remove foodcritic comments

Cookstyle fixes

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>

chef-cookbooks/users,chef-cookbooks/users