theforeman/foreman-installer — pull request #62 by ares (2013-09-10 09:39:51+00:00)
Title: Add own hostname system checker

New KAFO is going to drop this hardcoded check. This is extracted and improved from Kafo. We require rubygems but facter can be loaded from libs as well. I assume rubygems are installed on every ruby installation.