Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def compare_user
%w{uid gid comment home shell password}.any? do |att|
!@new_resource.send(att).nil? && @new_resource.send(att) != @current_resource.send(att)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.