lib/reporter/default/properties_physical.rb in onering-report-plugins-0.0.35 vs lib/reporter/default/properties_physical.rb in onering-report-plugins-0.0.36
- old
+ new
@@ -4,10 +4,10 @@
report do
property :site, Facter.value('site')
property :environment, Facter.value('environment')
property :slot, Facter.value('slot')
- property :virtual, Facter.value('is_virtual')
+ property :virtual, (Facter.value('is_virtual').to_s == 'true' ? true : false)
property :ipmi_ip, Facter.value('ipmi_ip')
property :ipmi_netmask, Facter.value('ipmi_netmask')
property :ipmi_gateway, Facter.value('ipmi_gateway')
property :ipmi_macaddress, Facter.value('ipmi_macaddress')
end