saltstack/salt — pull request #2244 by thekuffs (2012-10-15 02:49:26+00:00)
Title: Toplevel wmi import

This addresses some concerns that @SEJeff had with the ```wmi``` import in core grains in 1d97e6bcbb51cfb23f816e122d2591e028a18b4c.

Technically, the Windows minion can limp along without wmi. So I've added the ```has_wmi``` variable to allow it to continue without that data. But I'd like to decide if that really should be a soft failure. It doesn't seem like any of the dependent grains are 'critical', I'd just hate to find out someone's template was silently failing. (The import failure is appropriately logged)