Revision 40df7dfb
Added by Daniel Lobato Garcia about 11 years ago
- ID 40df7dfbfcde38f06d133fea97f0d30904155916
app/helpers/hosts_helper.rb | ||
---|---|---|
include OperatingsystemsHelper
|
||
include HostsAndHostgroupsHelper
|
||
include ComputeResourcesVmsHelper
|
||
include BmcHelper
|
||
|
||
def last_report_column(record)
|
||
time = record.last_report? ? _("%s ago") % time_ago_in_words(record.last_report.getlocal): ""
|
Also available in: Unified diff
fixes #426 expose BMC information in foreman UI
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
This patch also adds an abstracted power management class for both VM
and BM