theforeman/foreman — pull request #712 by GregSutcliffe (2013-06-11 16:46:42+00:00)
Title: Fixes #2655 - Display Host buttons on unmanaged hosts if a puppet proxy exists

The test on SmartProxies is there to ensure we don't display the buttons on a host which was create as Managed and then later made Unmanaged, when there is no Puppetmaster present at all.