- user_home = details[:home] || account["home"] || "#{node[:accounts][:home]}/#{name.to_s}"
- manage_home = details[:manage_home] || account["manage_home"] || node[:accounts][:manage_home]
- groups = details[:groups] || account["groups"] || []
+ user_home = details[:home] || account["home"] || "#{node[:accounts][:home]}/#{name}"
+ manage_user_home = details.fetch(:manage_home, account.fetch("manage_home", node[:accounts][:manage_home]))