theforeman/foreman — pull request #1268 by ares (2014-03-04 09:59:08+00:00)
Title: Fix #4536 - store values correctly

Setting stores data using YAML but we have to call value= and default=
methods explicitly. Also this DRY-up new setting creation which can
occure on several places. If saving fails for whatever reason (maybe
some new validations in future) we now raise exception so we get error
before it's too late to fix)