theforeman/foreman — pull request #604 by domcleal (2013-05-10 11:44:01+00:00)
Title: fixes #2486 - ensure facts import is idempotent when values are unchanged

three fixes:

* calling ['name'] wasn't returning the associated name, needed to do .name
* we compared ["value"] from the DB against "value" from the hash
* we compared "1234" from the DB against 1234 integers from the hash (e.g. uptime)