grahamgilbert/grahamgilbert-mac_facts — pull request #1 by matt-cahill (2014-07-02 04:35:10+00:00)
Title: confining battery facts to laptops using the mac_laptop fact

This is to avoid the following error on machines that don't have a battery

Could not retrieve fact='mac_battery_charge_percent', resolution='': invalid value for Float(): ""

cheers

Matt