opscode-cookbooks/windows — pull request #108 by adamedx (2014-08-07 17:33:12+00:00)
Title: Remove rubygems / Internet wmi-lite dependency

An earlier change replaced the now unsatisfied gem dependency (as of Chef 11.14.2) rdp-ruby-wmi with a runtime gem download dependency of wmi-lite from RubyGems. This causes problems for use cases where chef-client needs to run without access to the Internet.

This change simply uses WIN32OLE which is part of the standard Ruby distribution to access WMI (which wmi-lite wraps lightly). This has been tested with the registry_helper and versions libraries and verified.