theforeman/foreman — pull request #1965 by ares (2014-11-20 12:23:27+00:00)
Title: Fixes #7908 - normalize mac before host get saved

For some reason we save host without running valdiations when we import
attributes from facts. Therefore we have to take care of mac
normalization by ourselves. We have to normalize it just after setting
new value because save can occure anytime.